cb2683e9ca28dc01cf405e026dced8b461671620
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / inc / resource_status_request_wrapper.h
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  * Copyright 2019 Nokia
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 /*
19  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
20  * platform project (RICP).
21  */
22
23
24
25 #include <stddef.h>
26 #include <stdbool.h>
27 #include <stdint.h>
28 #include <asn1codec_utils.h>
29
30 #ifndef INC_RESOURCE_STATUS_REQUEST_WRAPPER_H
31 #define INC_RESOURCE_STATUS_REQUEST_WRAPPER_H
32
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
37
38 bool
39 build_pack_resource_status_request(
40                 uint8_t const* pLMN_Identity,
41         uint8_t const* eUTRANCellIdentifier,
42                 Measurement_ID_t measurement_ID, Measurement_ID_t measurement_ID2,
43                 Registration_Request_t registration_Request /*Registration_Request_start,Registration_Request_stop,Registration_Request_partial_stop, Registration_Request_add*/,
44                 uint32_t reportCharacteristics,
45                 ReportingPeriodicity_t reportingPeriodicity /*ReportingPeriodicity_one_thousand_ms,     ReportingPeriodicity_two_thousand_ms, ReportingPeriodicity_five_thousand_ms,ReportingPeriodicity_ten_thousand_ms*/,
46                 PartialSuccessIndicator_t partialSuccessIndicator /*PartialSuccessIndicator_partial_success_allowed*/,
47                 ReportingPeriodicityRSRPMR_t reportingPeriodicityRSRPMR /*ReportingPeriodicityRSRPMR_one_hundred_20_ms, ReportingPeriodicityRSRPMR_two_hundred_40_ms, ReportingPeriodicityRSRPMR_four_hundred_80_ms,ReportingPeriodicityRSRPMR_six_hundred_40_ms*/,
48                 ReportingPeriodicityCSIR_t reportingPeriodicityCSIR /*  ReportingPeriodicityCSIR_ms5, ReportingPeriodicityCSIR_ms10,ReportingPeriodicityCSIR_ms20,ReportingPeriodicityCSIR_ms40,ReportingPeriodicityCSIR_ms80*/,
49                 size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf
50 );
51
52 bool
53 build_pack_resource_status_request_aux(
54                 uint8_t const* pLMN_Identity,
55         uint8_t const* eUTRANCellIdentifier,
56                 Measurement_ID_t measurement_ID, Measurement_ID_t measurement_ID2,
57                 Registration_Request_t registration_Request /*Registration_Request_start,Registration_Request_stop,Registration_Request_partial_stop, Registration_Request_add*/,
58                 uint32_t reportCharacteristics,
59                 ReportingPeriodicity_t reportingPeriodicity /*ReportingPeriodicity_one_thousand_ms,     ReportingPeriodicity_two_thousand_ms, ReportingPeriodicity_five_thousand_ms,ReportingPeriodicity_ten_thousand_ms*/,
60                 PartialSuccessIndicator_t partialSuccessIndicator /*PartialSuccessIndicator_partial_success_allowed*/,
61                 ReportingPeriodicityRSRPMR_t reportingPeriodicityRSRPMR /*ReportingPeriodicityRSRPMR_one_hundred_20_ms, ReportingPeriodicityRSRPMR_two_hundred_40_ms, ReportingPeriodicityRSRPMR_four_hundred_80_ms,ReportingPeriodicityRSRPMR_six_hundred_40_ms*/,
62                 ReportingPeriodicityCSIR_t reportingPeriodicityCSIR /*  ReportingPeriodicityCSIR_ms5, ReportingPeriodicityCSIR_ms10,ReportingPeriodicityCSIR_ms20,ReportingPeriodicityCSIR_ms40,ReportingPeriodicityCSIR_ms80*/,
63                 size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf,enum asn_transfer_syntax syntax
64 );
65
66 #ifdef __cplusplus
67 }
68 #endif
69
70 #endif /* INC_RESOURCE_STATUS_REQUEST_WRAPPER_H */
71