Commit 3f93de08 authored by garciay's avatar garciay
Browse files

Change structure of BtpPayload

parent 91eba5bf
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -10,6 +10,14 @@ module LibItsBtp_TypesAndValues {
    // LibCommon
    import from LibCommon_BasicTypesAndValues all;
    
    // LibIts
    import from CAM_PDU_Descriptions language "ASN.1:1997" {
        type CamPdu
    };
    import from DENM_PDU_Descriptions language "ASN.1:1997" {
        type DenmPdu
    };
    
    group btpPdus {
     
        /**
@@ -80,7 +88,11 @@ module LibItsBtp_TypesAndValues {
         * @desc The payload of th BTP packet
         * @remark Change it to concrete union value if necessary
         */
        type octetstring BtpPayload;
        type union BtpPayload {
            CamPdu camPacket,
            DenmPdu denmPacket,
            octetstring otherPayload
        }
        
    } //end btpPayload