Commit 784a677e authored by Yann Garcia's avatar Yann Garcia
Browse files

Add missing codec functions for UEContextSuspendRequestTransfer

parent 3a839e5a
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -24,6 +24,16 @@ namespace LibNGAP__EncdecDeclarations {
    return -1;
  }

  BITSTRING fx__enc__UEContextSuspendRequestTransfer(const NGAP__IEs::UEContextSuspendRequestTransfer& p) {
    loggers::get_instance().log_msg(">>> fx__enc__UEContextSuspendRequestTransfer ", p);
    return int2bit(0, 1);
  }

  INTEGER fx__dec__UEContextSuspendRequestTransfer(BITSTRING& b, NGAP__IEs::UEContextSuspendRequestTransfer& p) {
    loggers::get_instance().log(">>> fx__dec__UEContextSuspendRequestTransfer");
    return -1;
  }

  BITSTRING fx__enc__PDUSessionResourceSetupResponseTransfer(const NGAP__IEs::PDUSessionResourceSetupResponseTransfer& p) {
    loggers::get_instance().log_msg(">>> fx__enc__PDUSessionResourceSetupResponseTransfer ", p);
    return int2bit(0, 1);
@@ -35,7 +45,7 @@ namespace LibNGAP__EncdecDeclarations {
  }

  BITSTRING fx__enc__PDUSessionResourceModifyIndicationTransfer(const NGAP__IEs::PDUSessionResourceModifyIndicationTransfer& p) {
    loggers::get_instance().log_msg(">>> fx__enc__PDUSessionResourceSetupRequestTransfer ", p);
    loggers::get_instance().log_msg(">>> fx__enc__PDUSessionResourceModifyIndicationTransfer ", p);
    return int2bit(0, 1);
  }

+6 −0
Original line number Diff line number Diff line
@@ -51,5 +51,11 @@ module LibNGAP_EncdecDeclarations {
    external function fx_enc_PDUSessionResourceModifyIndicationTransfer(NGAP_IEs.PDUSessionResourceModifyIndicationTransfer p) return bitstring
        with {extension "prototype(convert) encode(PER)"}

    external function fx_dec_UEContextSuspendRequestTransfer(inout bitstring pdu, out NGAP_IEs.UEContextSuspendRequestTransfer p) return integer
        with {extension "prototype(sliding) decode(PER)"}
        //with {extension "prototype(sliding) decode(LibNGAP_codec)"}

    external function fx_enc_UEContextSuspendRequestTransfer(NGAP_IEs.UEContextSuspendRequestTransfer p) return bitstring
        with {extension "prototype(convert) encode(PER)"}

} // End of module LibNGAP_EncdecDeclarations
 No newline at end of file