LibItsGeoNetworking_Pixits.ttcn 7.64 KB
Newer Older
fischer's avatar
fischer committed
/**
tepelmann's avatar
tepelmann committed
 *  @author     ETSI / STF405 / STF449
 *  @version    $URL$
 *              $Id$
tepelmann's avatar
tepelmann committed
 *  @desc       GeoNetworking PICS
fischer's avatar
fischer committed
 *
 */
module LibItsGeoNetworking_Pixits {
    
    // LibCommon
    import from LibCommon_DataStrings all;
fischer's avatar
fischer committed
    import from LibCommon_BasicTypesAndValues all;
    
    // LibIts
    import from LibItsGeoNetworking_TypesAndValues all;
    
fischer's avatar
fischer committed
    group geoNetworkingPixits {
        
        group gnAddresses {
            
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node A
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar GN_Address PX_TS_NODE_A_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
tepelmann's avatar
tepelmann committed
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
            };
            
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node B
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar GN_Address PX_TS_NODE_B_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
tepelmann's avatar
tepelmann committed
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
            };
            
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node C
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar GN_Address PX_TS_NODE_C_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
tepelmann's avatar
tepelmann committed
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
            };
            
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node D
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar GN_Address PX_TS_NODE_D_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
tepelmann's avatar
tepelmann committed
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
wattelet's avatar
wattelet committed
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node E
             * @see  ETSI TS 102 871-3 Table B.7
wattelet's avatar
wattelet committed
             */
            modulepar GN_Address PX_TS_NODE_E_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
wattelet's avatar
wattelet committed
            };
            
            /**
             * @desc GeoNetworking address of the GeoAdhoc router node F
             * @see  ETSI TS 102 871-3 Table B.7
wattelet's avatar
wattelet committed
             */
            modulepar GN_Address PX_TS_NODE_F_LOCAL_GN_ADDR := {
                typeOfAddress := e_manual,
                stationType := e_passengerCar,
                stationCountryCode := c_uInt10Zero,
wattelet's avatar
wattelet committed
            };

        } // end gnAddresses
        
tepelmann's avatar
tepelmann committed
        group congestionControl {
            
            /**
             * @desc    Nr of neighbour limit to enter the "medium" congestion status value
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar integer PX_MIN_NR_NEIGHBOUR := 50;
tepelmann's avatar
tepelmann committed
            
            /**
             * @desc    Nr of neighbour limit to enter the "maximum" congestion status value
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar integer PX_MAX_NR_NEIGHBOUR := 50;
tepelmann's avatar
tepelmann committed
            
            /**
             * @desc Maximum number of application retransmissions
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
            modulepar integer PX_GN_APPLICATION_MAX_RETRANS := 10;
tepelmann's avatar
tepelmann committed
        } // end congestionControl
        
        group timers {
            
            /**
             * @desc  Delta for timers to reflect processing time
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
             */
            modulepar float PX_T_DELTA := 0.1;
tepelmann's avatar
tepelmann committed
            
            /**
             * @desc Duration of Beacon service retransmit timer [ms] for NetBeaconInterval = medium (cong. ctrl)
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
             */
            modulepar integer PX_GN_BEACON_SERVICE_TIMER_MEDIUM := 5000;
            
            /**
             * @desc Duration of Beacon service retransmit timer [ms] for NetBeaconInterval = maximum (cong. ctrl)
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
             */
            modulepar integer PX_GN_BEACON_SERVICE_TIMER_MAXIMUM := 8000;
            
            /**
             * @desc Duration of Location service retransmit timer [ms] for NetRepInterval = medium (cong. ctrl)
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
             */
berge's avatar
berge committed
            modulepar integer PX_GN_LOCATION_SERVICE_TIMER_MEDIUM := 2000;
tepelmann's avatar
tepelmann committed
            
            /**
             * @desc Duration of Location service retransmit timer [ms] for NetRepInterval = maximum (cong. ctrl)
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
             */
berge's avatar
berge committed
            modulepar integer PX_GN_LOCATION_SERVICE_TIMER_MAXIMUM := 3000;
tepelmann's avatar
tepelmann committed
            
            /**
             * @desc Duration of Application retransmit timer [ms]
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
             */
            modulepar integer PX_GN_APPLICATION_RETRANSMIT_TIMER := 1000;
            
            /**
             * @desc Duration of Application retransmit timer [ms] - medium
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar integer PX_GN_APPLICATION_RETRANSMIT_TIMER_MEDIUM := 2000;
            
            /**
             * @desc Duration of Application retransmit timer [ms] - maximum
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar integer PX_GN_APPLICATION_RETRANSMIT_TIMER_MAXIMUM := 3000;
            
            /**
             * @desc The allowed delta for position checking.
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar integer PX_POS_DELTA := 1;
tepelmann's avatar
tepelmann committed
        }
tepelmann's avatar
tepelmann committed
        
berge's avatar
berge committed
        group upperLayer {
        
            /**
tepelmann's avatar
tepelmann committed
             * @desc The IUT's upper layer
             * @see  ETSI TS 102 871-3 Table B.7
berge's avatar
berge committed
             */
            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.
             * @remark It may happen that IUT do not report BTP header in UT indications (dur to GN/BTP merge)
             * @see    ETSI TS 102 871-3 Table B.7
             */
            modulepar boolean PX_BTP_IN_UT_IND := true;    

berge's avatar
berge committed
        }
        
        group parametrisation {
tepelmann's avatar
tepelmann committed
            
            /**
             * @desc Number of messages to be sent
             * @see  ETSI TS 102 871-3 Table B.7
tepelmann's avatar
tepelmann committed
             */
            modulepar integer PX_MESSAGE_COUNT := 5;
            
             * @desc Time necessary for IUT to detect neighbours
             * @see  ETSI TS 102 871-3 Table B.7
             */
            modulepar float PX_NEIGHBOUR_DISCOVERY_DELAY := 1.0
tepelmann's avatar
tepelmann committed
            
tepelmann's avatar
tepelmann committed
        
    } // end geoNetworkingPixits
    /**
     * @desc The certificate identifier the TA shall use in case of secured IUT. Default: CERT_IUT_A_AT
     * @remark If the IUT cannot use the test certificates, set this PIXIT to CERT_NONE
     */
    modulepar charstring PX_CERT_FOR_TA := "CERT_TS_A_AT";
    
} // end LibItsGeoNetworking_Pixits