Loading lib/LibItsCam_EncdecDeclarations.ttcn +3 Viewed Changes for lib/LibItsCam_EncdecDeclarations.ttcn: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ module LibItsCam_EncdecDeclarations { external function fx_enc_UtCamChangePosition (UtCamChangePosition p) return bitstring with {extension "prototype(convert) encode(UpperTester)"} external function fx_enc_UtCamChangePseudonym (UtCamChangePseudonym p) return bitstring with {extension "prototype(convert) encode(UpperTester)"} external function fx_enc_UtCamTrigger (UtCamTrigger p) return bitstring with {extension "prototype(convert) encode(UpperTester)"} Loading lib/LibItsCam_Pics.ttcn +58 −16 Viewed Changes for lib/LibItsCam_Pics.ttcn: 58 added lines, 16 removed lines. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_Pics.ttcn $ * $Id: LibItsCam_Pics.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc CAM PICS Loading @@ -17,76 +17,118 @@ module LibItsCam_Pics { group camPics { /** * @desc Is the IUT RSU? * @desc Does the IUT support CAMv2? * @see ETSI TS 102 868-1 Table A.1 */ modulepar boolean PICS_RELEASE2 := true; /** * @desc Is the IUT RSU? * @see ETSI TS 102 868-1 Table A.2 */ modulepar boolean PICS_RSU := false; /** * @desc Is the IUT running in secured mode? * @see ETSI TS 102 868-1 Table A.1 * @see ETSI TS 102 868-1 Table A.7 */ modulepar boolean PICS_IS_IUT_SECURED := false; /** * @desc Is IUT a public transport vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_PUBLICTRANS := false; /** * @desc Is IUT a special transport vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_SPECIALTRANS := false; /** * @desc Is IUT a dangerous goods vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_DANGEROUSGOODS := false; /** * @desc Is IUT a road works vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_ROADWORKS := false; /** * @desc Is IUT a rescue vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_RESCUE := false; /** * @desc Is IUT an emergency vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_EMERGENCY := false; /** * @desc Is IUT a safety car vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_SAFETY_CAR := false; /** * @desc Does IUT support 'specialVehicleContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_SPECIALVEHICLECONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/1 */ modulepar boolean PICS_EXTENSIONSCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/2 */ modulepar boolean PICS_GENERALIZEDLANEPOSITIONSCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/3 */ modulepar boolean PICS_PATHPREDICTIONCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/4 */ modulepar boolean PICS_TWOWHEELERCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/5 */ modulepar boolean PICS_EHORIZONLOCATIONSHARINGCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/6 */ modulepar boolean PICS_VEHICLEMOVEMENTCONTROLCONTAINER := true; /** * @desc Maximum time interval between CAM generations (in seconds). * Default value, as per base standard: 1.0s * @see ETSI TS 102 868-1 Table A.5 * @see ETSI TS 102 868-1 Table A.8 */ modulepar float PICS_T_GENCAMMAX := 1.000; /** * @desc Minimum time interval between CAM generations (in seconds). * Default value, as per base standard: 0.1s * @see ETSI TS 102 868-1 Table A.5 * @see ETSI TS 102 868-1 Table A.8 */ modulepar float PICS_T_GENCAMMIN := 0.100; Loading @@ -95,19 +137,19 @@ module LibItsCam_Pics { * according to the requirements of the * Decentralized Congestion Control(DCC). * Default value, as per base standard: 0.1s * @see ETSI TS 102 868-1 Table A.5 * @see ETSI TS 102 868-1 Table A.8 */ modulepar float PICS_T_GENCAMDCC := 0.100; /** * @desc Support for CAM generation * @see ETSI TS 102 868-1 Table A.3 * @see ETSI TS 102 868-1 Table A.6 */ modulepar boolean PICS_CAM_GENERATION := true; /** * @desc Support for CAM reception * @see ETSI TS 102 868-1 Table A.3 * @see ETSI TS 102 868-1 Table A.6 */ modulepar boolean PICS_CAM_RECEPTION := true; Loading lib/LibItsCam_Pixits.ttcn +11 −1 Viewed Changes for lib/LibItsCam_Pixits.ttcn: 11 added lines, 1 removed line. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_Pixits.ttcn $ * $Id: LibItsCam_Pixits.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc Module containing Pixits for CAM Loading @@ -18,4 +18,14 @@ module LibItsCam_Pixits { // LibItsSecurity import from LibItsSecurity_TypesAndValues all; /** * @desc Multiply timer value by this control factor to increase it */ modulepar float PX_INC_TIMER_CONTROL_FACTOR := 1.10; /** * @desc Multiply timer value by this control factor to decrease it */ modulepar float PX_DEC_TIMER_CONTROL_FACTOR := 0.9; } // End of module LibItsSecurity_Pixits No newline at end of file lib/LibItsCam_Templates.ttcn +148 −56 Viewed Changes for lib/LibItsCam_Templates.ttcn: 148 added lines, 56 removed lines. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_Templates.ttcn $ * $Id: LibItsCam_Templates.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc Module containing base template definitions for CAM Loading @@ -15,10 +15,12 @@ module LibItsCam_Templates { import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; // LibHelpers import from LibHelpers_Functions all; // LibIts import from ITS_Container language "ASN.1:1997" all; import from ETSI_ITS_CDD language "ASN.1:1997" all; import from CAM_PDU_Descriptions language "ASN.1:1997" all; // import from DENM_PDU_Descriptions language "ASN.1:1997" all; // LibItsCommon import from LibItsCommon_Functions all; Loading @@ -35,7 +37,7 @@ module LibItsCam_Templates { * @param p_camMsg Expected CAM Message */ template CamInd mw_camInd ( in template (present) CAM p_camMsg template (present) CAM p_camMsg ) := { msgIn := p_camMsg, recvTime := ?, Loading @@ -60,7 +62,7 @@ module LibItsCam_Templates { * @param p_gnTrafficClass GN traffic class value */ template CamInd mw_camIndWithGnParameters ( in template (present) CAM p_camMsg, template (present) CAM p_camMsg, in template UInt8 p_gnNextHeader := *, in template UInt8 p_gnHeaderType := *, in template UInt8 p_gnHeaderSubtype := *, Loading @@ -75,7 +77,7 @@ module LibItsCam_Templates { }; /** * @desc Receive template for CA Message (DenmPort Primitive) * @desc Receive template for CA Message (CamPort Primitive) * @param p_caMsg The expected CA Message * @param p_ssp SSP security parameter * @param p_its_aid ITS-AID value Loading @@ -96,7 +98,7 @@ module LibItsCam_Templates { * @param p_btpInfo BTP destination port info value (if BTP-B) or BTP source port value (if BTP-A) */ template CamInd mw_camIndWithBtpParameters ( in template (present) CAM p_camMsg, template (present) CAM p_camMsg, in template UInt16 p_btpDestinationPort := *, in template UInt16 p_btpInfo := * ) modifies mw_camInd := { Loading Loading @@ -139,6 +141,13 @@ module LibItsCam_Templates { changeSpeed := p_changeSpeed } /** * @desc Request for changing pseudonym with the specified certificate. */ template (value) UtCamChangePseudonym m_utCamChangePseudonym(in Oct8 p_hashedId8) := { hashedId8 := p_hashedId8 } /** * @desc Set the acceleration control status * @param p_status The status to set Loading Loading @@ -187,6 +196,14 @@ module LibItsCam_Templates { setVehicleRole := p_vehicleRole } /** * @desc Set the station type * @param p_stationType The station type */ template (value) UtCamTrigger m_setStationType(StationType p_stationType) := { setStationType := p_stationType } /** * @desc Set the dangerous good description * @param p_dangerousGoods The dangerous good description Loading @@ -204,13 +221,13 @@ module LibItsCam_Templates { /** * @desc The test system reference position. */ template (value) ReferencePosition m_tsPosition := { template (value) ReferencePositionWithConfidence m_tsPosition := { latitude := f_integer2Latitude(f_getTsLatitude()), longitude := f_integer2Longitude(f_getTsLongitude()), positionConfidenceEllipse := { semiMajorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMinorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMajorOrientation := LibItsCommon_ASN1_NamedNumbers.HeadingValue_wgs84North_ semiMajorAxisLength := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMinorAxisLength := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMajorAxisOrientation := LibItsCommon_ASN1_NamedNumbers.HeadingValue_wgs84North_ }, altitude := { altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, Loading @@ -218,20 +235,7 @@ module LibItsCam_Templates { } } /** * @desc Reference position for given latitude and longitude. */ template (present) ReferencePosition mw_refPositionWithDelta( in ReferencePosition p_origRefPos, in integer p_jitter := 100 ) := { latitude := (p_origRefPos.latitude - p_jitter..p_origRefPos.latitude + p_jitter), longitude := (p_origRefPos.longitude - p_jitter..p_origRefPos.longitude + p_jitter), positionConfidenceEllipse := p_origRefPos.positionConfidenceEllipse, altitude := p_origRefPos.altitude } } // end positionTemplates }// End of group positionTemplates /** * @desc Default Receive template for CAM PDU Loading @@ -239,8 +243,8 @@ module LibItsCam_Templates { template (present) CAM mw_camMsg_any := { header := { protocolVersion := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_protocolVersion_currentVersion_, messageID := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_cam_, stationID := ? messageId := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageId_cam_, stationId := ? }, cam := { generationDeltaTime := ?, Loading @@ -257,7 +261,7 @@ module LibItsCam_Templates { * @param p_referencePosition The reference position */ template (present) CAM mw_camMsg_BC_refPos( in template(present) ReferencePosition p_referencePosition template(present) ReferencePositionWithConfidence p_referencePosition ) modifies mw_camMsg_any := { cam := { camParameters := { Loading @@ -267,12 +271,13 @@ module LibItsCam_Templates { }, highFrequencyContainer := ?, lowFrequencyContainer := *, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } } // end group camBasicContainer } // End of group camBasicContainer group camHighFrequencyContainer { Loading @@ -291,7 +296,8 @@ module LibItsCam_Templates { basicVehicleContainerHighFrequency := p_basicVehicleContainer }, lowFrequencyContainer := *, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } Loading Loading @@ -403,7 +409,7 @@ module LibItsCam_Templates { } } } // end group camHighFrequencyContainer } // End of group camHighFrequencyContainer group camLowFrequencyContainer { Loading @@ -417,7 +423,8 @@ module LibItsCam_Templates { basicContainer := ?, highFrequencyContainer := ?, lowFrequencyContainer := ?, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } Loading @@ -437,7 +444,8 @@ module LibItsCam_Templates { lowFrequencyContainer := { basicVehicleContainerLowFrequency := p_basicVehicleContainer }, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } Loading @@ -458,13 +466,13 @@ module LibItsCam_Templates { * @param p_extLights The exterior lights */ template(present) BasicVehicleContainerLowFrequency mw_LF_BV_extLights( in template (present) ExteriorLights p_extLights template (present) ExteriorLights p_extLights ) modifies mw_LF_BV_any := { exteriorLights := p_extLights } } // end group camLowFrequencyContainer } // End of group camLowFrequencyContainer group camSpecialVehicleContainer { Loading @@ -478,7 +486,8 @@ module LibItsCam_Templates { basicContainer := ?, highFrequencyContainer := ?, lowFrequencyContainer := *, specialVehicleContainer := ? specialVehicleContainer := ?, extensionContainers := * } } } Loading @@ -488,7 +497,7 @@ module LibItsCam_Templates { * @param p_specialVehicleContainer The expected specialVehicleContainer */ template (present) CAM mw_camMsg_SVC( in template (present) SpecialVehicleContainer p_specialVehicleContainer template (present) SpecialVehicleContainer p_specialVehicleContainer ) modifies mw_camMsg_SVC_any := { cam := { camParameters := { Loading @@ -497,6 +506,62 @@ module LibItsCam_Templates { } } template (present) CAM mw_camMsg_ext_two_wheelers_container_any( template (present) TwoWheelerContainer p_twoWheelerContainer := ? ) modifies mw_camMsg_SVC_any := { cam := { camParameters := { extensionContainers := { *, { containerId := twoWheelerContainer, containerData := { TwoWheelerContainer := p_twoWheelerContainer } }, * } } } } template (present) CAM mw_camMsg_ext_location_sharing_container_any( template (present) EHorizonLocationSharingContainer p_eHorizonLocationSharingContainer := ? ) modifies mw_camMsg_SVC_any := { cam := { camParameters := { extensionContainers := { *, { containerId := eHorizonLocationSharingContainer, containerData := { EHorizonLocationSharingContainer := p_eHorizonLocationSharingContainer } }, * } } } } template (present) CAM mw_camMsg_ext_low_frequency_container_any( template (present) VeryLowFrequencyContainer p_veryLowFrequencyContainer := ? ) modifies mw_camMsg_any := { cam := { camParameters := { basicContainer := ?, highFrequencyContainer := ?, extensionContainers := { *, { containerId := veryLowFrequencyContainer, containerData := { VeryLowFrequencyContainer := p_veryLowFrequencyContainer } }, * } } } } /** * @desc Receive template for specialVehicleContainer public transport */ Loading Loading @@ -557,14 +622,14 @@ module LibItsCam_Templates { * @param p_referencePosition Position of the sending station */ template (value) CAM m_camMsg_vehicle_HF_BV( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) := { header := { protocolVersion := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_protocolVersion_currentVersion_, messageID := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_cam_, stationID := p_stationId messageId := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageId_cam_, stationId := p_stationId }, cam := { generationDeltaTime := p_generationTime, Loading @@ -590,8 +655,8 @@ module LibItsCam_Templates { }, vehicleWidth := 21, longitudinalAcceleration := { longitudinalAccelerationValue := LibItsCommon_ASN1_NamedNumbers.LongitudinalAccelerationValue_unavailable_, longitudinalAccelerationConfidence := LibItsCommon_ASN1_NamedNumbers.AccelerationConfidence_unavailable_ value_ := LibItsCommon_ASN1_NamedNumbers.LongitudinalAccelerationValue_unavailable_, confidence := LibItsCommon_ASN1_NamedNumbers.AccelerationConfidence_unavailable_ }, curvature := { curvatureValue := LibItsCommon_ASN1_NamedNumbers.CurvatureValue_straight_, Loading @@ -612,7 +677,8 @@ module LibItsCam_Templates { } }, lowFrequencyContainer := omit, specialVehicleContainer := omit specialVehicleContainer := omit, extensionContainers := omit } } }; // End of template m_camMsg_vehicle_HF_BV Loading @@ -624,9 +690,9 @@ module LibItsCam_Templates { * @param p_referencePosition Position of the sending station */ template (value) CAM m_camMsg_vehicle( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) modifies m_camMsg_vehicle_HF_BV := { cam := { camParameters := { Loading @@ -642,9 +708,9 @@ module LibItsCam_Templates { }; template (value) CAM m_camMsg_publicTransport( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) modifies m_camMsg_vehicle := { cam := { camParameters := { Loading @@ -664,9 +730,9 @@ module LibItsCam_Templates { }; template (value) CAM m_camMsg_specialTransport( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) modifies m_camMsg_vehicle := { cam := { camParameters := { Loading @@ -684,7 +750,33 @@ module LibItsCam_Templates { } } }; } // end camAnyVehicle }// End of group camAnyVehicle group emergencyContainer { template (omit) EmergencyContainer m_emergencyContainer( in template (value) LightBarSirenInUse p_lightBarSirenInUse := '00'B, in template (omit) CauseCodeV2 p_incidentIndication := omit, in template (omit) EmergencyPriority p_emergencyPriority := omit ) := { lightBarSirenInUse := p_lightBarSirenInUse, incidentIndication := p_incidentIndication, emergencyPriority := p_emergencyPriority } // End of template m_emergencyContainer }// End of group emergencyContainer group specialTransportContainer { template (omit) SpecialTransportContainer m_specialTransportContainer( in template (value) SpecialTransportType p_specialTransportType := '0010'B, in template (omit) LightBarSirenInUse p_lightBarSirenInUse := '00'B ) := { specialTransportType := p_specialTransportType, lightBarSirenInUse := p_lightBarSirenInUse } // End of template m_specialTransportContainer }// End of group specialTransportContainer group camAccelerationControlTemplates { Loading Loading @@ -758,7 +850,7 @@ module LibItsCam_Templates { */ template AccelerationControl mw_speedLimiterActive_Off := '*0'B length(7); } // end group camAccelerationControlTemplates } // End of group camAccelerationControlTemplates group camExteriorLightsTemplates { Loading Loading @@ -845,7 +937,7 @@ module LibItsCam_Templates { */ template ExteriorLights mw_hazardConditionOn := '??11*'B length(8); } // end group exteriorLights } // End of group exteriorLights group camTemplateFunctions { Loading Loading @@ -873,6 +965,6 @@ module LibItsCam_Templates { return v_latitude; } } // end camTemplateFunctions }// End of group camTemplateFunctions } // end LibItsCam_Templates }// End of group LibItsCam_Templates lib/LibItsCam_TypesAndValues.ttcn +26 −10 Viewed Changes for lib/LibItsCam_TypesAndValues.ttcn: 26 added lines, 10 removed lines. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_TypesAndValues.ttcn $ * $Id: LibItsCam_TypesAndValues.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc Module containing types and values for CAM Protocol Loading @@ -16,26 +16,19 @@ module LibItsCam_TypesAndValues { import from LibCommon_DataStrings all; // LibIts import from ITS_Container language "ASN.1:1997" all; import from ETSI_ITS_CDD language "ASN.1:1997" all; import from CAM_PDU_Descriptions language "ASN.1:1997" all; // import from DENM_PDU_Descriptions language "ASN.1:1997" all; group camValues { const float c_lowFrequencyGenerationTime := 0.5; //500 ms const float c_specialVehicleGenerationTime := 0.5; //500 ms const float c_veryLowFrequencyGenerationTime := 10.0; //10 s const AccelerationControl c_accCtrlIdle := '0000000'B; const ExteriorLights c_elAllLightsOff := '00000000'B; const VehicleRole c_vehicleRole_publicTransport := publicTransport; const VehicleRole c_vehicleRole_specialTransport := specialTransport; const VehicleRole c_vehicleRole_dangerousGoods := dangerousGoods; const VehicleRole c_vehicleRole_roadWork := roadWork; const VehicleRole c_vehicleRole_rescue := rescue; const VehicleRole c_vehicleRole_emergency := emergency; const VehicleRole c_vehicleRole_safetyCar := safetyCar; const DangerousGoodsBasic c_dangerousGoodsBasic_explosives1 := explosives1; const DangerousGoodsBasic c_dangerousGoodsBasic_explosives2 := explosives2; Loading Loading @@ -64,6 +57,19 @@ module LibItsCam_TypesAndValues { const charstring PX_CERT_IUT_CAM_02 := "CERT_IUT_CAM_BO_02_AT"; const charstring PX_CERT_IUT_CAM_03 := "CERT_IUT_CAM_BO_03_AT"; const charstring PX_CERT_IUT_CAM_04 := "CERT_IUT_CAM_BO_04_AT"; const charstring PX_CERT_IUT_CAM_05 := "CERT_IUT_CAM_BO_05_AT"; const charstring PX_CERT_IUT_CAM_06 := "CERT_IUT_CAM_BO_06_AT"; const charstring PX_CERT_IUT_CAM_07 := "CERT_IUT_CAM_BO_07_AT"; const charstring PX_CERT_IUT_CAM_08 := "CERT_IUT_CAM_BO_08_AT"; const charstring PX_CERT_IUT_CAM_09 := "CERT_IUT_CAM_BO_09_AT"; const charstring PX_CERT_IUT_CAM_10 := "CERT_IUT_CAM_BO_10_AT"; const charstring PX_CERT_IUT_CAM_11 := "CERT_IUT_CAM_BO_11_AT"; const charstring PX_CERT_IUT_CAM_12 := "CERT_IUT_CAM_BO_12_AT"; const charstring PX_CERT_IUT_CAM_13 := "CERT_IUT_CAM_BO_13_AT"; const charstring PX_CERT_IUT_CAM_14 := "CERT_IUT_CAM_BO_14_AT"; const charstring PX_CERT_IUT_CAM_15 := "CERT_IUT_CAM_BO_15_AT"; const charstring PX_CERT_IUT_CAM_16 := "CERT_IUT_CAM_BO_16_AT"; } Loading Loading @@ -91,6 +97,7 @@ module LibItsCam_TypesAndValues { boolean utCamInitializeResult, boolean utCamTriggerResult, boolean utCamChangePositionResult, boolean utCamChangePseudonymResult, boolean utActivatePositionTimeResult, boolean utDeactivatePositionTimeResult } with { Loading @@ -108,6 +115,15 @@ module LibItsCam_TypesAndValues { variant "FIELDORDER(msb)" } /** * @desc Send template for Upper Tester event changePseudonym */ type record UtCamChangePseudonym { Oct8 hashedId8 } with { variant "FIELDORDER(msb)" } /** * @desc * @member changeCurvature Changes the curvature. Loading Loading
lib/LibItsCam_EncdecDeclarations.ttcn +3 Viewed Changes for lib/LibItsCam_EncdecDeclarations.ttcn: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ module LibItsCam_EncdecDeclarations { external function fx_enc_UtCamChangePosition (UtCamChangePosition p) return bitstring with {extension "prototype(convert) encode(UpperTester)"} external function fx_enc_UtCamChangePseudonym (UtCamChangePseudonym p) return bitstring with {extension "prototype(convert) encode(UpperTester)"} external function fx_enc_UtCamTrigger (UtCamTrigger p) return bitstring with {extension "prototype(convert) encode(UpperTester)"} Loading
lib/LibItsCam_Pics.ttcn +58 −16 Viewed Changes for lib/LibItsCam_Pics.ttcn: 58 added lines, 16 removed lines. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_Pics.ttcn $ * $Id: LibItsCam_Pics.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc CAM PICS Loading @@ -17,76 +17,118 @@ module LibItsCam_Pics { group camPics { /** * @desc Is the IUT RSU? * @desc Does the IUT support CAMv2? * @see ETSI TS 102 868-1 Table A.1 */ modulepar boolean PICS_RELEASE2 := true; /** * @desc Is the IUT RSU? * @see ETSI TS 102 868-1 Table A.2 */ modulepar boolean PICS_RSU := false; /** * @desc Is the IUT running in secured mode? * @see ETSI TS 102 868-1 Table A.1 * @see ETSI TS 102 868-1 Table A.7 */ modulepar boolean PICS_IS_IUT_SECURED := false; /** * @desc Is IUT a public transport vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_PUBLICTRANS := false; /** * @desc Is IUT a special transport vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_SPECIALTRANS := false; /** * @desc Is IUT a dangerous goods vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_DANGEROUSGOODS := false; /** * @desc Is IUT a road works vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_ROADWORKS := false; /** * @desc Is IUT a rescue vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_RESCUE := false; /** * @desc Is IUT an emergency vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_EMERGENCY := false; /** * @desc Is IUT a safety car vehicle * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_SAFETY_CAR := false; /** * @desc Does IUT support 'specialVehicleContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.2 * @see ETSI TS 102 868-1 Table A.4 */ modulepar boolean PICS_SPECIALVEHICLECONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/1 */ modulepar boolean PICS_EXTENSIONSCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/2 */ modulepar boolean PICS_GENERALIZEDLANEPOSITIONSCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/3 */ modulepar boolean PICS_PATHPREDICTIONCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/4 */ modulepar boolean PICS_TWOWHEELERCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/5 */ modulepar boolean PICS_EHORIZONLOCATIONSHARINGCONTAINER := true; /** * @desc Does IUT support 'extensionsContainer' in CamParameters? * @see ETSI TS 102 868-1 Table A.5/6 */ modulepar boolean PICS_VEHICLEMOVEMENTCONTROLCONTAINER := true; /** * @desc Maximum time interval between CAM generations (in seconds). * Default value, as per base standard: 1.0s * @see ETSI TS 102 868-1 Table A.5 * @see ETSI TS 102 868-1 Table A.8 */ modulepar float PICS_T_GENCAMMAX := 1.000; /** * @desc Minimum time interval between CAM generations (in seconds). * Default value, as per base standard: 0.1s * @see ETSI TS 102 868-1 Table A.5 * @see ETSI TS 102 868-1 Table A.8 */ modulepar float PICS_T_GENCAMMIN := 0.100; Loading @@ -95,19 +137,19 @@ module LibItsCam_Pics { * according to the requirements of the * Decentralized Congestion Control(DCC). * Default value, as per base standard: 0.1s * @see ETSI TS 102 868-1 Table A.5 * @see ETSI TS 102 868-1 Table A.8 */ modulepar float PICS_T_GENCAMDCC := 0.100; /** * @desc Support for CAM generation * @see ETSI TS 102 868-1 Table A.3 * @see ETSI TS 102 868-1 Table A.6 */ modulepar boolean PICS_CAM_GENERATION := true; /** * @desc Support for CAM reception * @see ETSI TS 102 868-1 Table A.3 * @see ETSI TS 102 868-1 Table A.6 */ modulepar boolean PICS_CAM_RECEPTION := true; Loading
lib/LibItsCam_Pixits.ttcn +11 −1 Viewed Changes for lib/LibItsCam_Pixits.ttcn: 11 added lines, 1 removed line. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_Pixits.ttcn $ * $Id: LibItsCam_Pixits.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc Module containing Pixits for CAM Loading @@ -18,4 +18,14 @@ module LibItsCam_Pixits { // LibItsSecurity import from LibItsSecurity_TypesAndValues all; /** * @desc Multiply timer value by this control factor to increase it */ modulepar float PX_INC_TIMER_CONTROL_FACTOR := 1.10; /** * @desc Multiply timer value by this control factor to decrease it */ modulepar float PX_DEC_TIMER_CONTROL_FACTOR := 0.9; } // End of module LibItsSecurity_Pixits No newline at end of file
lib/LibItsCam_Templates.ttcn +148 −56 Viewed Changes for lib/LibItsCam_Templates.ttcn: 148 added lines, 56 removed lines. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_Templates.ttcn $ * $Id: LibItsCam_Templates.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc Module containing base template definitions for CAM Loading @@ -15,10 +15,12 @@ module LibItsCam_Templates { import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; // LibHelpers import from LibHelpers_Functions all; // LibIts import from ITS_Container language "ASN.1:1997" all; import from ETSI_ITS_CDD language "ASN.1:1997" all; import from CAM_PDU_Descriptions language "ASN.1:1997" all; // import from DENM_PDU_Descriptions language "ASN.1:1997" all; // LibItsCommon import from LibItsCommon_Functions all; Loading @@ -35,7 +37,7 @@ module LibItsCam_Templates { * @param p_camMsg Expected CAM Message */ template CamInd mw_camInd ( in template (present) CAM p_camMsg template (present) CAM p_camMsg ) := { msgIn := p_camMsg, recvTime := ?, Loading @@ -60,7 +62,7 @@ module LibItsCam_Templates { * @param p_gnTrafficClass GN traffic class value */ template CamInd mw_camIndWithGnParameters ( in template (present) CAM p_camMsg, template (present) CAM p_camMsg, in template UInt8 p_gnNextHeader := *, in template UInt8 p_gnHeaderType := *, in template UInt8 p_gnHeaderSubtype := *, Loading @@ -75,7 +77,7 @@ module LibItsCam_Templates { }; /** * @desc Receive template for CA Message (DenmPort Primitive) * @desc Receive template for CA Message (CamPort Primitive) * @param p_caMsg The expected CA Message * @param p_ssp SSP security parameter * @param p_its_aid ITS-AID value Loading @@ -96,7 +98,7 @@ module LibItsCam_Templates { * @param p_btpInfo BTP destination port info value (if BTP-B) or BTP source port value (if BTP-A) */ template CamInd mw_camIndWithBtpParameters ( in template (present) CAM p_camMsg, template (present) CAM p_camMsg, in template UInt16 p_btpDestinationPort := *, in template UInt16 p_btpInfo := * ) modifies mw_camInd := { Loading Loading @@ -139,6 +141,13 @@ module LibItsCam_Templates { changeSpeed := p_changeSpeed } /** * @desc Request for changing pseudonym with the specified certificate. */ template (value) UtCamChangePseudonym m_utCamChangePseudonym(in Oct8 p_hashedId8) := { hashedId8 := p_hashedId8 } /** * @desc Set the acceleration control status * @param p_status The status to set Loading Loading @@ -187,6 +196,14 @@ module LibItsCam_Templates { setVehicleRole := p_vehicleRole } /** * @desc Set the station type * @param p_stationType The station type */ template (value) UtCamTrigger m_setStationType(StationType p_stationType) := { setStationType := p_stationType } /** * @desc Set the dangerous good description * @param p_dangerousGoods The dangerous good description Loading @@ -204,13 +221,13 @@ module LibItsCam_Templates { /** * @desc The test system reference position. */ template (value) ReferencePosition m_tsPosition := { template (value) ReferencePositionWithConfidence m_tsPosition := { latitude := f_integer2Latitude(f_getTsLatitude()), longitude := f_integer2Longitude(f_getTsLongitude()), positionConfidenceEllipse := { semiMajorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMinorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMajorOrientation := LibItsCommon_ASN1_NamedNumbers.HeadingValue_wgs84North_ semiMajorAxisLength := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMinorAxisLength := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_oneCentimeter_, semiMajorAxisOrientation := LibItsCommon_ASN1_NamedNumbers.HeadingValue_wgs84North_ }, altitude := { altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, Loading @@ -218,20 +235,7 @@ module LibItsCam_Templates { } } /** * @desc Reference position for given latitude and longitude. */ template (present) ReferencePosition mw_refPositionWithDelta( in ReferencePosition p_origRefPos, in integer p_jitter := 100 ) := { latitude := (p_origRefPos.latitude - p_jitter..p_origRefPos.latitude + p_jitter), longitude := (p_origRefPos.longitude - p_jitter..p_origRefPos.longitude + p_jitter), positionConfidenceEllipse := p_origRefPos.positionConfidenceEllipse, altitude := p_origRefPos.altitude } } // end positionTemplates }// End of group positionTemplates /** * @desc Default Receive template for CAM PDU Loading @@ -239,8 +243,8 @@ module LibItsCam_Templates { template (present) CAM mw_camMsg_any := { header := { protocolVersion := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_protocolVersion_currentVersion_, messageID := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_cam_, stationID := ? messageId := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageId_cam_, stationId := ? }, cam := { generationDeltaTime := ?, Loading @@ -257,7 +261,7 @@ module LibItsCam_Templates { * @param p_referencePosition The reference position */ template (present) CAM mw_camMsg_BC_refPos( in template(present) ReferencePosition p_referencePosition template(present) ReferencePositionWithConfidence p_referencePosition ) modifies mw_camMsg_any := { cam := { camParameters := { Loading @@ -267,12 +271,13 @@ module LibItsCam_Templates { }, highFrequencyContainer := ?, lowFrequencyContainer := *, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } } // end group camBasicContainer } // End of group camBasicContainer group camHighFrequencyContainer { Loading @@ -291,7 +296,8 @@ module LibItsCam_Templates { basicVehicleContainerHighFrequency := p_basicVehicleContainer }, lowFrequencyContainer := *, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } Loading Loading @@ -403,7 +409,7 @@ module LibItsCam_Templates { } } } // end group camHighFrequencyContainer } // End of group camHighFrequencyContainer group camLowFrequencyContainer { Loading @@ -417,7 +423,8 @@ module LibItsCam_Templates { basicContainer := ?, highFrequencyContainer := ?, lowFrequencyContainer := ?, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } Loading @@ -437,7 +444,8 @@ module LibItsCam_Templates { lowFrequencyContainer := { basicVehicleContainerLowFrequency := p_basicVehicleContainer }, specialVehicleContainer := * specialVehicleContainer := *, extensionContainers := * } } } Loading @@ -458,13 +466,13 @@ module LibItsCam_Templates { * @param p_extLights The exterior lights */ template(present) BasicVehicleContainerLowFrequency mw_LF_BV_extLights( in template (present) ExteriorLights p_extLights template (present) ExteriorLights p_extLights ) modifies mw_LF_BV_any := { exteriorLights := p_extLights } } // end group camLowFrequencyContainer } // End of group camLowFrequencyContainer group camSpecialVehicleContainer { Loading @@ -478,7 +486,8 @@ module LibItsCam_Templates { basicContainer := ?, highFrequencyContainer := ?, lowFrequencyContainer := *, specialVehicleContainer := ? specialVehicleContainer := ?, extensionContainers := * } } } Loading @@ -488,7 +497,7 @@ module LibItsCam_Templates { * @param p_specialVehicleContainer The expected specialVehicleContainer */ template (present) CAM mw_camMsg_SVC( in template (present) SpecialVehicleContainer p_specialVehicleContainer template (present) SpecialVehicleContainer p_specialVehicleContainer ) modifies mw_camMsg_SVC_any := { cam := { camParameters := { Loading @@ -497,6 +506,62 @@ module LibItsCam_Templates { } } template (present) CAM mw_camMsg_ext_two_wheelers_container_any( template (present) TwoWheelerContainer p_twoWheelerContainer := ? ) modifies mw_camMsg_SVC_any := { cam := { camParameters := { extensionContainers := { *, { containerId := twoWheelerContainer, containerData := { TwoWheelerContainer := p_twoWheelerContainer } }, * } } } } template (present) CAM mw_camMsg_ext_location_sharing_container_any( template (present) EHorizonLocationSharingContainer p_eHorizonLocationSharingContainer := ? ) modifies mw_camMsg_SVC_any := { cam := { camParameters := { extensionContainers := { *, { containerId := eHorizonLocationSharingContainer, containerData := { EHorizonLocationSharingContainer := p_eHorizonLocationSharingContainer } }, * } } } } template (present) CAM mw_camMsg_ext_low_frequency_container_any( template (present) VeryLowFrequencyContainer p_veryLowFrequencyContainer := ? ) modifies mw_camMsg_any := { cam := { camParameters := { basicContainer := ?, highFrequencyContainer := ?, extensionContainers := { *, { containerId := veryLowFrequencyContainer, containerData := { VeryLowFrequencyContainer := p_veryLowFrequencyContainer } }, * } } } } /** * @desc Receive template for specialVehicleContainer public transport */ Loading Loading @@ -557,14 +622,14 @@ module LibItsCam_Templates { * @param p_referencePosition Position of the sending station */ template (value) CAM m_camMsg_vehicle_HF_BV( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) := { header := { protocolVersion := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_protocolVersion_currentVersion_, messageID := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_cam_, stationID := p_stationId messageId := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageId_cam_, stationId := p_stationId }, cam := { generationDeltaTime := p_generationTime, Loading @@ -590,8 +655,8 @@ module LibItsCam_Templates { }, vehicleWidth := 21, longitudinalAcceleration := { longitudinalAccelerationValue := LibItsCommon_ASN1_NamedNumbers.LongitudinalAccelerationValue_unavailable_, longitudinalAccelerationConfidence := LibItsCommon_ASN1_NamedNumbers.AccelerationConfidence_unavailable_ value_ := LibItsCommon_ASN1_NamedNumbers.LongitudinalAccelerationValue_unavailable_, confidence := LibItsCommon_ASN1_NamedNumbers.AccelerationConfidence_unavailable_ }, curvature := { curvatureValue := LibItsCommon_ASN1_NamedNumbers.CurvatureValue_straight_, Loading @@ -612,7 +677,8 @@ module LibItsCam_Templates { } }, lowFrequencyContainer := omit, specialVehicleContainer := omit specialVehicleContainer := omit, extensionContainers := omit } } }; // End of template m_camMsg_vehicle_HF_BV Loading @@ -624,9 +690,9 @@ module LibItsCam_Templates { * @param p_referencePosition Position of the sending station */ template (value) CAM m_camMsg_vehicle( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) modifies m_camMsg_vehicle_HF_BV := { cam := { camParameters := { Loading @@ -642,9 +708,9 @@ module LibItsCam_Templates { }; template (value) CAM m_camMsg_publicTransport( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) modifies m_camMsg_vehicle := { cam := { camParameters := { Loading @@ -664,9 +730,9 @@ module LibItsCam_Templates { }; template (value) CAM m_camMsg_specialTransport( StationID p_stationId, StationId p_stationId, GenerationDeltaTime p_generationTime, template (value) ReferencePosition p_referencePosition template (value) ReferencePositionWithConfidence p_referencePosition ) modifies m_camMsg_vehicle := { cam := { camParameters := { Loading @@ -684,7 +750,33 @@ module LibItsCam_Templates { } } }; } // end camAnyVehicle }// End of group camAnyVehicle group emergencyContainer { template (omit) EmergencyContainer m_emergencyContainer( in template (value) LightBarSirenInUse p_lightBarSirenInUse := '00'B, in template (omit) CauseCodeV2 p_incidentIndication := omit, in template (omit) EmergencyPriority p_emergencyPriority := omit ) := { lightBarSirenInUse := p_lightBarSirenInUse, incidentIndication := p_incidentIndication, emergencyPriority := p_emergencyPriority } // End of template m_emergencyContainer }// End of group emergencyContainer group specialTransportContainer { template (omit) SpecialTransportContainer m_specialTransportContainer( in template (value) SpecialTransportType p_specialTransportType := '0010'B, in template (omit) LightBarSirenInUse p_lightBarSirenInUse := '00'B ) := { specialTransportType := p_specialTransportType, lightBarSirenInUse := p_lightBarSirenInUse } // End of template m_specialTransportContainer }// End of group specialTransportContainer group camAccelerationControlTemplates { Loading Loading @@ -758,7 +850,7 @@ module LibItsCam_Templates { */ template AccelerationControl mw_speedLimiterActive_Off := '*0'B length(7); } // end group camAccelerationControlTemplates } // End of group camAccelerationControlTemplates group camExteriorLightsTemplates { Loading Loading @@ -845,7 +937,7 @@ module LibItsCam_Templates { */ template ExteriorLights mw_hazardConditionOn := '??11*'B length(8); } // end group exteriorLights } // End of group exteriorLights group camTemplateFunctions { Loading Loading @@ -873,6 +965,6 @@ module LibItsCam_Templates { return v_latitude; } } // end camTemplateFunctions }// End of group camTemplateFunctions } // end LibItsCam_Templates }// End of group LibItsCam_Templates
lib/LibItsCam_TypesAndValues.ttcn +26 −10 Viewed Changes for lib/LibItsCam_TypesAndValues.ttcn: 26 added lines, 10 removed lines. Original line number Diff line number Diff line /** * @author ETSI / STF405 / STF449 / STF484 / STF517 * @author ETSI / STF405 / STF449 / STF484 / STF517 / TTF T036 * @version $Url: https://oldforge.etsi.org/svn/LibIts/tags/20170222_STF527_Final/ttcn/CAM/LibItsCam_TypesAndValues.ttcn $ * $Id: LibItsCam_TypesAndValues.ttcn 1318 2017-01-26 10:20:53Z filatov $ * @desc Module containing types and values for CAM Protocol Loading @@ -16,26 +16,19 @@ module LibItsCam_TypesAndValues { import from LibCommon_DataStrings all; // LibIts import from ITS_Container language "ASN.1:1997" all; import from ETSI_ITS_CDD language "ASN.1:1997" all; import from CAM_PDU_Descriptions language "ASN.1:1997" all; // import from DENM_PDU_Descriptions language "ASN.1:1997" all; group camValues { const float c_lowFrequencyGenerationTime := 0.5; //500 ms const float c_specialVehicleGenerationTime := 0.5; //500 ms const float c_veryLowFrequencyGenerationTime := 10.0; //10 s const AccelerationControl c_accCtrlIdle := '0000000'B; const ExteriorLights c_elAllLightsOff := '00000000'B; const VehicleRole c_vehicleRole_publicTransport := publicTransport; const VehicleRole c_vehicleRole_specialTransport := specialTransport; const VehicleRole c_vehicleRole_dangerousGoods := dangerousGoods; const VehicleRole c_vehicleRole_roadWork := roadWork; const VehicleRole c_vehicleRole_rescue := rescue; const VehicleRole c_vehicleRole_emergency := emergency; const VehicleRole c_vehicleRole_safetyCar := safetyCar; const DangerousGoodsBasic c_dangerousGoodsBasic_explosives1 := explosives1; const DangerousGoodsBasic c_dangerousGoodsBasic_explosives2 := explosives2; Loading Loading @@ -64,6 +57,19 @@ module LibItsCam_TypesAndValues { const charstring PX_CERT_IUT_CAM_02 := "CERT_IUT_CAM_BO_02_AT"; const charstring PX_CERT_IUT_CAM_03 := "CERT_IUT_CAM_BO_03_AT"; const charstring PX_CERT_IUT_CAM_04 := "CERT_IUT_CAM_BO_04_AT"; const charstring PX_CERT_IUT_CAM_05 := "CERT_IUT_CAM_BO_05_AT"; const charstring PX_CERT_IUT_CAM_06 := "CERT_IUT_CAM_BO_06_AT"; const charstring PX_CERT_IUT_CAM_07 := "CERT_IUT_CAM_BO_07_AT"; const charstring PX_CERT_IUT_CAM_08 := "CERT_IUT_CAM_BO_08_AT"; const charstring PX_CERT_IUT_CAM_09 := "CERT_IUT_CAM_BO_09_AT"; const charstring PX_CERT_IUT_CAM_10 := "CERT_IUT_CAM_BO_10_AT"; const charstring PX_CERT_IUT_CAM_11 := "CERT_IUT_CAM_BO_11_AT"; const charstring PX_CERT_IUT_CAM_12 := "CERT_IUT_CAM_BO_12_AT"; const charstring PX_CERT_IUT_CAM_13 := "CERT_IUT_CAM_BO_13_AT"; const charstring PX_CERT_IUT_CAM_14 := "CERT_IUT_CAM_BO_14_AT"; const charstring PX_CERT_IUT_CAM_15 := "CERT_IUT_CAM_BO_15_AT"; const charstring PX_CERT_IUT_CAM_16 := "CERT_IUT_CAM_BO_16_AT"; } Loading Loading @@ -91,6 +97,7 @@ module LibItsCam_TypesAndValues { boolean utCamInitializeResult, boolean utCamTriggerResult, boolean utCamChangePositionResult, boolean utCamChangePseudonymResult, boolean utActivatePositionTimeResult, boolean utDeactivatePositionTimeResult } with { Loading @@ -108,6 +115,15 @@ module LibItsCam_TypesAndValues { variant "FIELDORDER(msb)" } /** * @desc Send template for Upper Tester event changePseudonym */ type record UtCamChangePseudonym { Oct8 hashedId8 } with { variant "FIELDORDER(msb)" } /** * @desc * @member changeCurvature Changes the curvature. Loading