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

UpperTester/CAM validation

parent c6f9f3d3
Loading
Loading
Loading
Loading
+18 −1
Original line number Diff line number Diff line
@@ -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
@@ -24,4 +25,20 @@ 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 
+1 −1
Original line number Diff line number Diff line
@@ -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"
      }
+3 −0
Original line number Diff line number Diff line
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;