Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
c006347c
Commit
c006347c
authored
Jul 05, 2016
by
garciay
Browse files
Add unimplemented methods (TTWB 1.1.20 -> 1.1.21)
parent
6d4f9912
Changes
1
Hide whitespace changes
Inline
Side-by-side
ttcn/AtsGeoNetworking/ItsGeoNetworking_TpFunctions.ttcn
View file @
c006347c
...
...
@@ -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();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment