2 #ifndef ENCODE_E2APV1_HPP
3 #define ENCODE_E2APV1_HPP
14 //#include "e2sim_sctp.hpp"
15 //#include "e2ap_message_handler.hpp"
16 #include "encode_kpm.hpp"
20 //#include "e2sim_defs.h"
26 void buildSubsReq(E2AP_PDU_t *pdu);
28 void generate_e2apv1_setup_request(E2AP_PDU_t *setup_req_pdu);
30 void generate_e2apv1_setup_response(E2AP_PDU_t *setup_resp_pdu);
32 void generate_e2apv1_subscription_request(E2AP_PDU_t *sub_req_pdu);
34 void generate_e2apv1_subscription_response(E2AP_PDU_t *sub_resp_pdu, E2AP_PDU_t *sub_req_pdu);
36 void generate_e2apv1_indication_request(E2AP_PDU_t *ind_req_pdu);
38 void generate_e2apv1_subscription_response_success(E2AP_PDU *e2ap_pdu, long reqActionIdsAccepted[], long reqActionIdsRejected[], int accept_size, int reject_size, long reqRequestorId, long reqInstanceId);
40 void generate_e2apv1_indication_request_parameterized(E2AP_PDU *e2ap_pdu, long requestorId, long instanceId, long ranFunctionId, long actionId, long seqNum, uint8_t *ind_header_buf, int header_length, uint8_t *ind_message_buf, int message_length);