Commit ed6b2735 authored by Yann Garcia's avatar Yann Garcia
Browse files

Implement TC_MRS_ITSS_MULTIPLE_MESSAGES_CAM_02

parent 20a3d2a1
Loading
Loading
Loading
Loading
+304 −60

File changed.

Preview size limit exceeded, changes collapsed.

+23 −3
Original line number Diff line number Diff line
@@ -346,7 +346,22 @@ module LibItsMbr_Templates {

    group beacon {
      
      template (present) AsrCam mw_asr_cam_report_beacom(
      template (value) AsrCam m_asr_cam_report_beacon(
                                                      in template (value) MbObsCamBeacon p_observations, 
                                                      in template (value) V2xPduStreamList p_v2xPduEvidence,
                                                      in template (value) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := {}
                                                      ) := {
        //observations       := { p_observations }, 
        observations       := { 
                                {  tgtId := c_CamTgt_BeaconCommon, 
                                  observations := { { mbObsCamBeacon := p_observations}  }
                                } // Record ObservationsByTarget
                              }, // Record of ObservationsByTargetSequence
        v2xPduEvidence     := p_v2xPduEvidence,
        nonV2xPduEvidence  := p_nonV2xPduEvidence
      } // End of template m_asr_cam_report_beacon

      template (present) AsrCam mw_asr_cam_report_beacon(
                                                         template (present) MbObsCamBeacon p_observations := ?, 
                                                         template (present) V2xPduStreamList p_v2xPduEvidence := ?,
                                                         template (present) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := ?
@@ -358,9 +373,14 @@ module LibItsMbr_Templates {
                              }, // Record of ObservationsByTargetSequence 
        v2xPduEvidence     := p_v2xPduEvidence,
        nonV2xPduEvidence  := p_nonV2xPduEvidence
      } // End of template mw_asr_cam_report_beacom
      } // End of template mw_asr_cam_report_beacon

      template (value) MbObsCamBeacon m_asr_cam_report_beacon_interval_too_small := {
        obsId  := c_ObsBeacon_IntervalTooSmall,
        obs    := { beacon_IntervalTooSmall := NULL }
      } // End of template m_asr_cam_report_beacon_interval_too_small

      template (value) MbObsCamBeacon mw_asr_cam_report_beacon_interval_too_small := {
      template (present) MbObsCamBeacon mw_asr_cam_report_beacon_interval_too_small := {
        obsId  := c_ObsBeacon_IntervalTooSmall,
        obs    := { beacon_IntervalTooSmall := NULL }
      } // End of template mw_asr_cam_report_beacon_interval_too_small
+2 −0
Original line number Diff line number Diff line
@@ -724,6 +724,8 @@ module LibItsMbr_Functions {
        v_cam.cam.camParameters.highFrequencyContainer.basicVehicleContainerHighFrequency.vehicleWidth := PX_MBR_VEHICLE_WIDTH_VALUE_THRESHOLD;
      } else if (p_alter_vehicle_role) {
        v_cam.cam.camParameters.lowFrequencyContainer.basicVehicleContainerLowFrequency.vehicleRole := PX_MBR_ALTER_VEHICLE_ROLE
      } else {
       log("f_prepare_inconsistent_cam_: No alteration, send regular CA message");
      }

      // Encode CAM payload