Loading ttcn/CAM/LibItsCam_Pics.ttcn 0 → 100644 +122 −0 Original line number Diff line number Diff line /** * @author ETSI / STF405 * @version $URL$ * $Id$ * @desc CAM PICS * */ module LibItsCam_Pics { // LibCommon import from LibCommon_BasicTypesAndValues all; group camPics { /** * @desc Is IUT a basic vehicle * @see Draft ETSI TS 102 868-1 A.2/1 */ modulepar boolean PICS_BASICVEH := false; /** * @desc Is IUT a basic IRS * @see Draft ETSI TS 102 868-1 A.3/1 */ modulepar boolean PICS_BASICIRS := false; /** * @desc Does IUT support 'CurvatureGradient' indicatio * @see Draft ETSI TS 102 868-1 A.16/32 */ modulepar boolean PICS_CURVCHANGE := false; /** * @desc Does IUT support 'DoorOpen' indication * @see Draft ETSI TS 102 868-1 A.16/28 */ modulepar boolean PICS_DOOROPEN := false; /** * @desc Does IUT support 'distanceToStopLine' indication * @see Draft ETSI TS 102 868-1 A.16/23 */ modulepar boolean PICS_DISTTOSTOPLINE := false; /** * @desc Is IUT an emergency vehicle * @see Draft ETSI TS 102 868-1 A.2/2 */ modulepar boolean PICS_EMERVEH := false; /** * @desc Does IUT support 'lightBarInUse' indication * @see Draft ETSI TS 102 868-1 A.16/3 */ modulepar boolean PICS_LIGHTBARINUSE := false; /** * @desc Does IUT support 'Occupancy' indication * @see Draft ETSI TS 102 868-1 A.16/25 */ modulepar boolean PICS_OCCUPANCY := false; /** * @desc Does IUT support 'PTLineDescription' indication * @see Draft ETSI TS 102 868-1 A.16/22 */ modulepar boolean PICS_PTLINEDESCRIPTION := false; /** * @desc Is IUT a public transport vehicle * @see Draft ETSI TS 102 868-1 A.2/3 */ modulepar boolean PICS_PUBTRANSVEH := false; /** * @desc Does IUT support 'ScheduleDeviation' indication * @see Draft ETSI TS 102 868-1 A.16/27 */ modulepar boolean PICS_SCHEDULEDEVIATION := false; /** * @desc Does IUT support 'SireneInUse' indication * @see Draft ETSI TS 102 868-1 A.16/4 */ modulepar boolean PICS_SIRENEINUSE := false; /** * @desc Does IUT support 'TrafficLightPriority' indication * @see Draft ETSI TS 102 868-1 A.16/28 */ modulepar boolean PICS_TRAFFICLIGHTPRIORITY := false; /** * @desc Does IUT support 'turnAdvice' indication * @see Draft ETSI TS 102 868-1 A.16/22 */ modulepar boolean PICS_TURNADVICE := false; /** * @desc Minimum time interval between CAM generations (in seconds) * Default value, as per base standard: 0,1s * @see Draft ETSI TS 102 868-1 A.66/1 */ modulepar float PICS_CAM_MIN_TRANSMISSION_INTERVAL := 0.1; /** * @desc Maximum time interval between CAM generations (in seconds) * Default value, as per base standard: 1s * @see Draft ETSI TS 102 868-1 A.66/2 */ modulepar float PICS_CAM_MAX_TRANSMISSION_INTERVAL := 1.0; /** * @desc Duration of doors closure for situational mandatory TaggedValue * Default value, as per base standard: 30s * @see Draft ETSI TS 102 868-1 A.66/5 */ modulepar float PICS_DOORS_CLOSED_TIMER := 30.0; } // end camPics } // end LibItsCam_Pics ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -836,7 +836,7 @@ module LibItsGeoNetworking_Functions { * @desc Brings the IUT into an initial state. * @return */ function f_prInitialState() runs on ItsNt { function f_prInitialState() { f_utInitializeIut(); Loading ttcn/GeoNetworking/LibItsGeoNetworking_Pics.ttcn 0 → 100644 +164 −0 Original line number Diff line number Diff line /** * @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 No newline at end of file Loading
ttcn/CAM/LibItsCam_Pics.ttcn 0 → 100644 +122 −0 Original line number Diff line number Diff line /** * @author ETSI / STF405 * @version $URL$ * $Id$ * @desc CAM PICS * */ module LibItsCam_Pics { // LibCommon import from LibCommon_BasicTypesAndValues all; group camPics { /** * @desc Is IUT a basic vehicle * @see Draft ETSI TS 102 868-1 A.2/1 */ modulepar boolean PICS_BASICVEH := false; /** * @desc Is IUT a basic IRS * @see Draft ETSI TS 102 868-1 A.3/1 */ modulepar boolean PICS_BASICIRS := false; /** * @desc Does IUT support 'CurvatureGradient' indicatio * @see Draft ETSI TS 102 868-1 A.16/32 */ modulepar boolean PICS_CURVCHANGE := false; /** * @desc Does IUT support 'DoorOpen' indication * @see Draft ETSI TS 102 868-1 A.16/28 */ modulepar boolean PICS_DOOROPEN := false; /** * @desc Does IUT support 'distanceToStopLine' indication * @see Draft ETSI TS 102 868-1 A.16/23 */ modulepar boolean PICS_DISTTOSTOPLINE := false; /** * @desc Is IUT an emergency vehicle * @see Draft ETSI TS 102 868-1 A.2/2 */ modulepar boolean PICS_EMERVEH := false; /** * @desc Does IUT support 'lightBarInUse' indication * @see Draft ETSI TS 102 868-1 A.16/3 */ modulepar boolean PICS_LIGHTBARINUSE := false; /** * @desc Does IUT support 'Occupancy' indication * @see Draft ETSI TS 102 868-1 A.16/25 */ modulepar boolean PICS_OCCUPANCY := false; /** * @desc Does IUT support 'PTLineDescription' indication * @see Draft ETSI TS 102 868-1 A.16/22 */ modulepar boolean PICS_PTLINEDESCRIPTION := false; /** * @desc Is IUT a public transport vehicle * @see Draft ETSI TS 102 868-1 A.2/3 */ modulepar boolean PICS_PUBTRANSVEH := false; /** * @desc Does IUT support 'ScheduleDeviation' indication * @see Draft ETSI TS 102 868-1 A.16/27 */ modulepar boolean PICS_SCHEDULEDEVIATION := false; /** * @desc Does IUT support 'SireneInUse' indication * @see Draft ETSI TS 102 868-1 A.16/4 */ modulepar boolean PICS_SIRENEINUSE := false; /** * @desc Does IUT support 'TrafficLightPriority' indication * @see Draft ETSI TS 102 868-1 A.16/28 */ modulepar boolean PICS_TRAFFICLIGHTPRIORITY := false; /** * @desc Does IUT support 'turnAdvice' indication * @see Draft ETSI TS 102 868-1 A.16/22 */ modulepar boolean PICS_TURNADVICE := false; /** * @desc Minimum time interval between CAM generations (in seconds) * Default value, as per base standard: 0,1s * @see Draft ETSI TS 102 868-1 A.66/1 */ modulepar float PICS_CAM_MIN_TRANSMISSION_INTERVAL := 0.1; /** * @desc Maximum time interval between CAM generations (in seconds) * Default value, as per base standard: 1s * @see Draft ETSI TS 102 868-1 A.66/2 */ modulepar float PICS_CAM_MAX_TRANSMISSION_INTERVAL := 1.0; /** * @desc Duration of doors closure for situational mandatory TaggedValue * Default value, as per base standard: 30s * @see Draft ETSI TS 102 868-1 A.66/5 */ modulepar float PICS_DOORS_CLOSED_TIMER := 30.0; } // end camPics } // end LibItsCam_Pics
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -836,7 +836,7 @@ module LibItsGeoNetworking_Functions { * @desc Brings the IUT into an initial state. * @return */ function f_prInitialState() runs on ItsNt { function f_prInitialState() { f_utInitializeIut(); Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Pics.ttcn 0 → 100644 +164 −0 Original line number Diff line number Diff line /** * @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 No newline at end of file