Loading ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +9 −0 Original line number Diff line number Diff line Loading @@ -1366,6 +1366,15 @@ module LibItsGeoNetworking_Functions { return v_timestamp; } /** * @desc Creates an initial seqence number * @return Time based initial sequence number (increasing with time) */ function f_getInitialSequenceNumber() return UInt16 { return (f_computeGnTimestamp() / 1000) mod c_uInt16Max; } } // end commonFunctions group testerFunctions { Loading ttcn/GeoNetworking/LibItsGeoNetworking_TestSystem.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ module LibItsGeoNetworking_TestSystem { port GeoNetworkingPort geoNetworkingPort; //variables for Gn var UInt16 vc_localSeqNumber := (f_computeGnTimestamp() / 1000) mod c_uInt16Max; var UInt16 vc_localSeqNumber := f_getInitialSequenceNumber(); var PositionTable vc_positionTable := {}; var GeoAreaTable vc_areaTable := {}; var charstring vc_componentName := ""; Loading Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +9 −0 Original line number Diff line number Diff line Loading @@ -1366,6 +1366,15 @@ module LibItsGeoNetworking_Functions { return v_timestamp; } /** * @desc Creates an initial seqence number * @return Time based initial sequence number (increasing with time) */ function f_getInitialSequenceNumber() return UInt16 { return (f_computeGnTimestamp() / 1000) mod c_uInt16Max; } } // end commonFunctions group testerFunctions { Loading
ttcn/GeoNetworking/LibItsGeoNetworking_TestSystem.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ module LibItsGeoNetworking_TestSystem { port GeoNetworkingPort geoNetworkingPort; //variables for Gn var UInt16 vc_localSeqNumber := (f_computeGnTimestamp() / 1000) mod c_uInt16Max; var UInt16 vc_localSeqNumber := f_getInitialSequenceNumber(); var PositionTable vc_positionTable := {}; var GeoAreaTable vc_areaTable := {}; var charstring vc_componentName := ""; Loading