Skip to content
LibItsGeoNetworking_Pics.ttcn 6.3 KiB
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;
    
    group geoNwPics {
        
        /**
         * @desc GeoNetworking address of the GeoAdhoc router 
         * @see  Draft ETSI TS 102 871-1 A.40/1
         */
        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
        };

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

        /**
         * @desc Type of ITS Station    
berge's avatar
berge committed
         * @see  Draft ETSI TS 102 871-1 A.40/4
         */
        modulepar StationTypeIdentifier PICS_GN_STATION_TYPE := e_vehicleStation;
        
        /**
         * @desc Minimum update frequency of local position vector (LPV) in ms    
berge's avatar
berge committed
         * @see  Draft ETSI TS 102 871-1 A.40/5
         */
        modulepar integer PICS_GN_MINIMUM_UPDATE_FREQUENCY_LPV := 1000;
            
        /**
         * @desc Maximum size of GN-SDU [bytes]    
berge's avatar
berge committed
         * @see  Draft ETSI TS 102 871-1 A.40/6
         */
        modulepar integer PICS_GN_MAX_SDU_SIZE := 1416;
        
        /**
         * @desc GN_MAX: Maximum size of GeoNetworking header [bytes]    
berge's avatar
berge committed
         * @see  Draft ETSI TS 102 871-1 A.40/7
         */
        modulepar integer PICS_GN_MAX_GN_HEADER_SIZE := 84;
        
        /**
         * @desc Lifetime of location table entry [s]     
berge's avatar
berge committed
         * @see  Draft ETSI TS 102 871-1 A.40/8
         */
        modulepar integer PICS_GN_LIFETIME_LOC_TE := 20;
        
        /**
berge's avatar
berge committed
         * @desc Maximum number of retransmissions of LS_REQUEST packets
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-1 A.40/27
berge's avatar
berge committed
         */
        modulepar integer PICS_GN_TRAFFIC_CLASS_RELEVANCE := 3;    
    
        /**
         * @desc Forwarding: Forwarding: Default traffic class Reliability
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-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]
wattelet's avatar
wattelet committed
         * @see  Draft ETSI TS 102 871-1 A.40/21
berge's avatar
berge committed
         */        
        modulepar integer PICS_GN_GEOUNICAST_CBF_MAX_TIME := 100;
        
berge's avatar
berge committed
    } // end geoNwPics
    
} // end LibItsGeoNetworking_Pics