Skip to content
LibItsHttp_BinaryTemplates.ttcn 2.1 KiB
Newer Older
/**
 *    @author   ETSI / STF545
 *    @version  $URL$
 *              $ID:$
 *    @desc     This module provides the custom templates for ITS HTTP based protocols.
 *    @copyright   ETSI Copyright Notification
 *                 No part may be reproduced except as authorized by written permission.
 *                 The copyright and the foregoing restriction extend to reproduction in all media.
 *                 All rights reserved.
 */
module LibItsHttp_BinaryTemplates {
  
  // LibItsHttp
  import from LibItsHttp_BinaryMessageBodyTypes all;
    
  // TODO Add here your custom binary import 
  // LibIts
  import from IEEE1609dot2BaseTypes language "ASN.1:1997" all;
  import from IEEE1609dot2 language "ASN.1:1997" all;
  import from EtsiTs102941BaseTypes language "ASN.1:1997" all;
  import from EtsiTs102941TypesEnrolment language "ASN.1:1997" all;
  import from EtsiTs102941MessagesItss language "ASN.1:1997" all;
  import from EtsiTs103097Module language "ASN.1:1997" all;
  
  template (value) BinaryBody m_binary_body_raw(
                                                in template (value) octetstring p_raw
  ) := {
    raw := p_raw
  } // End of template m_binary_body_raw

  template (present) BinaryBody mw_binary_body_raw(
                                                   template (present) octetstring p_raw := ?
  ) := {
    raw := p_raw
  } // End of template mw_binary_body_raw
  
  // TODO Add here your custom binary template
  template (value) BinaryBody m_binary_body_ieee1609dot2_data(
                                                              in template (value) Ieee1609Dot2Data p_ieee1609dot2_data
    ieee1609dot2_data := p_ieee1609dot2_data
  } // End of template m_binary_body_ieee1609dot2_data
  template (present) BinaryBody mw_binary_body_ieee1609dot2_data(
                                                                 template (present) Ieee1609Dot2Data p_ieee1609dot2_data := ?
    ieee1609dot2_data := p_ieee1609dot2_data
  } // End of template mw_binary_body_ieee1609dot2_data
  
} // End of module LibItsHttp_BinaryTemplates