}
free(IE_array);
+ free(initMsg);
ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, e2ap_pdu_obj);
mdclog_write(MDCLOG_DEBUG, "Freed E2AP Indication object memory");
}
mdclog_write(MDCLOG_INFO, "Successfully decoded: %s","RIC Indication Message");
}
- xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2ap_pdu_obj);
-
initMsg = e2ap_pdu_obj->choice.initiatingMessage;
//write the decoding code.
if (initMsg == 0){
}
}
+ // xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2ap_pdu_obj);
return true;
return false;
}
- xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2ap_pdu_obj);
-
retval = asn_encode_to_buffer(0, ATS_ALIGNED_BASIC_PER, &asn_DEF_E2AP_PDU, e2ap_pdu_obj, buf, *size);
if(retval.encoded == -1){
_error_string.assign(strerror(errno));
}
*size = retval.encoded;
+ xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2ap_pdu_obj);
+
return true;
}