Commit 4bec9668 authored by Yann Garcia's avatar Yann Garcia
Browse files

Add RTCMEM encoding

parent 4f86f098
......@@ -57,7 +57,7 @@ module LibItsCommon_ASN1_NamedNumbers {
const ItsPduHeader.messageID ItsPduHeader_messageID_ssem_ := 10;
const ItsPduHeader.messageID ItsPduHeader_messageID_evcsn_ := 11;
const ItsPduHeader.messageID ItsPduHeader_messageID_saem_ := 12;
const ItsPduHeader.messageID ItsPduHeader_messageID_rtcem_ := 13;
const ItsPduHeader.messageID ItsPduHeader_messageID_rtcmem_ := 13;
const LongitudinalAccelerationValue LongitudinalAccelerationValue_unavailable_ := 161;
......
module LibItsRtcmem_EncdecDeclarations {
// LibIts
import from RTCMEM_PDU_Descriptions language "ASN.1:1997" all;
// LibItsRtcmem
import from LibItsRtcmem_TypesAndValues all;
import from LibItsRtcmem_TestSystem all;
external function fx_enc_RtcmemReq (RtcmemReq p) return bitstring
with {extension "prototype(convert) encode(LibIts_Interface)"}
external function fx_dec_RtcmemReq (inout bitstring b, out RtcmemReq p) return integer
with {extension "prototype(sliding) decode(LibIts_Interface)"}
external function fx_dec_RtcmemInd (inout bitstring b, out RtcmemInd p) return integer
with {extension "prototype(sliding) decode(LibIts_Interface)"}
external function fx_enc_RTCMEM (RTCMEM p) return bitstring
with {extension "prototype(convert) encode(PER)"}
external function fx_dec_RTCMEM (inout bitstring b, out RTCMEM p) return integer
with {extension "prototype(sliding) decode(PER)"}
external function fx_enc_UtRtcmemInitialize (UtRtcmemInitialize p) return bitstring
with {extension "prototype(convert) encode(UpperTester)"}
external function fx_enc_UtRtcmemTrigger (UtRtcmemTrigger p) return bitstring
with {extension "prototype(convert) encode(UpperTester)"}
external function fx_enc_UtRtcmemUpdate (UtRtcmemUpdate p) return bitstring
with {extension "prototype(convert) encode(UpperTester)"}
external function fx_enc_UtRtcmemTermination (UtRtcmemTermination p) return bitstring
with {extension "prototype(convert) encode(UpperTester)"}
external function fx_dec_UtRtcmemResults (inout bitstring b, out UtRtcmemResults p) return integer
with {extension "prototype(sliding) decode(UpperTester)"}
external function fx_dec_UtRtcmemEventInd (inout bitstring b, out UtRtcmemEventInd p) return integer
with {extension "prototype(sliding) decode(UpperTester)"}
} // End of module LibItsRtcmem_EncdecDeclarations
......@@ -155,7 +155,7 @@ module LibItsRtcmem_Templates {
template (value) RTCMEM m_rtcmemPdu(
in template (value) RTCMcorrections p_rtcmc
) := {
header := m_itsPduHeader( - , - ,LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_rtcem_),
header := m_itsPduHeader( - , - ,LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_rtcmem_),
rtcmc := p_rtcmc
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment