Commit efe9787d authored by garciay's avatar garciay
Browse files

Add support of SPATEM, including one state rotation

parent 940b00d4
Loading
Loading
Loading
Loading
+21 −2
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@ module LibItsCommon_Functions {
    // LibIts
    // LibIts
    import from LibItsCommon_Pixits all;
    import from LibItsCommon_Pixits all;
    import from ITS_Container language "ASN.1:1997" all;
    import from ITS_Container language "ASN.1:1997" all;

    import from DSRC language "ASN.1:1997" all;
    
    
    group generalFunctions {
    group generalFunctions {
        
        
@@ -88,7 +88,7 @@ module LibItsCommon_Functions {
    
    
        /**
        /**
         * @desc    Gets the current time since 01/01/2004
         * @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 {
        function f_getCurrentTime() return TimestampIts {
            var TimestampIts v_timeStamp := 0;
            var TimestampIts v_timeStamp := 0;
@@ -99,6 +99,19 @@ module LibItsCommon_Functions {
            return v_timeStamp;
            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  
    } // end generalFunctions  
       
       
    group itsFunctions { 
    group itsFunctions { 
@@ -171,6 +184,12 @@ module LibItsCommon_Functions {
         */
         */
        external function fx_getCurrentTime() return TimestampIts;
        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
         * @desc    External function to compute distance between two points
         * @param   p_latitudeA   Latitude of first point
         * @param   p_latitudeA   Latitude of first point
+4 −2
Original line number Original line Diff line number Diff line
@@ -68,9 +68,10 @@ module LibItsGeoNetworking_Pics {
         * @desc GN Security support enabled or disabled
         * @desc GN Security support enabled or disabled
         * @see  ETSI TS 102 871-2 Table 4
         * @see  ETSI TS 102 871-2 Table 4
         * @remark This PIC is different than PICS_IS_IUT_SECURED. 
         * @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
         * @desc Maximum number of retransmissions of LS_REQUEST packets
@@ -359,6 +360,7 @@ module LibItsGeoNetworking_Pics {
     * @desc Is the IUT running in secured mode?
     * @desc Is the IUT running in secured mode?
     * @remark This PIC is different than PICS_GN_SECURITY. 
     * @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
     *         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;
    modulepar boolean PICS_IS_IUT_SECURED := false;
    
    
+2 −2
Original line number Original line Diff line number Diff line
@@ -171,7 +171,7 @@ module LibItsGeoNetworking_Pixits {
             * @desc The IUT's upper layer
             * @desc The IUT's upper layer
             * @see  ETSI TS 102 871-3 Table B.7
             * @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.
             * @desc   Is BTP header present in IUT's UT indication. Only applicable if PX_GN_UPPER_LAYER == e_btpA or e_btpB.
+1 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@ module LibItsSremSsem_Pics {
    /**
    /**
     * @desc Is IUT acting as a RSU? 
     * @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?
     * @desc Is the IUT running in secured mode?
+66 −66

File changed.

Contains only whitespace changes.