Commit c006347c authored by garciay's avatar garciay
Browse files

Add unimplemented methods (TTWB 1.1.20 -> 1.1.21)

parent 6d4f9912
......@@ -6759,7 +6759,7 @@ module ItsGeoNetworking_TpFunctions {
+ (
int2float(f_getGeoUnicastCbfMinTime() - f_getGeoUnicastCbfMaxTime())
/ int2float(f_getCbfMaxCommunicationRange())
) * int2float(p_distanceToNodeA)) * 0.95 / 1000.0;
) * p_distanceToNodeA) * 0.95 / 1000.0;
// Preamble
f_prNeighbour();
......@@ -6877,7 +6877,7 @@ module ItsGeoNetworking_TpFunctions {
// Local variables
var ItsGeoNetworking v_nodeB;
var ItsGeoNetworking v_nodeC;
var integer v_distance := f_getCbfMaxCommunicationRange() * 2;
var float v_distance := int2float(f_getCbfMaxCommunicationRange() * 2);
var LongPosVector v_longPosVectorIut, v_longPosVectorNodeA;
// Test control
......@@ -11903,7 +11903,7 @@ module ItsGeoNetworking_TpFunctions {
}
// Test Body
v_gnPacket.basicHeader.routerHopLimit := v_gnPacket.basicHeader.routerHopLimit / 2;
v_gnPacket.basicHeader.routerHopLimit := valueof(v_gnPacket.basicHeader.routerHopLimit) / 2;
f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(v_gnPacket));
f_sleep(PX_TAC);
......@@ -15747,7 +15747,7 @@ module ItsGeoNetworking_TpFunctions {
// Local variables
var LongPosVector v_longPosVectorNodeC := f_getPosition(c_compNodeC);
var integer i := 0;
var Payload v_payload := p_geoNetworkingMsg.gnPacket.packet.payload; //save the given payload
var Payload v_payload := valueof(p_geoNetworkingMsg.gnPacket.packet.payload); //save the given payload
// Preamble
f_prNeighbour();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment