Commit 2e5a848f authored by garciay's avatar garciay
Browse files

Implement IICP TSS&TPs

Add comments
Renaming
parent fb9164fc
Loading
Loading
Loading
Loading
+1 −12
Original line number Original line Diff line number Diff line
@@ -161,7 +161,6 @@ module LibItsFntp_Functions {
            // Initialize variables
            // Initialize variables
            vc_componentName := p_componentName;
            vc_componentName := p_componentName;
            vc_portNumber := { portLong := c_portNon };
            vc_portNumber := { portLong := c_portNon };
            vc_scuId := 255;
            
            
            // Set defaults
            // Set defaults
            activate(a_fntpDefault()); // Default for Fntp module
            activate(a_fntpDefault()); // Default for Fntp module
@@ -827,16 +826,6 @@ module LibItsFntp_Functions {
            return PX_LINK_ID_UC;
            return PX_LINK_ID_UC;
        }
        }
        
        
//        /**
//         * @desc    Get the IUT station identifier
//         * @return  The IUT station identifier
//         * @see     PX_STATION_ID
//         * @verdict Unchanged
//         */
//        function f_getIutStationId() return StationID {
//            return PX_STATION_ID;
//        }
//        
        /**
        /**
         * @desc    Get an unknown IUT station identifier
         * @desc    Get an unknown IUT station identifier
         * @return  An unknown IUT station identifier
         * @return  An unknown IUT station identifier
+7 −7
Original line number Original line Diff line number Diff line
@@ -57,7 +57,7 @@ module LibItsFntp_Pixits {
        modulepar Bit7 PX_NF_SAP_DOWN_FILL_FIELD_VALUE := '0000000'B;
        modulepar Bit7 PX_NF_SAP_DOWN_FILL_FIELD_VALUE := '0000000'B;
        
        
        /**
        /**
         * @desc ITS-SP payload EPDU
         * @desc ITS-SP payload
         * For instance, a DENM messages associated to a Slow vehicle in ASN.1 PER encoding
         * For instance, a DENM messages associated to a Slow vehicle in ASN.1 PER encoding
         */
         */
        modulepar ITSfpdu PX_ITS_FPDU := '00010134fb9f45cb400001246000dfe0269f7405c100003e002d80000000000000000013880000007ffd00a0000000400000000013880085a80000001000000000000000ff000800000134fb9f45cb'O;
        modulepar ITSfpdu PX_ITS_FPDU := '00010134fb9f45cb400001246000dfe0269f7405c100003e002d80000000000000000013880000007ffd00a0000000400000000013880085a80000001000000000000000ff000800000134fb9f45cb'O;
@@ -68,12 +68,12 @@ module LibItsFntp_Pixits {
        modulepar UserPriority PX_USER_PRIORITY := 0;
        modulepar UserPriority PX_USER_PRIORITY := 0;
        
        
        /**
        /**
         * @desc TODO
         * @desc The ITS-SCU-ID of the host ITS-SCU
         */
         */
        modulepar ITS_scuId PX_HOST_SCU_ID := 0;
        modulepar ITS_scuId PX_HOST_SCU_ID := 0;
        
        
        /**
        /**
         * @desc TODO
         * @desc The ITS-SCU-ID of an unknown host ITS-SCU
         */
         */
        modulepar ITS_scuId PX_UNKNOWN_HOST_SCU_ID := 255;
        modulepar ITS_scuId PX_UNKNOWN_HOST_SCU_ID := 255;
        
        
@@ -91,7 +91,7 @@ module LibItsFntp_Pixits {
        modulepar EUI64 PX_SRC_LOCAL_CIID := '0000000000000000'O; 
        modulepar EUI64 PX_SRC_LOCAL_CIID := '0000000000000000'O; 
        
        
        /**
        /**
         * @desc TODO
         * @desc Identifies an unknown CI on ITS-S host 
         */
         */
        modulepar EUI64 PX_SRC_LOCAL_CIID_UNKNOWN := 'DEADBEEFDEADBABE'O;
        modulepar EUI64 PX_SRC_LOCAL_CIID_UNKNOWN := 'DEADBEEFDEADBABE'O;
        
        
@@ -135,17 +135,17 @@ module LibItsFntp_Pixits {
        modulepar EUI64 PX_DEST_LOCAL_CIID := '0000000000000000'O;
        modulepar EUI64 PX_DEST_LOCAL_CIID := '0000000000000000'O;
        
        
        /**
        /**
         * @desc Broadcast
         * @desc Identifies uniquely a specific CI in a specific "ITS-S Communication Unit" for broadcast
         */
         */
        modulepar EUI64 PX_DEST_REMOTE_CIID_BC := '0000000000000000'O;
        modulepar EUI64 PX_DEST_REMOTE_CIID_BC := '0000000000000000'O;
        
        
        /**
        /**
         * @desc Multicast
         * @desc Identifies uniquely a specific CI in a specific "ITS-S Communication Unit" for multicast
         */
         */
        modulepar EUI64 PX_DEST_REMOTE_CIID_MC := '0000000000000000'O;
        modulepar EUI64 PX_DEST_REMOTE_CIID_MC := '0000000000000000'O;
        
        
        /**
        /**
         * @desc Unicast (peer to peer)
         * @desc Identifies uniquely a specific CI in a specific "ITS-S Communication Unit" for unicast (peer to peer)
         */
         */
        modulepar EUI64 PX_DEST_REMOTE_CIID_UC := '0000000000000000'O;
        modulepar EUI64 PX_DEST_REMOTE_CIID_UC := '0000000000000000'O;
        
        
+6 −6
Original line number Original line Diff line number Diff line
@@ -52,7 +52,7 @@ module LibItsFsap_Functions {
        /**
        /**
         * @desc This configuration features:
         * @desc This configuration features:
         * <li>Host and Router are combined (see ISO/WD 29281-2 - Figure 1 - Implementation architecture I)</li>
         * <li>Host and Router are combined (see ISO/WD 29281-2 - Figure 1 - Implementation architecture I)</li>
         * <li>MGT1 IISC Port (IISC/LAN) is used if specified</li>
         * <li>MGT1 IISC Port (IISC/LAN) is not used</li>
         */
         */
        function f_cf01Up() runs on ItsMgt {
        function f_cf01Up() runs on ItsMgt {
            
            
@@ -84,7 +84,7 @@ module LibItsFsap_Functions {
        /**
        /**
         * @desc This configuration features:
         * @desc This configuration features:
         * <li>Host and Router are separated (see ISO/WD 29281-2 - Figure 3 - Implementation architecture II & III)</li>
         * <li>Host and Router are separated (see ISO/WD 29281-2 - Figure 3 - Implementation architecture II & III)</li>
         * <li>MGT1 IISC Port (IISC/LAN) is not used</li>
         * <li>MGT1 IISC Port (IISC/LAN) is used if specified</li>
         */
         */
        function f_cf02Up() runs on ItsMgt {
        function f_cf02Up() runs on ItsMgt {
            
            
+5 −5
Original line number Original line Diff line number Diff line
@@ -58,12 +58,12 @@ module LibItsFsap_Pixits {
    group cRegServer {
    group cRegServer {
        
        
        /**
        /**
         * @desc The service provider ITS station,
         * @desc The service provider ITS station
         */
         */
        modulepar StationID PX_SERVER_ID := '00000000'O;
        modulepar StationID PX_SERVER_ID := '00000000'O;
        
        
        /**
        /**
         * @desc The service client ITS station,
         * @desc The service client ITS station
         */
         */
        modulepar StationID PX_CLIENT_ID := '00000000'O;
        modulepar StationID PX_CLIENT_ID := '00000000'O;
        
        
@@ -113,7 +113,7 @@ module LibItsFsap_Pixits {
        }
        }
        
        
        /**
        /**
         * @desc    Scheduling information for registration / registration request in order to select the proper VCI in the ITS-station for communication
         * @desc    Scheduling information for registration / deregistration request in order to select the proper VCI in the ITS-station for communication
         * 'medium' field indicates a request of specific access technology
         * 'medium' field indicates a request of specific access technology
         * @see ISO/CD 24102-5 Clause 8.2.4 Groupcast communication management
         * @see ISO/CD 24102-5 Clause 8.2.4 Groupcast communication management
         */
         */
@@ -129,7 +129,7 @@ module LibItsFsap_Pixits {
        } // End of modulepar PX_GSCHED_ACCESS_TECH_NONIP
        } // End of modulepar PX_GSCHED_ACCESS_TECH_NONIP
        
        
        /**
        /**
         * @desc    Scheduling information for registration / registration request in order to select the proper VCI in the ITS-station for communication
         * @desc    Scheduling information for registration / deregistration request in order to select the proper VCI in the ITS-station for communication
         * 'medium' field indicates a request of an unknown access technology
         * 'medium' field indicates a request of an unknown access technology
         * @see ISO/CD 24102-5 Clause 8.2.4 Groupcast communication management
         * @see ISO/CD 24102-5 Clause 8.2.4 Groupcast communication management
         */
         */
@@ -145,7 +145,7 @@ module LibItsFsap_Pixits {
        } // End of modulepar PX_GSCHED_ACCESS_TECH_NONIP
        } // End of modulepar PX_GSCHED_ACCESS_TECH_NONIP
        
        
        /**
        /**
         * @desc    Scheduling information for registration / registration request in order to select the proper VCI in the ITS-station for communication
         * @desc    Scheduling information for registration / deregistration request in order to select the proper VCI in the ITS-station for communication
         * 'medium' field indicates no request of specific access technology
         * 'medium' field indicates no request of specific access technology
         * @see ISO/CD 24102-5 Clause 8.2.4 Groupcast communication management
         * @see ISO/CD 24102-5 Clause 8.2.4 Groupcast communication management
         */
         */
+44 −0
Original line number Original line Diff line number Diff line
@@ -22,6 +22,14 @@ module LibItsIicp_Functions {
    import from LibCommon_VerdictControl all;
    import from LibCommon_VerdictControl all;
    
    
    // LibIts
    // LibIts
    import from CALMllsap language "ASN.1:1997" {
        type 
            Link_ID 
    };
    import from CALMmsap language "ASN.1:1997" {
        type 
            MF_Command, MN_Command, MI_Command 
    };
    import from CALMmanagement language "ASN.1:1997" {
    import from CALMmanagement language "ASN.1:1997" {
        type 
        type 
            ITS_scuId, Talive
            ITS_scuId, Talive
@@ -290,6 +298,15 @@ module LibItsIicp_Functions {
    
    
    group iutFunctions {
    group iutFunctions {
        
        
        /**
         * @desc Get the active VCI link identifier
         * @return The active VCI link identifier
         * @see PX_ACTIVE_VCI_LINK_ID
         */
        function f_getIutCIlinkId() return Link_ID {
            return PX_ACTIVE_VCI_LINK_ID;
        }
        
        /**
        /**
         * @desc Gets the Local/source ITS scuID 
         * @desc Gets the Local/source ITS scuID 
         * @return  The Local/source ITS scuID 
         * @return  The Local/source ITS scuID 
@@ -329,6 +346,33 @@ module LibItsIicp_Functions {
            return PX_TALIVE;
            return PX_TALIVE;
        }
        }
        
        
        /**
         * @desc    TODO
         * @return  TODO
         * @see     PX_MI_RCMD_STATECINOTIFY
         */
        function f_getIutRCmdForMiCommand() return MI_Command {
            return PX_MI_RCMD_STATECINOTIFY;
        }
        
        /**
         * @desc    TODO
         * @return  TODO
         * @see     PX_MN_RCMD_STATECINOTIFY
         */
        function f_getIutRCmdForMnCommand() return MN_Command {
            return PX_MN_RCMD_STATECINOTIFY;
        }
        
        /**
         * @desc    TODO
         * @return  TODO
         * @see     PX_MF_RCMD_STATECINOTIFY
         */
        function f_getIutRCmdForMfCommand() return MF_Command {
            return PX_MF_RCMD_STATECINOTIFY;
        }
        
    } // End of group iutFunctions
    } // End of group iutFunctions
    
    
} // End of module LibItsIicp_Functions
} // End of module LibItsIicp_Functions
 No newline at end of file
Loading