Newer
Older
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_withLinkLayerDestination(
+ valueof(m_geoNwReq_withLinkLayerDestination(
m_geoNwPdu(
m_geoNwUnicastPacket(
f_getPosition(c_compNodeC),
-,
f_getIutMacAddress()
)
- );
+ ));
f_sleepIgnoreDef(int2float(f_getGeoUnicastCbfMaxTime())/2000.0);
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_withLinkLayerDestination(
+ valueof(m_geoNwReq_withLinkLayerDestination(
m_geoNwPdu(
m_geoNwUnicastPacket(
f_getPosition(c_compNodeC),
-,
f_getIutMacAddress()
)
- );
+ ));
tc_noac.start;
alt {
// Preamble
f_prNeighbour();
f_sendGeoNetMessage(
- m_geoNwReq_withLinkLayerDestination(
+ valueof(m_geoNwReq_withLinkLayerDestination(
m_geoNwPdu(
m_geoNwUnicastPacket(
f_getPosition(c_compNodeC),
-,
f_getIutMacAddress()
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
// Preamble
f_prNeighbour();
f_sleep(PX_TAC);
- v_sentRawPayload := f_adaptPayloadForUtInd_m(valueof(v_gnPacket.gnPacket.packet.payload));
- for(i:=0; i < lengthof(vc_utInds) and not match(vc_utInds[i].rawPayload, v_sentRawPayload); i:=i+1) {
+ v_sentRawPayload := f_adaptPayloadForUtInd_m(valueof(v_gnPacket.gnPacket.packet.payload));
+ for(i:=0; i < lengthof(vc_utInds) and not match(vc_utInds[i].rawPayload, v_sentRawPayload); i:=i+1) {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
}
// Test Body
- f_sendGeoNetMessage(m_geoNwReq_withLinkLayerDestination(valueof(v_gnPacket), -, f_getIutMacAddress()));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_withLinkLayerDestination(v_gnPacket, -, f_getIutMacAddress())));
f_sleep(PX_TAC);
// Preamble
f_prNeighbour();
f_sendGeoNetMessage(
- m_geoNwReq_withLinkLayerDestination(
+ valueof(m_geoNwReq_withLinkLayerDestination(
m_geoNwPdu(
m_geoNwUnicastPacket(
f_getPosition(c_compNodeC),
-,
f_getIutMacAddress()
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
- if ( not f_utTriggerEvent(m_generateGeoBroadcastMessage(f_getArea(c_area1))) ) {
- log("*** " & testcasename() & ": INCONC: Trigger failed ***");
- f_selfOrClientSyncAndVerdict(c_tbDone, e_timeout);
- }
+ if ( not f_utTriggerEvent(m_generateGeoBroadcastMessage(f_getArea(c_area1))) ) {
+ log("*** " & testcasename() & ": INCONC: Trigger failed ***");
+ f_selfOrClientSyncAndVerdict(c_tbDone, e_timeout);
+ }
tc_ac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeB,
)
)
)
- );
+ ));
tc_ac.start;
alt {
-,
c_defaultHopLimit
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(valueof(v_gnPacket)));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
tc_ac.start;
alt {
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (present) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (present) GeoNetworkingInd v_msgInd;
+ var /*template (present)*/ GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
// Test Body
// send geoBroadcast for second time (same source + same seq Nr + lower RHL)
v_msgInd.msgIn.basicHeader.routerHopLimit := valueof(v_msgInd.msgIn.basicHeader.routerHopLimit) - 1;
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(valueof(v_msgInd.msgIn)));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_msgInd.msgIn)));
- v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
+//FIXME RGY variable is not used after asigning AnyValue;
+// if a template is needed for some purpose a template variable should also be declared; see f_GEONW_PON_GBC_BO_06_nodeB
+// v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
tc_noac.start;
alt {
[] a_receiveGeoBroadcast(
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
// Local variables
var LongPosVector v_longPosVectorNodeC := f_getPosition(c_compNodeC);
- var template (present) GeoNetworkingInd v_msgInd;
+ var template (present) GeoNetworkingInd vt_msgInd;
+//FIXME RGY variable is declared to store the received message
+ var GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
?,
f_getGeoBroadcastArea(c_area2)
)))) -> value v_msgInd {
+//FIXME RGY the received value stored in the template variable too
+ vt_msgInd:= v_msgInd
tc_ac.stop;
log("*** " & testcasename() & ": PASS: Pre-conditions: GBC message correctly forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
// Test Body
- v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
+//FIXME RGY for the AnyValue the template varibale is used
+ vt_msgInd.msgIn.basicHeader.routerHopLimit := ?;
tc_noac.start;
alt {
- [] geoNetworkingPort.receive(v_msgInd) {
+ [] geoNetworkingPort.receive(vt_msgInd) {
tc_noac.stop;
log("*** " & testcasename() & ": FAIL: GBC message re-forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
// Preamble
f_prNeighbour();
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
c_defaultHopLimit
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
// Test Body
// send geoBroadcast for second time (same source + same seq Nr + lower RHL)
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
c_defaultHopLimit - 1
)
)
- );
+ ));
tc_noac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeB,
c_defaultHopLimit
)
)
- );
+ ));
tc_ac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeB,
c_hopLimit1
)
)
- );
+ ));
tc_noac.start;
alt {
f_getGeoBroadcastArea(c_area1)
)
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleep(PX_TAC);
-,
c_defaultHopLimit
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(valueof(v_gnPacket)));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
// IUT should also rebroadcast the packet. Get ready
tc_ac.start;
f_sleep(PX_TAC);
- v_sentRawPayload := f_adaptPayloadForUtInd_m(valueof(v_gnPacket.gnPacket.packet.payload));
- for(i:=0; i < lengthof(vc_utInds) and not match(vc_utInds[i].rawPayload, v_sentRawPayload); i:=i+1) {
+ v_sentRawPayload := f_adaptPayloadForUtInd_m(valueof(v_gnPacket.gnPacket.packet.payload));
+ for(i:=0; i < lengthof(vc_utInds) and not match(vc_utInds[i].rawPayload, v_sentRawPayload); i:=i+1) {
// empty on purpose
}
if(i < lengthof(vc_utInds)) {
log("*** " & testcasename() & ": PASS: GN was transmitted to upper layer ***");
- //flush received upper indications
- vc_utInds := {};
+ //flush received upper indications
+ vc_utInds := {};
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
else {
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (value) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (value) GeoNetworkingInd v_msgInd;
+ var GeoNetworkingInd v_msgInd;
var integer i;
// Preamble
// Test Body
v_msgInd.msgIn.basicHeader.routerHopLimit := valueof(v_msgInd.msgIn.basicHeader.routerHopLimit) / 2;
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_msgInd.msgIn));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_msgInd.msgIn)));
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
f_getGeoBroadcastArea(c_area2)
)
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleep(PX_TAC);
p_distanceTooBig
);
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
tc_ac.start;
alt {
[] geoNetworkingPort.receive(mw_geoNwInd(mw_geoNwPdu(mw_geoNwBroadcastPacketWithArea(
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
tc_ac.start;
alt {
[] geoNetworkingPort.receive(mw_geoNwInd(mw_geoNwPdu(mw_geoNwBroadcastPacketWithArea(
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwTsbPacket(
vc_localSeqNumber,
c_defaultHopLimit
)
)
- );
+ ));
tc_ac.start;
alt {
c_defaultHopLimit
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(valueof(v_gnPacket)));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
v_gnPacket.basicHeader.routerHopLimit := ?;
tc_noac.start;
alt {
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (value) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (value) GeoNetworkingInd v_msgInd;
+ var GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
// Test Body
v_msgInd.msgIn.basicHeader.routerHopLimit := valueof(v_msgInd.msgIn.basicHeader.routerHopLimit) -1;
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_msgInd.msgIn));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_msgInd.msgIn)));
tc_noac.start;
alt {
// Preamble
// Start components
- v_nodeB := f_getComponent(c_compNodeB);
+ v_nodeB := f_getComponent(c_compNodeB);
v_nodeD := f_getComponent(c_compNodeD);
v_nodeB.start(f_GEONW_PON_TSB_BV_04_nodeB());
v_nodeD.start(f_GEONW_PON_TSB_BV_04_nodeD());
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwTsbPacket(
vc_localSeqNumber,
c_defaultHopLimit
)
)
- );
+ ));
tc_ac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwTsbPacket(
vc_localSeqNumber,
1
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
v_longPosVectorNodeB
)
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleep(PX_TAC);
-,
c_defaultHopLimit
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(valueof(v_gnPacket)));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(valueof(v_gnPacket))));
tc_ac.start;
alt {
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (value) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (value) GeoNetworkingInd v_msgInd;
+ var GeoNetworkingInd v_msgInd;
var integer i;
var template (value) GeoNetworkingPdu v_gnPacket;
// Test Body
v_msgInd.msgIn.basicHeader.routerHopLimit := valueof(v_msgInd.msgIn.basicHeader.routerHopLimit) - 1;
v_gnPacket := v_msgInd.msgIn;
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_msgInd.msgIn));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_msgInd.msgIn)));
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
// Test Body
v_gnPacket := m_geoNwPdu(m_geoNwShbPacket(v_longPosVectorNodeB));
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleep(PX_TAC);
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwAnycastPacket(
v_longPosVectorNodeB,
)
)
)
- );
+ ));
tc_noac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwAnycastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
// Local variables
var LongPosVector v_longPosVectorNodeC := f_getPosition(c_compNodeC);
- var template (present) GeoNetworkingInd v_msgInd;
+ var template (present) GeoNetworkingInd vt_msgInd;
+//FIXME RGY variable is declared to store the received message
+ var GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
)
)
) -> value v_msgInd {
+//FIXME RGY the received value stored in the template variable too
+ vt_msgInd:= v_msgInd
tc_ac.stop;
log("*** " & testcasename() & ": PASS: Pre-conditions: GAC message correctly forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
}
// Test Body
- v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
+//FIXME RGY for the AnyValue the template varibale is used
+ vt_msgInd.msgIn.basicHeader.routerHopLimit := ?;
tc_noac.start;
alt {
- [] geoNetworkingPort.receive(v_msgInd) {
+ [] geoNetworkingPort.receive(vt_msgInd) {
tc_noac.stop;
log("*** " & testcasename() & ": FAIL: GAC message re-forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
// Preamble
f_prNeighbour();
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwAnycastPacket(
v_longPosVectorNodeC,
c_defaultHopLimit
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
// Test Body
// send geoAnycast for second time (same source + same seq Nr + lower RHL)
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwAnycastPacket(
v_longPosVectorNodeC,
c_defaultHopLimit - 1
)
)
- );
+ ));
tc_noac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwAnycastPacket(
v_longPosVectorNodeC,
c_defaultHopLimit
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwAnycastPacket(
v_longPosVectorNodeC,
c_hopLimit1
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
// Postamble
f_getGeoAnycastArea(c_area1)
)
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleep(PX_TAC);
// Test Body
v_gnPacket.basicHeader.routerHopLimit := valueof(v_gnPacket.basicHeader.routerHopLimit) / 2;
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleep(PX_TAC);
-,
c_defaultHopLimit
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
f_getGeoAnycastArea(c_area2)
)
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleep(PX_TAC);
p_distanceTooBig
);
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwAnycastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
// Preamble
f_prNeighbour();
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
tc_noac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
t_toCbf.start;
tc_ac.start;
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
tc_noac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeD,
)
)
)
- );
+ ));
tc_noac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
t_toCbf.start;
tc_ac.start;
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
tc_ac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeA,
)
)
)
- );
+ ));
tc_ac.start;
alt {
// Test Body
f_sendGeoNetMessage(
- m_geoNwReq_linkLayerBroadcast(
+ valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(
m_geoNwBroadcastPacket(
v_longPosVectorNodeC,
)
)
)
- );
+ ));
t_toCbf.start;
tc_ac.start;
f_getGeoBroadcastArea(c_area1)
)
);
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
for(i:=1; i < f_getAdvancedGbcForwardingMaxCounter(); i:=i+1) {
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_gnPacket)));
f_sleepIgnoreDef(0.5);
}
tc_noac.start;
// Preamble
f_prNeighbour();
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(m_geoNwBroadcastPacket(
v_longPosVectorNodeB,
0,
f_getGeoBroadcastArea(c_area1)
)
)
- ));
+ )));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(m_geoNwBroadcastPacket(
v_longPosVectorNodeB,
0,
f_getGeoBroadcastArea(c_area1)
)
)
- ));
+ )));
tc_noac.start;
alt {
[] geoNetworkingPort.receive (mw_geoNwInd(mw_geoNwPdu(?))){
// Preamble
f_prNeighbour();
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(
+ f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(
m_geoNwPdu(m_geoNwBroadcastPacket(
v_longPosVectorNodeB,
0,
f_getGeoBroadcastArea(c_area1)
)
)
- ));
+ )));
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
// Test Body
- f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(
- m_geoNwPdu(m_geoNwBroadcastPacket(
+ f_sendGeoNetMessage(
+ valueof(m_geoNwReq_linkLayerBroadcast(
+ m_geoNwPdu(m_geoNwBroadcastPacket(
v_longPosVectorNodeB,
0,
f_getGeoBroadcastArea(c_area1)
)
)
- ));
+ )));
t_toCbf.start;
tc_ac.start;
alt {
)))) {
tc_ac.stop;
- if(t_toCbf.running) {
+ if(t_toCbf.running) {
t_toCbf.stop;
log("*** " & testcasename() & ": FAIL: GBC retransmitted before CBF timer expiration ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);