Commit efe9787d authored by garciay's avatar garciay
Browse files

Add support of SPATEM, including one state rotation

parent 940b00d4
......@@ -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 {
......@@ -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;
......@@ -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 {
......@@ -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
......
......@@ -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
......@@ -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;
......
......@@ -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.
......
......@@ -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?
......
Supports Markdown
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