Commit 7f63cabb authored by garciay's avatar garciay
Browse files

UpperTester/CAM validation

parent c6f9f3d3
......@@ -4,6 +4,7 @@ module LibItsCam_EncdecDeclarations {
import from CAM_PDU_Descriptions language "ASN.1:1997" all;
// LibItsCam
import from LibItsCam_TypesAndValues all;
import from LibItsCam_TestSystem all;
external function fx_enc_CamReq (CamReq p) return bitstring
......@@ -23,5 +24,21 @@ module LibItsCam_EncdecDeclarations {
/*
external function fx_enc_CAM (CAM p) return octetstring
with {extension "prototype(convert) encode(BER:BER_ENCODE_CER)"}
*/
*/
external function fx_enc_UtCamInitialize (UtCamInitialize p) return bitstring
with {extension "prototype(convert) encode(UpperTester)"}
external function fx_enc_UtCamChangePosition (UtCamChangePosition p) return bitstring
with {extension "prototype(convert) encode(UpperTester)"}
external function fx_enc_UtCamTrigger (UtCamTrigger p) return bitstring
with {extension "prototype(convert) encode(UpperTester)"}
external function fx_dec_UtCamResults (inout bitstring b, out UtCamResults p) return integer
with {extension "prototype(sliding) decode(UpperTester)"}
external function fx_dec_UtCamEventInd (inout bitstring b, out UtCamEventInd p) return integer
with {extension "prototype(sliding) decode(UpperTester)"}
} // End of module LibItsCam_EncdecDeclarations
......@@ -164,7 +164,7 @@ module LibItsCam_TypesAndValues {
* @desc Upper Tester message to check event/status on CAM IUT
*/
type record UtCamEventInd {
CAM camMsg
CAM camMsg // TODO Rename into caMsg to be compliant with UtDenmEventInd
} with {
encode (camMsg) "LibItsCam_asn1"
}
......
module LibItsDenm_EncdecDeclarations {
// LibIts
import from LibItsDenm_TypesAndValues all;
// LibItsDenm
import from LibItsDenm_TestSystem all;
import from DENM_PDU_Descriptions language "ASN.1:1997" all;
......
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