Loading ItsMbr_TestCases.ttcn +52 −52 Original line number Diff line number Diff line Loading @@ -593,8 +593,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -758,8 +758,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_03_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -923,8 +923,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_04_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); // The default CA does not support emergency CAM container Loading Loading @@ -1088,8 +1088,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_05_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); // The default CA does not support emergency CAM container Loading Loading @@ -1253,8 +1253,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_06_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); // The default CA does not support emergency CAM container Loading Loading @@ -1601,8 +1601,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_01_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -1766,8 +1766,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -1931,8 +1931,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_03_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2100,9 +2100,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_01_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2149,7 +2148,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2164,6 +2163,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_01_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2285,9 +2285,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2334,7 +2333,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2349,6 +2348,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_02_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2470,9 +2470,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_04_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2519,7 +2518,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2534,6 +2533,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_04_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2655,9 +2655,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_05_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading @@ -2684,7 +2683,7 @@ module ItsMbr_TestCases { mw_geoNwShbPacket ))) { log("*** " & testcasename() & ": INFO: CA message received ***"); f_sendUtMbrTrigger(c_CamTgt_BeaconCommon, c_ObsBeacon_ValueTooSmall); f_sendUtMbrTrigger(c_CamTgt_BeaconCommon, c_ObsBeacon_IntervalTooSmall); f_selfOrClientSyncAndVerdict(c_prDone, e_success); } [] tc_ac.timeout { Loading @@ -2700,7 +2699,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := v_inconsistantMessages }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2715,6 +2714,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_05_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2836,9 +2836,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_01_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2885,9 +2884,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -2900,6 +2899,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_01_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2951,7 +2951,7 @@ module ItsMbr_TestCases { v_etsiTs103759_data.report, mw_cam_specific_report( mw_asr_cam_report_static( mw_asr_cam_report_static_change_special_transport, mw_asr_cam_report_static_change_special_transport_type, { mw_v2x_pdu_stream( 1, Loading @@ -2962,7 +2962,7 @@ module ItsMbr_TestCases { }, {} )))); if (not(match(v_etsiTs103759_data.report, mw_cam_specific_report(mw_asr_cam_report_static(mw_asr_cam_report_static_change, { mw_v2x_pdu_stream(1, -, PX_REPEAT_INCONSISTENT_MESSAGE - 1, v_at_certificate) }, {}))))) { if (not(match(v_etsiTs103759_data.report, mw_cam_specific_report(mw_asr_cam_report_static(mw_asr_cam_report_static_change_special_transport_type, { mw_v2x_pdu_stream(1, -, PX_REPEAT_INCONSISTENT_MESSAGE - 1, v_at_certificate) }, {}))))) { log("*** " & testcasename() & ": FAIL: MR content mismatch ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } else { Loading Loading @@ -3021,9 +3021,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3070,9 +3069,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3085,6 +3084,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_02_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -3206,9 +3206,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_03_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3255,9 +3254,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3270,6 +3269,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_03_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -3391,9 +3391,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_04_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3440,9 +3439,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3455,6 +3454,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_04_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -3594,9 +3594,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_05_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3643,9 +3642,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3658,6 +3657,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_05_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading lib/LibItsMbr_Pixits.ttcn +9 −6 Original line number Diff line number Diff line module LibItsMbr_Pixits { // LibIts import from ETSI_ITS_CDD language "ASN.1:1997" all; /** * @desc Number of consistent messages to send to the IUT * @see ETSI TS 103 868-3 Table B.7 Loading @@ -22,7 +25,7 @@ module LibItsMbr_Pixits { * @desc requestTime (in second) between two inconsistent messages * @see ETSI TS 103 868-3 Table B.7 */ modulepar float PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT := 1.0 / 20; // 20 Hz modulepar float PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT := 0.05; // 20 Hz /** * @desc Speed threshold value for unknown(0), pedestrian(1), cyclist(2), moped(3), specialVehicles(10) and tram(11) Loading Loading @@ -55,16 +58,16 @@ module LibItsMbr_Pixits { modulepar integer PX_MBR_RSU_SPEED_THRESHOLD := 0; /** * @desc Altered StationTyoe * @desc Altered StationType * @see ASN.1 Type definition for MbObsCamStatic */ modulepar integer PX_MBR_ALTER_STATION_TYPE := 4; // motocycle /** * @desc Altered StationTyoe * @desc Altered StationRole * @see ASN.1 Type definition for MbObsCamStatic */ modulepar integer PX_MBR_ALTER_VEHICLE_ROLE := 8; // agriculture modulepar VehicleRole PX_MBR_ALTER_VEHICLE_ROLE := agriculture; // agriculture /** * @desc Vehicle length threshold value Loading @@ -73,7 +76,7 @@ module LibItsMbr_Pixits { modulepar integer PX_MBR_VEHICLE_LENGTH_VALUE_THRESHOLD := 1000; /** * @desc Vehicle lenght threshold value * @desc Vehicle width threshold value * @see ASN.1 Type definition for MbObsCamStatic */ modulepar integer PX_MBR_VEHICLE_WIDTH_VALUE_THRESHOLD := 1000; Loading lib/LibItsMbr_Templates.ttcn +45 −7 Original line number Diff line number Diff line Loading @@ -306,6 +306,44 @@ module LibItsMbr_Templates { } // End of group long_acc group position { template (value) AsrCam m_asr_cam_report_position( in template (value) MbObsCamPosition p_observations, in template (value) V2xPduStreamList p_v2xPduEvidence, in template (value) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := {} ) := { //observations := { p_observations }, observations := { { tgtId := c_CamTgt_PositionCommon, observations := { { mbObsCamPosition := p_observations} } } // Record ObservationsByTarget }, // Record of ObservationsByTargetSequence v2xPduEvidence := p_v2xPduEvidence, nonV2xPduEvidence := p_nonV2xPduEvidence } // End of template m_asr_cam_report_position template (present) AsrCam mw_asr_cam_report_position( template (present) MbObsCamPosition p_observations := ?, template (present) V2xPduStreamList p_v2xPduEvidence := ?, template (present) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := ? ) := { observations := { { tgtId := c_CamTgt_PositionCommon, observations := { { mbObsCamPosition := p_observations} } } // Record ObservationsByTarget }, // Record of ObservationsByTargetSequence v2xPduEvidence := p_v2xPduEvidence, nonV2xPduEvidence := p_nonV2xPduEvidence } // End of template mw_asr_cam_report_position template (value) MbObsCamPosition m_mb_obs_cam_position_change_too_large := { obsId := c_ObsPosition_ChangeTooLarge, obs := { position_ChangeTooLarge := NULL } } // End of template m_mb_obs_cam_position_change_too_large } // End of group position group beacon { template (present) AsrCam mw_asr_cam_report_beacom( Loading @@ -323,7 +361,7 @@ module LibItsMbr_Templates { } // End of template mw_asr_cam_report_beacom template (value) MbObsCamBeacon mw_asr_cam_report_beacon_interval_too_small := { obsId := c_Obs_Beacon_IntervalTooSmall, obsId := c_ObsBeacon_IntervalTooSmall, obs := { beacon_IntervalTooSmall := NULL } } // End of template mw_asr_cam_report_beacon_interval_too_small Loading @@ -346,32 +384,32 @@ module LibItsMbr_Templates { } // End of template mw_asr_cam_report_static template (value) MbObsCamStatic mw_asr_cam_report_static_change_performance_class := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00000'B } } // End of template mw_asr_cam_report_static_change_performance_class template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_width := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00001'B } } // End of template mw_asr_cam_report_static_change_vehicle_width template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_role := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00010'B } } // End of template mw_asr_cam_report_static_change_vehicle_role template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_length := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00100'B } } // End of template mw_asr_cam_report_static_change_vehicle_length template (value) MbObsCamStatic mw_asr_cam_report_static_change_station_type := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '01000'B } } // End of template mw_asr_cam_report_static_change_station_type template (value) MbObsCamStatic mw_asr_cam_report_static_change_special_transport_type := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '10000'B } } // End of template mw_asr_cam_report_static_change Loading lib_system/LibItsMbr_Functions.ttcn +3 −3 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
ItsMbr_TestCases.ttcn +52 −52 Original line number Diff line number Diff line Loading @@ -593,8 +593,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -758,8 +758,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_03_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -923,8 +923,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_04_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); // The default CA does not support emergency CAM container Loading Loading @@ -1088,8 +1088,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_05_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); // The default CA does not support emergency CAM container Loading Loading @@ -1253,8 +1253,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_SEC_MESSAGES_CLASS1_CAM_BV_06_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); // The default CA does not support emergency CAM container Loading Loading @@ -1601,8 +1601,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_01_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -1766,8 +1766,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -1931,8 +1931,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS1_CAM_BV_03_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var LongPosVector v_longPosVectorIut; var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2100,9 +2100,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_01_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2149,7 +2148,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2164,6 +2163,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_01_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2285,9 +2285,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2334,7 +2333,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2349,6 +2348,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_02_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2470,9 +2470,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_04_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2519,7 +2518,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2534,6 +2533,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_04_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2655,9 +2655,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_05_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading @@ -2684,7 +2683,7 @@ module ItsMbr_TestCases { mw_geoNwShbPacket ))) { log("*** " & testcasename() & ": INFO: CA message received ***"); f_sendUtMbrTrigger(c_CamTgt_BeaconCommon, c_ObsBeacon_ValueTooSmall); f_sendUtMbrTrigger(c_CamTgt_BeaconCommon, c_ObsBeacon_IntervalTooSmall); f_selfOrClientSyncAndVerdict(c_prDone, e_success); } [] tc_ac.timeout { Loading @@ -2700,7 +2699,7 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := v_inconsistantMessages }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement Loading @@ -2715,6 +2714,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_05_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2836,9 +2836,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_01_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -2885,9 +2884,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -2900,6 +2899,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_01_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -2951,7 +2951,7 @@ module ItsMbr_TestCases { v_etsiTs103759_data.report, mw_cam_specific_report( mw_asr_cam_report_static( mw_asr_cam_report_static_change_special_transport, mw_asr_cam_report_static_change_special_transport_type, { mw_v2x_pdu_stream( 1, Loading @@ -2962,7 +2962,7 @@ module ItsMbr_TestCases { }, {} )))); if (not(match(v_etsiTs103759_data.report, mw_cam_specific_report(mw_asr_cam_report_static(mw_asr_cam_report_static_change, { mw_v2x_pdu_stream(1, -, PX_REPEAT_INCONSISTENT_MESSAGE - 1, v_at_certificate) }, {}))))) { if (not(match(v_etsiTs103759_data.report, mw_cam_specific_report(mw_asr_cam_report_static(mw_asr_cam_report_static_change_special_transport_type, { mw_v2x_pdu_stream(1, -, PX_REPEAT_INCONSISTENT_MESSAGE - 1, v_at_certificate) }, {}))))) { log("*** " & testcasename() & ": FAIL: MR content mismatch ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); } else { Loading Loading @@ -3021,9 +3021,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_02_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3070,9 +3069,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3085,6 +3084,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_02_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -3206,9 +3206,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_03_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3255,9 +3254,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3270,6 +3269,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_03_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -3391,9 +3391,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_04_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3440,9 +3439,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3455,6 +3454,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_04_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading Loading @@ -3594,9 +3594,8 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_05_itss() runs on ItsMbrItss system ItsMbrItssSystem { // Local variables var GeoNetworkingPduList v_inconsistantMessages := {}; var LongPosVector v_longPosVectorIut; var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; // Test component configuration f_cfUp_itss(); Loading Loading @@ -3643,9 +3642,9 @@ module ItsMbr_TestCases { } // End of 'for' statement log("InfoPort: ", InfoPortData: { data := substr(v_inconsistantMessages, PX_REPEAT_CONSISTENT_MESSAGE, PX_REPEAT_INCONSISTENT_MESSAGE - 1) }); infoPort.send(InfoPortData: { data := v_inconsistantMessages }); for (var integer i := 0; i < lenghtof(v_inconsistantMessages); i := i + 1) { for (var integer i := 0; i < lengthof(v_inconsistantMessages); i := i + 1) { f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(v_inconsistantMessages[i]))); f_sleepIgnoreDef(PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT); f_sleepIgnoreDef(PX_REPEAT_CONSISTENT_MESSAGE_TIMEOUT); } // End of 'for' statement log("*** " & testcasename() & ": PASS: MR triggered ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_success); Loading @@ -3658,6 +3657,7 @@ module ItsMbr_TestCases { function f_TC_MRS_ITSS_MESSAGES_CLASS2_CAM_BV_10_05_ma() runs on ItsMbrHttp system ItsMbrItssSystem { // Local variable var InfoPortData v_info_port_data; var boolean v_start_awaiting := false; var HttpMessage v_request; // Test component configuration Loading
lib/LibItsMbr_Pixits.ttcn +9 −6 Original line number Diff line number Diff line module LibItsMbr_Pixits { // LibIts import from ETSI_ITS_CDD language "ASN.1:1997" all; /** * @desc Number of consistent messages to send to the IUT * @see ETSI TS 103 868-3 Table B.7 Loading @@ -22,7 +25,7 @@ module LibItsMbr_Pixits { * @desc requestTime (in second) between two inconsistent messages * @see ETSI TS 103 868-3 Table B.7 */ modulepar float PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT := 1.0 / 20; // 20 Hz modulepar float PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT := 0.05; // 20 Hz /** * @desc Speed threshold value for unknown(0), pedestrian(1), cyclist(2), moped(3), specialVehicles(10) and tram(11) Loading Loading @@ -55,16 +58,16 @@ module LibItsMbr_Pixits { modulepar integer PX_MBR_RSU_SPEED_THRESHOLD := 0; /** * @desc Altered StationTyoe * @desc Altered StationType * @see ASN.1 Type definition for MbObsCamStatic */ modulepar integer PX_MBR_ALTER_STATION_TYPE := 4; // motocycle /** * @desc Altered StationTyoe * @desc Altered StationRole * @see ASN.1 Type definition for MbObsCamStatic */ modulepar integer PX_MBR_ALTER_VEHICLE_ROLE := 8; // agriculture modulepar VehicleRole PX_MBR_ALTER_VEHICLE_ROLE := agriculture; // agriculture /** * @desc Vehicle length threshold value Loading @@ -73,7 +76,7 @@ module LibItsMbr_Pixits { modulepar integer PX_MBR_VEHICLE_LENGTH_VALUE_THRESHOLD := 1000; /** * @desc Vehicle lenght threshold value * @desc Vehicle width threshold value * @see ASN.1 Type definition for MbObsCamStatic */ modulepar integer PX_MBR_VEHICLE_WIDTH_VALUE_THRESHOLD := 1000; Loading
lib/LibItsMbr_Templates.ttcn +45 −7 Original line number Diff line number Diff line Loading @@ -306,6 +306,44 @@ module LibItsMbr_Templates { } // End of group long_acc group position { template (value) AsrCam m_asr_cam_report_position( in template (value) MbObsCamPosition p_observations, in template (value) V2xPduStreamList p_v2xPduEvidence, in template (value) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := {} ) := { //observations := { p_observations }, observations := { { tgtId := c_CamTgt_PositionCommon, observations := { { mbObsCamPosition := p_observations} } } // Record ObservationsByTarget }, // Record of ObservationsByTargetSequence v2xPduEvidence := p_v2xPduEvidence, nonV2xPduEvidence := p_nonV2xPduEvidence } // End of template m_asr_cam_report_position template (present) AsrCam mw_asr_cam_report_position( template (present) MbObsCamPosition p_observations := ?, template (present) V2xPduStreamList p_v2xPduEvidence := ?, template (present) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := ? ) := { observations := { { tgtId := c_CamTgt_PositionCommon, observations := { { mbObsCamPosition := p_observations} } } // Record ObservationsByTarget }, // Record of ObservationsByTargetSequence v2xPduEvidence := p_v2xPduEvidence, nonV2xPduEvidence := p_nonV2xPduEvidence } // End of template mw_asr_cam_report_position template (value) MbObsCamPosition m_mb_obs_cam_position_change_too_large := { obsId := c_ObsPosition_ChangeTooLarge, obs := { position_ChangeTooLarge := NULL } } // End of template m_mb_obs_cam_position_change_too_large } // End of group position group beacon { template (present) AsrCam mw_asr_cam_report_beacom( Loading @@ -323,7 +361,7 @@ module LibItsMbr_Templates { } // End of template mw_asr_cam_report_beacom template (value) MbObsCamBeacon mw_asr_cam_report_beacon_interval_too_small := { obsId := c_Obs_Beacon_IntervalTooSmall, obsId := c_ObsBeacon_IntervalTooSmall, obs := { beacon_IntervalTooSmall := NULL } } // End of template mw_asr_cam_report_beacon_interval_too_small Loading @@ -346,32 +384,32 @@ module LibItsMbr_Templates { } // End of template mw_asr_cam_report_static template (value) MbObsCamStatic mw_asr_cam_report_static_change_performance_class := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00000'B } } // End of template mw_asr_cam_report_static_change_performance_class template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_width := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00001'B } } // End of template mw_asr_cam_report_static_change_vehicle_width template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_role := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00010'B } } // End of template mw_asr_cam_report_static_change_vehicle_role template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_length := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '00100'B } } // End of template mw_asr_cam_report_static_change_vehicle_length template (value) MbObsCamStatic mw_asr_cam_report_static_change_station_type := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '01000'B } } // End of template mw_asr_cam_report_static_change_station_type template (value) MbObsCamStatic mw_asr_cam_report_static_change_special_transport_type := { obsId := c_Obs_Static_Change, obsId := c_ObsStatic_Change, obs := { static_Change := '10000'B } } // End of template mw_asr_cam_report_static_change Loading
lib_system/LibItsMbr_Functions.ttcn +3 −3 File changed.Preview size limit exceeded, changes collapsed. Show changes