Commit 8806668f authored by Yann Garcia's avatar Yann Garcia
Browse files

Validate IVIM & MAPEM ATS

parent f52dd161
...@@ -48,8 +48,8 @@ module LibItsCommon_ASN1_NamedNumbers { ...@@ -48,8 +48,8 @@ module LibItsCommon_ASN1_NamedNumbers {
const ItsPduHeader.messageID ItsPduHeader_messageID_denm_ := 1; const ItsPduHeader.messageID ItsPduHeader_messageID_denm_ := 1;
const ItsPduHeader.messageID ItsPduHeader_messageID_cam_ := 2; const ItsPduHeader.messageID ItsPduHeader_messageID_cam_ := 2;
const ItsPduHeader.messageID ItsPduHeader_messageID_poi_ := 3; const ItsPduHeader.messageID ItsPduHeader_messageID_poi_ := 3;
const ItsPduHeader.messageID ItsPduHeader_messageID_spatem_ := 4; const ItsPduHeader.messageID ItsPduHeader_messageID_mapem_ := 4;
const ItsPduHeader.messageID ItsPduHeader_messageID_mapem_ := 5; const ItsPduHeader.messageID ItsPduHeader_messageID_spatem_ := 5;
const ItsPduHeader.messageID ItsPduHeader_messageID_ivim_ := 6; const ItsPduHeader.messageID ItsPduHeader_messageID_ivim_ := 6;
const ItsPduHeader.messageID ItsPduHeader_messageID_ev_rsr_ := 7; const ItsPduHeader.messageID ItsPduHeader_messageID_ev_rsr_ := 7;
const ItsPduHeader.messageID ItsPduHeader_messageID_tistpgtransaction_ := 8; const ItsPduHeader.messageID ItsPduHeader_messageID_tistpgtransaction_ := 8;
......
...@@ -4,16 +4,16 @@ module LibItsMapemSpatem_EncdecDeclarations { ...@@ -4,16 +4,16 @@ module LibItsMapemSpatem_EncdecDeclarations {
import from MAPEM_PDU_Descriptions language "ASN.1:1997" all; import from MAPEM_PDU_Descriptions language "ASN.1:1997" all;
import from SPATEM_PDU_Descriptions language "ASN.1:1997" all; import from SPATEM_PDU_Descriptions language "ASN.1:1997" all;
external function fx_enc_MAPEM (MAPEM pdu) return octetstring external function fx_enc_MAPEM (MAPEM pdu) return bitstring
with {extension "prototype(convert) encode(BER:BER_ENCODE_CER)"} with {extension "prototype(convert) encode(PER)"}
external function fx_dec_MAPEM (octetstring stream) return MAPEM external function fx_dec_MAPEM (inout bitstring b, out MAPEM p) return integer
with {extension "prototype(convert) decode(BER:BER_ACCEPT_ALL)"} with {extension "prototype(sliding) decode(PER)"}
external function fx_enc_SPATEM (SPATEM pdu) return octetstring external function fx_enc_SPATEM (SPATEM pdu) return bitstring
with {extension "prototype(convert) encode(BER:BER_ENCODE_CER)"} with {extension "prototype(convert) encode(PER)"}
external function fx_dec_SPATEM (octetstring stream) return SPATEM external function fx_dec_SPATEM (inout bitstring b, out SPATEM p) return integer
with {extension "prototype(convert) decode(BER:BER_ACCEPT_ALL)"} with {extension "prototype(sliding) decode(PER)"}
} // End of module LibItsMapemSpatem_EncdecDeclarations } // End of module LibItsMapemSpatem_EncdecDeclarations
...@@ -208,11 +208,13 @@ module LibItsMapemSpatem_Functions { ...@@ -208,11 +208,13 @@ module LibItsMapemSpatem_Functions {
var UtSpatemEventInd v_spatemevent; var UtSpatemEventInd v_spatemevent;
[] utPort.receive(UtMapemEventInd:?) -> value v_mapemevent { [] utPort.receive(UtMapemEventInd:?) -> value v_mapemevent {
//store every upper tester indication received //store every upper tester indication received
log("*** " & testcasename() & ": INFO: Store UtMapemEventInd messge ***");
vc_utMapemEvents[lengthof(vc_utMapemEvents)] := v_mapemevent; vc_utMapemEvents[lengthof(vc_utMapemEvents)] := v_mapemevent;
repeat; repeat;
} }
[] utPort.receive(UtSpatemEventInd:?) -> value v_spatemevent { [] utPort.receive(UtSpatemEventInd:?) -> value v_spatemevent {
//store every upper tester indication received //store every upper tester indication received
log("*** " & testcasename() & ": INFO: Store UtSpatemEventInd messge ***");
vc_utSpatemEvents[lengthof(vc_utSpatemEvents)] := v_spatemevent; vc_utSpatemEvents[lengthof(vc_utSpatemEvents)] := v_spatemevent;
repeat; repeat;
} }
......
...@@ -400,9 +400,9 @@ module LibItsMapemSpatem_Templates { ...@@ -400,9 +400,9 @@ module LibItsMapemSpatem_Templates {
* @desc Receive template for MAPEM Message * @desc Receive template for MAPEM Message
*/ */
template (omit) MapData m_mapem( template (omit) MapData m_mapem(
in template (value) MsgCount p_msgIssueRevision, in template (value) MsgCount p_msgIssueRevision,
in template (omit) IntersectionGeometryList p_intersectionGeometryList := omit, in template (omit) IntersectionGeometryList p_intersectionGeometryList := omit,
in template (omit) RoadSegmentList p_roadSegments := omit in template (omit) RoadSegmentList p_roadSegments := omit
) modifies m_defaultMapem := { ) modifies m_defaultMapem := {
msgIssueRevision := p_msgIssueRevision, msgIssueRevision := p_msgIssueRevision,
intersections := p_intersectionGeometryList, intersections := p_intersectionGeometryList,
......
Supports Markdown
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