LibItsGeoNetworking_Pics.ttcn 5.15 KB
Newer Older
berge's avatar
berge committed
/**
 *	@author 	ETSI / STF405
 *  @version 	$URL$
 *				$Id$
 *	@desc		GeoNetworking PICS
 *
 */
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 := {
            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;

        /**
         * @desc Type of ITS Station	
         * @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	
         * @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]	
         * @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]	
         * @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] 	
         * @see  Draft ETSI TS 102 871-1 A.40/8
         */
		modulepar integer PICS_GN_LIFETIME_LOC_TE := 20;
		
		/**
         * @desc Maximum number of retransmissions of LS_REQUEST packets
         * @see  Draft ETSI TS 102 871-1 A.40/9
         */
		modulepar integer PICS_GN_LOCATION_SERVICE_MAX_RETRANS := 10;
	
		/**
         * @desc Duration of Location service retransmit timer [ms]
         * @see  Draft ETSI TS 102 871-1 A.40/10
         */
		modulepar integer PICS_GN_LOCATION_SERVICE_TIMER := 1000;
		
		/**
         * @desc Size of Location service packet buffer [Byte]
         * @see  Draft ETSI TS 102 871-1 A.40/11
         */
		modulepar integer PICS_GN_LOCATION_SERVICE_PACKET_BUFFER_SIZE := 1024;	
		
		/**
         * @desc Duration of Beacon service retransmit timer [ms]
         * @see  Draft ETSI TS 102 871-1 A.40/12
         */
		modulepar integer PICS_GN_BEACON_SERVICE_TIMER := 3000;		

		/**
         * @desc Maximum beacon jitter [ms]
         * @see  Draft ETSI TS 102 871-1 A.40/13
         */
		modulepar integer PICS_GN_BEACON_SERVICE_MAX_JITTER := 150;		

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

		/**
         * @desc Lower limit of the packet repetition interval [ms]
         * @see  Draft ETSI TS 102 871-1 A.40/16
         */
		modulepar integer PICS_GN_MIN_PACKET_REPETITION_INTERVAL := 100;	

		/**
         * @desc Default GeoUnicast forwarding algorithm
         * @see  Draft ETSI TS 102 871-1 A.40/17
         */
		modulepar GeoUnicastForwardingAlgorithm PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM := e_greedy;	

		/**
         * @desc Default GeoBroadcast forwarding algorithm
         * @see  Draft ETSI TS 102 871-1 A.40/18
         */
		modulepar GeoBroadcastForwardingAlgorithm PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM := e_simple;	

		/**
         * @desc Size of UC forwarding packet buffer [Kbytes]
         * @see  Draft ETSI TS 102 871-1 A.40/19
         */
		modulepar integer PICS_GN_UC_FORWARDING_PACKET_BUFFER_SIZE := 255;	
		
		/**
         * @desc Size of BC forwarding packet buffer [Kbytes]
         * @see  Draft ETSI TS 102 871-1 A.40/20
         */
		modulepar integer PICS_GN_BC_FORWARDING_PACKET_BUFFER_SIZE := 1024;	
	
		/** 
		 * @desc Forwarding: Default traffic class Relevance
         * @see  Draft ETSI TS 102 871-1 A.40/21
         */
		modulepar integer PICS_GN_TRAFFIC_CLASS_RELEVANCE := 3;	
	
		/**
		 * @desc Forwarding: Forwarding: Default traffic class Reliability
         * @see  Draft ETSI TS 102 871-1 A.40/22
         */
		modulepar integer PICS_GN_TRAFFIC_CLASS_RELIABILITY := 10;	

		/**
		 * @desc Forwarding: Forwarding: Default traffic class Latency
         * @see  Draft ETSI TS 102 871-1 A.40/23
         */
		modulepar integer PICS_GN_TRAFFIC_CLASS_LATENCY := 10;	
				
    } // end geoNwPics
    
} // end LibItsGeoNetworking_Pics