Loading ttcn/Common/LibItsCommon_Functions.ttcn +21 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ module LibItsCommon_Functions { // LibIts import from LibItsCommon_Pixits all; import from ITS_Container language "ASN.1:1997" all; import from DSRC language "ASN.1:1997" all; group generalFunctions { Loading Loading @@ -88,7 +88,7 @@ module LibItsCommon_Functions { /** * @desc Gets the current time since 01/01/2004 * @return Timestamp - current time since 01/01/2004 in milliseconds * @return TimestampIts - current time since 01/01/2004 in milliseconds */ function f_getCurrentTime() return TimestampIts { var TimestampIts v_timeStamp := 0; Loading @@ -99,6 +99,19 @@ module LibItsCommon_Functions { return v_timeStamp; } /** * @desc Gets the current time since 01/01/2004 * @return TimeMark - tenths of a second in the current or next hour in units of 1/10th second from UTC time */ function f_getCurrentTimeMark() return TimeMark { var TimeMark v_timeMark := 0; // log("*** f_getCurrentTimeMark: INFO: calling fx_getCurrentTimeMark() ***"); v_timeMark := fx_getCurrentTimeMark(); return v_timeMark; } } // end generalFunctions group itsFunctions { Loading Loading @@ -171,6 +184,12 @@ module LibItsCommon_Functions { */ external function fx_getCurrentTime() return TimestampIts; /** * @desc Gets the current time since 01/01/2004 * @return TimeMark - tenths of a second in the current or next hour in units of 1/10th second from UTC time */ external function fx_getCurrentTimeMark() return UInt32; /** * @desc External function to compute distance between two points * @param p_latitudeA Latitude of first point Loading ttcn/GeoNetworking/LibItsGeoNetworking_Pics.ttcn +4 −2 Original line number Diff line number Diff line Loading @@ -68,9 +68,10 @@ module LibItsGeoNetworking_Pics { * @desc GN Security support enabled or disabled * @see ETSI TS 102 871-2 Table 4 * @remark This PIC is different than PICS_IS_IUT_SECURED. * When set to true, this PIC indicates that the GeoNetworking is running with security against a secured device * When set to true, this PIC indicates that the GeoNetworking is running with security ATS * UtInitialse shall indicate which certificate the IUT shall use */ modulepar boolean PICS_GN_SECURITY := true; modulepar boolean PICS_GN_SECURITY := false; /** * @desc Maximum number of retransmissions of LS_REQUEST packets Loading Loading @@ -359,6 +360,7 @@ module LibItsGeoNetworking_Pics { * @desc Is the IUT running in secured mode? * @remark This PIC is different than PICS_GN_SECURITY. * When set to true, this PIC indicates that the GeoNetworking is running without security against a secured device * UtInitialse does not indicate any certificate */ modulepar boolean PICS_IS_IUT_SECURED := false; Loading ttcn/GeoNetworking/LibItsGeoNetworking_Pixits.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ module LibItsGeoNetworking_Pixits { * @desc The IUT's upper layer * @see ETSI TS 102 871-3 Table B.7 */ modulepar NextHeader PX_GN_UPPER_LAYER := e_btpA; modulepar NextHeader PX_GN_UPPER_LAYER := e_btpB; /** * @desc Is BTP header present in IUT's UT indication. Only applicable if PX_GN_UPPER_LAYER == e_btpA or e_btpB. Loading ttcn/SremSsem/LibItsSremSsem_Pics.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ module LibItsSremSsem_Pics { /** * @desc Is IUT acting as a RSU? */ modulepar boolean PICS_RSU_ROLE := true; modulepar boolean PICS_RSU_ROLE := false; /** * @desc Is the IUT running in secured mode? Loading ttcn/DENM/LibItsDenm_Pics.ttcn +66 −66 File changed.Contains only whitespace changes. Show changes Loading
ttcn/Common/LibItsCommon_Functions.ttcn +21 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ module LibItsCommon_Functions { // LibIts import from LibItsCommon_Pixits all; import from ITS_Container language "ASN.1:1997" all; import from DSRC language "ASN.1:1997" all; group generalFunctions { Loading Loading @@ -88,7 +88,7 @@ module LibItsCommon_Functions { /** * @desc Gets the current time since 01/01/2004 * @return Timestamp - current time since 01/01/2004 in milliseconds * @return TimestampIts - current time since 01/01/2004 in milliseconds */ function f_getCurrentTime() return TimestampIts { var TimestampIts v_timeStamp := 0; Loading @@ -99,6 +99,19 @@ module LibItsCommon_Functions { return v_timeStamp; } /** * @desc Gets the current time since 01/01/2004 * @return TimeMark - tenths of a second in the current or next hour in units of 1/10th second from UTC time */ function f_getCurrentTimeMark() return TimeMark { var TimeMark v_timeMark := 0; // log("*** f_getCurrentTimeMark: INFO: calling fx_getCurrentTimeMark() ***"); v_timeMark := fx_getCurrentTimeMark(); return v_timeMark; } } // end generalFunctions group itsFunctions { Loading Loading @@ -171,6 +184,12 @@ module LibItsCommon_Functions { */ external function fx_getCurrentTime() return TimestampIts; /** * @desc Gets the current time since 01/01/2004 * @return TimeMark - tenths of a second in the current or next hour in units of 1/10th second from UTC time */ external function fx_getCurrentTimeMark() return UInt32; /** * @desc External function to compute distance between two points * @param p_latitudeA Latitude of first point Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Pics.ttcn +4 −2 Original line number Diff line number Diff line Loading @@ -68,9 +68,10 @@ module LibItsGeoNetworking_Pics { * @desc GN Security support enabled or disabled * @see ETSI TS 102 871-2 Table 4 * @remark This PIC is different than PICS_IS_IUT_SECURED. * When set to true, this PIC indicates that the GeoNetworking is running with security against a secured device * When set to true, this PIC indicates that the GeoNetworking is running with security ATS * UtInitialse shall indicate which certificate the IUT shall use */ modulepar boolean PICS_GN_SECURITY := true; modulepar boolean PICS_GN_SECURITY := false; /** * @desc Maximum number of retransmissions of LS_REQUEST packets Loading Loading @@ -359,6 +360,7 @@ module LibItsGeoNetworking_Pics { * @desc Is the IUT running in secured mode? * @remark This PIC is different than PICS_GN_SECURITY. * When set to true, this PIC indicates that the GeoNetworking is running without security against a secured device * UtInitialse does not indicate any certificate */ modulepar boolean PICS_IS_IUT_SECURED := false; Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Pixits.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ module LibItsGeoNetworking_Pixits { * @desc The IUT's upper layer * @see ETSI TS 102 871-3 Table B.7 */ modulepar NextHeader PX_GN_UPPER_LAYER := e_btpA; modulepar NextHeader PX_GN_UPPER_LAYER := e_btpB; /** * @desc Is BTP header present in IUT's UT indication. Only applicable if PX_GN_UPPER_LAYER == e_btpA or e_btpB. Loading
ttcn/SremSsem/LibItsSremSsem_Pics.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ module LibItsSremSsem_Pics { /** * @desc Is IUT acting as a RSU? */ modulepar boolean PICS_RSU_ROLE := true; modulepar boolean PICS_RSU_ROLE := false; /** * @desc Is the IUT running in secured mode? Loading