X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2sim%2Fsrc%2Fencoding%2Fencode_e2apv1.hpp;h=3ad36a02defb19a3ea1a3c4f4eda452dc9582dcc;hb=f86662b5b6481f27e18313a36355871f3a947193;hp=b7747d4e8d9a5e09afb4935e94c5b184267e8a4a;hpb=a9733dbcc47e93a3b2843056f1d587196296c324;p=sim%2Fe2-interface.git diff --git a/e2sim/src/encoding/encode_e2apv1.hpp b/e2sim/src/encoding/encode_e2apv1.hpp index b7747d4..3ad36a0 100644 --- a/e2sim/src/encoding/encode_e2apv1.hpp +++ b/e2sim/src/encoding/encode_e2apv1.hpp @@ -2,6 +2,7 @@ /***************************************************************************** # * # Copyright 2020 AT&T Intellectual Property * +# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. * # * # Licensed under the Apache License, Version 2.0 (the "License"); * # you may not use this file except in compliance with the License. * @@ -27,7 +28,7 @@ extern "C" { #include "E2AP-PDU.h" #include "OCTET_STRING.h" - +#include "PrintableString.h" } namespace encoding { @@ -36,6 +37,7 @@ namespace encoding { long ranFunctionId; OCTET_STRING_t *ranFunctionDesc; long ranFunctionRev; + PrintableString_t *ranFunctionOId; }; long get_function_id_from_subscription(E2AP_PDU_t *e2ap_pdu); @@ -54,6 +56,9 @@ namespace encoding { 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); + void generate_e2apv1_service_update(E2AP_PDU_t *e2ap_pdu, std::vector all_funcs); + + void generate_e2apv2_config_update(E2AP_PDU_t *e2ap_edu); } #endif