rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 1 | #ifndef _WRAPPER_H_ |
| 2 | #define _WRAPPER_H_ |
| 3 | |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 4 | #include "BOOLEAN.h" |
| 5 | #include "NativeReal.h" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 6 | #include "REAL.h" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 7 | #include "OCTET_STRING.h" |
| 8 | #include "E2SM-RC-ControlHeader-Format1.h" |
| 9 | #include "E2SM-RC-ControlHeader.h" |
| 10 | #include "E2SM-RC-ControlMessage-Format1.h" |
| 11 | #include "E2SM-RC-ControlMessage.h" |
| 12 | #include "E2SM-RC-RANFunctionDefinition.h" |
| 13 | #include "INTEGER.h" |
| 14 | #include "NativeInteger.h" |
| 15 | #include "OPEN_TYPE.h" |
| 16 | #include "PrintableString.h" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 17 | #include "RANParameter-ID.h" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 18 | #include "RANParameter-LIST.h" |
| 19 | #include "RANParameter-Name.h" |
| 20 | #include "RANParameter-STRUCTURE.h" |
| 21 | #include "RANParameter-Value.h" |
| 22 | #include "RANParameter-ValueType.h" |
| 23 | #include "RANfunction-Name.h" |
| 24 | #include "RIC-ControlAction-ID.h" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 25 | #include "RIC-ControlAction-Name.h" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 26 | #include "RIC-Format-Type.h" |
| 27 | #include "RIC-Style-Name.h" |
| 28 | #include "RIC-Style-Type.h" |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 29 | #include "RANParameter-ValueType-Choice-ElementFalse.h" |
| 30 | #include "RANParameter-ValueType-Choice-Structure.h" |
| 31 | #include "UEID.h" |
| 32 | #include "UEID-GNB.h" |
| 33 | #include "UEID-GNB-CU-F1AP-ID-List.h" |
| 34 | #include "UEID-GNB-CU-CP-E1AP-ID-List.h" |
| 35 | #include "UEID-GNB-CU-CP-F1AP-ID-Item.h" |
| 36 | #include "UEID-GNB-CU-CP-E1AP-ID-Item.h" |
| 37 | #include "E2SM-RC-ControlMessage-Format1-Item.h" |
| 38 | #include "RANParameter-STRUCTURE-Item.h" |
| 39 | #include "E2SM-RC-ControlOutcome.h" |
| 40 | #include "E2SM-RC-ControlOutcome-Format1.h" |
| 41 | #include "E2SM-RC-ControlOutcome-Format1-Item.h" |
| 42 | #include "NR-CGI.h" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 43 | |
| 44 | |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 45 | long F1AP_id[1]; |
| 46 | long E1AP_id[1]; |
| 47 | struct uEID { |
| 48 | long amf_UE_NGAP_Id; |
| 49 | //size_t amf_UE_NGAP_Id_size; |
| 50 | const char* pLMNIdentity; |
| 51 | size_t pLMNIdentity_size; |
| 52 | const char* aMFRegionID; |
| 53 | size_t aMFRegionID_size; |
| 54 | const char* aMFSetID; |
| 55 | size_t aMFSetID_size; |
| 56 | const char* aMFPointer; |
| 57 | size_t aMFPointer_size; |
| 58 | }; |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 59 | |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 60 | |
| 61 | extern ssize_t e2sm_encode_ric_control_header(void *buffer, size_t buf_size,struct uEID *in,long f1AP[],size_t f1AP_len,long e1AP[],size_t e1Ap_len,long ricControlStyleType, long ricControlActionID, void *ranParameterValue, size_t ranParameterValue_size); |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 62 | |
| 63 | extern ssize_t e2sm_encode_ric_control_message(void *buffer, size_t buf_size, long targetPrimaryCell, long targetCell, long nrOrEUtraCell, long nrCGIOrECGI, void *ranParameterValue, size_t ranParameterValue_size); |
| 64 | |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 65 | extern E2SM_RC_ControlOutcome_t* e2sm_decode_ric_call_process_outcome(void *buffer, size_t buf_size); |
| 66 | extern void e2sm_free_ric_call_process_outcome(E2SM_RC_ControlOutcome_t* controlOutcome) ; |
| 67 | extern ssize_t e2sm_encode_nrcgi(NR_CGI_t *nr_cgi, void* ranParameterValue, size_t ranParameterValue_size, |
| 68 | ulong lNRCellId,uint8_t* buffer, size_t buf_size); |
| 69 | |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 70 | #endif /* _WRAPPER_H_ */ |