libe3 0.6.1
C++ library for E3AP RAN vendor integration
Loading...
Searching...
No Matches
e3_c_service_model_desc_t Struct Reference

Descriptor describing a ServiceModel implemented in C. More...

#include <c_api.h>

Public Attributes

const char * name
 Service Model name (null-terminated string).
uint32_t version
 Service Model version.
uint32_t ran_function_id
 RAN function ID for this SM.
const uint32_t * telemetry_ids
 Array of supported telemetry IDs (copied by library).
size_t telemetry_ids_len
 Number of telemetry IDs.
const uint32_t * control_ids
 Array of supported control IDs (copied by library).
size_t control_ids_len
 Number of control IDs.
const uint8_t * ran_function_data
 Opaque RAN function data (must be non-NULL).
size_t ran_function_data_len
 Length in bytes; must be 1..32768.
e3_sm_init_cb sm_init
 Called on SM registration.
e3_sm_destroy_cb sm_destroy
 Called on SM destruction.
e3_sm_start_cb sm_start
 Called when SM should start.
e3_sm_stop_cb sm_stop
 Called when SM should stop.
e3_sm_is_running_cb sm_is_running
 Called to query running state.
e3_sm_process_control_cb sm_process_control
 Called to process control actions.
void * sm_context
 Opaque pointer passed to all callbacks.

Detailed Description

Descriptor describing a ServiceModel implemented in C.

Definition at line 115 of file c_api.h.

Member Data Documentation

◆ control_ids

const uint32_t* e3_c_service_model_desc_t::control_ids

Array of supported control IDs (copied by library).

Definition at line 123 of file c_api.h.

◆ control_ids_len

size_t e3_c_service_model_desc_t::control_ids_len

Number of control IDs.

Definition at line 124 of file c_api.h.

◆ name

const char* e3_c_service_model_desc_t::name

Service Model name (null-terminated string).

Definition at line 116 of file c_api.h.

◆ ran_function_data

const uint8_t* e3_c_service_model_desc_t::ran_function_data

Opaque RAN function data (must be non-NULL).

Definition at line 130 of file c_api.h.

◆ ran_function_data_len

size_t e3_c_service_model_desc_t::ran_function_data_len

Length in bytes; must be 1..32768.

Definition at line 131 of file c_api.h.

◆ ran_function_id

uint32_t e3_c_service_model_desc_t::ran_function_id

RAN function ID for this SM.

Definition at line 118 of file c_api.h.

◆ sm_context

void* e3_c_service_model_desc_t::sm_context

Opaque pointer passed to all callbacks.

Definition at line 141 of file c_api.h.

◆ sm_destroy

e3_sm_destroy_cb e3_c_service_model_desc_t::sm_destroy

Called on SM destruction.

Definition at line 135 of file c_api.h.

◆ sm_init

e3_sm_init_cb e3_c_service_model_desc_t::sm_init

Called on SM registration.

Definition at line 134 of file c_api.h.

◆ sm_is_running

e3_sm_is_running_cb e3_c_service_model_desc_t::sm_is_running

Called to query running state.

Definition at line 138 of file c_api.h.

◆ sm_process_control

e3_sm_process_control_cb e3_c_service_model_desc_t::sm_process_control

Called to process control actions.

Definition at line 139 of file c_api.h.

◆ sm_start

e3_sm_start_cb e3_c_service_model_desc_t::sm_start

Called when SM should start.

Definition at line 136 of file c_api.h.

◆ sm_stop

e3_sm_stop_cb e3_c_service_model_desc_t::sm_stop

Called when SM should stop.

Definition at line 137 of file c_api.h.

◆ telemetry_ids

const uint32_t* e3_c_service_model_desc_t::telemetry_ids

Array of supported telemetry IDs (copied by library).

Definition at line 120 of file c_api.h.

◆ telemetry_ids_len

size_t e3_c_service_model_desc_t::telemetry_ids_len

Number of telemetry IDs.

Definition at line 121 of file c_api.h.

◆ version

uint32_t e3_c_service_model_desc_t::version

Service Model version.

Definition at line 117 of file c_api.h.


The documentation for this struct was generated from the following file: