Commit 612f5a9b authored by Yann Garcia's avatar Yann Garcia
Browse files

Implement skeleton for VAMs transmision

parent 2b92e937
Loading
Loading
Loading
Loading
+651 −39

File changed.

Preview size limit exceeded, changes collapsed.

+25 −0
Original line number Diff line number Diff line
@@ -21,6 +21,11 @@ module ItsVru_TestControl {
      execute(TC_VBS_MSGF_BV_10());
      execute(TC_VBS_MSGF_BV_12());
      execute(TC_VBS_MSGF_BV_13());
      execute(TC_VBS_MSGF_BV_33());
      execute(TC_VBS_MSGF_BV_34());
      execute(TC_VBS_MSGF_BV_35());
      execute(TC_VBS_MSGF_BV_36());
      execute(TC_VBS_MSGF_BV_37());

      if (PICS_PROFILE_BICYCLIST or PICS_PROFILE_MOTORCYCLIST) {
        execute(TC_VBS_MSGF_BV_09());
@@ -41,6 +46,18 @@ module ItsVru_TestControl {
        execute(TC_VBS_MSGF_BV_18());
        execute(TC_VBS_MSGF_BV_19());
        execute(TC_VBS_MSGF_BV_20());
        execute(TC_VBS_MSGF_BV_21());
        execute(TC_VBS_MSGF_BV_22());
        execute(TC_VBS_MSGF_BV_23());
        execute(TC_VBS_MSGF_BV_24());
        execute(TC_VBS_MSGF_BV_25());
        execute(TC_VBS_MSGF_BV_26());
        execute(TC_VBS_MSGF_BV_27());
        execute(TC_VBS_MSGF_BV_28());
        execute(TC_VBS_MSGF_BV_29());
        execute(TC_VBS_MSGF_BV_30());
        execute(TC_VBS_MSGF_BV_31());
        execute(TC_VBS_MSGF_BV_32());
      }

      execute(TC_VBS_IFGN_BV_01());
@@ -54,6 +71,14 @@ module ItsVru_TestControl {

    }

    if (PICS_VAM_TRANSMISSION) {
      execute(TC_VBS_TRANS_BV_01());
      if (PICS_CLUSTERING) {
        execute(TC_VBS_TRANS_BV_02());
        execute(TC_VBS_TRANS_BV_03());
      }
      execute(TC_VBS_TRANS_BV_04());
    }
  }

} // End of module ItsVru_TestControl
 No newline at end of file
+419 −58

File changed.

Preview size limit exceeded, changes collapsed.

+6 −0
Original line number Diff line number Diff line
@@ -9,6 +9,12 @@ module LibItsVru_Pics {
    */
  modulepar boolean PICS_VAM_GENERATION := true;

  /**
    * @desc Support for VRU generation
    * @see  ETSI TS 104 019-1 Table A.1/1
    */
  modulepar boolean PICS_VAM_TRANSMISSION := true;

  /**
    * @desc Is the IUT vehicle profile Pedestrain?
    * @see  ETSI TS 104 019-1 Table A.3/1
+12 −0
Original line number Diff line number Diff line
@@ -123,6 +123,14 @@ module LibItsVru_Templates {
            setVruProfile := p_vru_profile
        }

        /**
         * @desc Set the VRU profile
         * @param p_leave_cluster_with_cause The cause of the leave cluster request
         */
        template (value) UtVamTrigger m_leaveClusterWithCause(in UInt8 p_leave_cluster_with_cause) := {
            leaveClusterWithCause := p_leave_cluster_with_cause
        }

    } // End of group utPrimitives

  } // End of group Primitives
@@ -161,8 +169,12 @@ module LibItsVru_Templates {
   * @desc    Default Receive template for VAM PDU
   */
  template (present) VAM mw_vamMsg(
                                   template (present) StationId p_stationId,
                                   template (present) VruAwareness p_vam := ?
                                   ) modifies mw_vamMsg_any := {
    header := {
      stationId       := p_stationId
    },
    vam := p_vam
  }

Loading