LibItsGeoNetworking_Pics.ttcn 6.53 KB
Newer Older
berge's avatar
berge committed
/**
 *  @author     ETSI / STF405
 *  @version    $URL$
 *              $Id$
 *  @desc       GeoNetworking PICS
berge's avatar
berge committed
 *
 */
module LibItsGeoNetworking_Pics {
    
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
    import from LibCommon_DataStrings all;
        
    // LibIts
    import from LibItsGeoNetworking_TypesAndValues all;
    import from LibItsExternal_TypesAndValues {type MacAddress};
berge's avatar
berge committed
    
    group geoNwPics {
        
        /**
         * @desc GeoNetworking address of the GeoAdhoc router 
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/1
berge's avatar
berge committed
         */
        modulepar GN_Address PICS_GN_LOCAL_GN_ADDR := {
berge's avatar
berge committed
            typeOfAddress := e_manual,
            stationType := {
                vehicleStation := {
                    stationType := e_vehicleStation,
                    vsKind := e_car   
                }
            },
            stationSubType := e_private,
            stationCountryCode := c_uInt10Zero,
            mid := c_6ZeroBytes
berge's avatar
berge committed
        };

        /**
         * @desc Is address manually configured
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/2
berge's avatar
berge committed
         */
        modulepar TypeOfAddress    PICS_GN_LOCAL_ADDR_CONF_METHOD := e_initial;
berge's avatar
berge committed

        /**
         * @desc Type of ITS Station    
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/4
berge's avatar
berge committed
         */
        modulepar StationTypeIdentifier PICS_GN_STATION_TYPE := e_vehicleStation;
        
        /**
         * @desc Minimum update frequency of local position vector (LPV) in ms    
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/5
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_MINIMUM_UPDATE_FREQUENCY_LPV := 1000;
            
        /**
         * @desc Maximum size of GN-SDU [bytes]    
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/6
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_MAX_SDU_SIZE := 1416;
        
        /**
         * @desc GN_MAX: Maximum size of GeoNetworking header [bytes]    
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/7
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_MAX_GN_HEADER_SIZE := 84;
        
        /**
         * @desc Lifetime of location table entry [s]     
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/8
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_LIFETIME_LOC_TE := 20;
        
        /**
berge's avatar
berge committed
         * @desc Maximum number of retransmissions of LS_REQUEST packets
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/10
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_LOCATION_SERVICE_MAX_RETRANS := 10;
    
        /**
berge's avatar
berge committed
         * @desc Duration of Location service retransmit timer [ms]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/11
berge's avatar
berge committed
         */
tepelmann's avatar
tepelmann committed
        modulepar integer PICS_GN_LOCATION_SERVICE_RETRANSMIT_TIMER := 1000;
berge's avatar
berge committed
         * @desc Size of Location service packet buffer [Byte]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/12
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_LOCATION_SERVICE_PACKET_BUFFER_SIZE := 1024;    
        
        /**
berge's avatar
berge committed
         * @desc Duration of Beacon service retransmit timer [ms]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/13
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_BEACON_SERVICE_TIMER := 3000;        
berge's avatar
berge committed

berge's avatar
berge committed
         * @desc Maximum beacon jitter [ms]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/14
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_BEACON_SERVICE_MAX_JITTER := 150;        
berge's avatar
berge committed

berge's avatar
berge committed
         * @desc Default hop limit indicating the maximum number of hops a packet travels
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/15
berge's avatar
berge committed
         */
        modulepar UInt8 PICS_GN_DEFAULT_HOP_LIMIT := 10;        
    
        /**
berge's avatar
berge committed
         * @desc Upper limit of the maximum lifetime [s]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/16
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_MAX_PACKET_LIFETIME := 600;        
berge's avatar
berge committed

berge's avatar
berge committed
         * @desc Lower limit of the packet repetition interval [ms]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/17
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_MIN_PACKET_REPETITION_INTERVAL := 100;    
berge's avatar
berge committed

berge's avatar
berge committed
         * @desc Default GeoUnicast forwarding algorithm
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/18
berge's avatar
berge committed
         */
        modulepar GeoUnicastForwardingAlgorithm PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM := e_greedy;    
berge's avatar
berge committed

berge's avatar
berge committed
         * @desc Default GeoBroadcast forwarding algorithm
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/19
berge's avatar
berge committed
         */
        modulepar GeoBroadcastForwardingAlgorithm PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM := e_simple;    
berge's avatar
berge committed

berge's avatar
berge committed
         * @desc Size of UC forwarding packet buffer [Kbytes]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/24
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_UC_FORWARDING_PACKET_BUFFER_SIZE := 255;    
        
        /**
berge's avatar
berge committed
         * @desc Size of BC forwarding packet buffer [Kbytes]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/25
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_BC_FORWARDING_PACKET_BUFFER_SIZE := 1024;    
    
        /** 
         * @desc Forwarding: Default traffic class Relevance
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/27
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_TRAFFIC_CLASS_RELEVANCE := 3;    
    
        /**
         * @desc Forwarding: Forwarding: Default traffic class Reliability
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/28
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_TRAFFIC_CLASS_RELIABILITY := 10;    
berge's avatar
berge committed

        /**
         * @desc Forwarding: Forwarding: Default traffic class Latency
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/29
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_TRAFFIC_CLASS_LATENCY := 10;    
berge's avatar
berge committed
        /**
         * @desc Default theoretical maximum communication range [m]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/22
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_DEFAULT_MAX_COMMUNICATION_RANGE := 1000;
        
        /**
         * @desc Minimum duration a packet shall be buffered in the CBF packet buffer [ms]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/20
berge's avatar
berge committed
         */        
        modulepar integer PICS_GN_GEOUNICAST_CBF_MIN_TIME := 1;
        
        /**
         * @desc Maximum duration a packet shall be buffered in the CBF packet buffer [ms]
         * @see  ETSI TS 102 871-1 v1.1.1 A.40/21
berge's avatar
berge committed
         */        
        modulepar integer PICS_GN_GEOUNICAST_CBF_MAX_TIME := 100;
        
berge's avatar
berge committed
        /** 
         * @desc IUT's Mac address 
         */
        modulepar MacAddress PICS_IUT_MAC_ADDRESS := 'FFFFFFFFFFFF'O;
        
berge's avatar
berge committed
    } // end geoNwPics
    
} // end LibItsGeoNetworking_Pics