|
libe3 0.6.1
C++ library for E3AP RAN vendor integration
|
One inbound E3AP event, POD-flat for a clean SWIG crossing. More...
#include <e3_dapp_session.hpp>
Public Attributes | |
| int | kind {E3_EVENT_NONE} |
| one of E3EventKind | |
| uint32_t | dapp_id {0} |
| dApp identifier the message targets | |
| uint32_t | ran_function_id {0} |
| RAN function (indication / xApp control / subscription response). | |
| uint32_t | subscription_id {0} |
| subscription id (subscription response) | |
| uint32_t | request_id {0} |
| request/message id (subscription response / control response / xApp control); for a control response, the id send_control returned | |
| uint32_t | sequence_id {0} |
| loop correlation id (xApp control); echo it on the control you re-issue | |
| uint32_t | control_id {0} |
| control identifier (control response) | |
| bool | request_ack {false} |
| xApp control: the RAN wants a control response; answer it with send_control_response | |
| bool | has_outcome {false} |
| control response: payload is the Service Model's outcome | |
| int | response_code {-1} |
| 0=positive, 1=negative, -1=n/a | |
| int | disconnect_reason {-1} |
| disconnect: 0=released by RAN, 1=connection lost, -1=n/a | |
| std::vector< uint8_t > | payload |
| opaque E3SM bytes (indication / xApp control) | |
| long | periodicity {-1} |
| least microseconds the RAN keeps between two indications (subscription response), -1 = not reported | |
| int | cause {-1} |
| why a negative response (setup, subscription or control) was refused, a libe3::Cause value 0 to 14; -1 = none given | |
| std::string | detail |
| the RAN's text for the refusal; empty = none given | |
| bool | has_telemetry_granted {false} |
| telemetry_granted was reported | |
| bool | has_control_granted {false} |
| control_granted was reported | |
| std::vector< uint32_t > | telemetry_granted |
| granted telemetry ids | |
| std::vector< uint32_t > | control_granted |
| granted control ids | |
| uint64_t | trace_seq {0} |
| set when queued; keys the [latrec] LQ-stage records | |
One inbound E3AP event, POD-flat for a clean SWIG crossing.
payload carries the opaque E3SM bytes for indications (protocol_data) and xApp controls (xapp_control_data); it is empty for subscription/setup responses. Fields not relevant to a given kind are left zero, except where noted.
A subscription response also carries the grant: ran_function_id (0 = not reported), periodicity, and the id lists, valid only when their has_* flag is set.
A negative subscription response, setup response or message ack also carries why: cause (a libe3::Cause value, -1 when the RAN gave none, as Aerial does) and detail (the RAN's text, empty when there is none). A dApp reads them to decide what to do, for example to drop a control the RAN function does not offer and subscribe again.
Definition at line 86 of file e3_dapp_session.hpp.
| int libe3::py::E3Event::cause {-1} |
why a negative response (setup, subscription or control) was refused, a libe3::Cause value 0 to 14; -1 = none given
Definition at line 100 of file e3_dapp_session.hpp.
| std::vector<uint32_t> libe3::py::E3Event::control_granted |
granted control ids
Definition at line 105 of file e3_dapp_session.hpp.
| uint32_t libe3::py::E3Event::control_id {0} |
control identifier (control response)
Definition at line 93 of file e3_dapp_session.hpp.
| uint32_t libe3::py::E3Event::dapp_id {0} |
dApp identifier the message targets
Definition at line 88 of file e3_dapp_session.hpp.
| std::string libe3::py::E3Event::detail |
the RAN's text for the refusal; empty = none given
Definition at line 101 of file e3_dapp_session.hpp.
| int libe3::py::E3Event::disconnect_reason {-1} |
disconnect: 0=released by RAN, 1=connection lost, -1=n/a
Definition at line 97 of file e3_dapp_session.hpp.
| bool libe3::py::E3Event::has_control_granted {false} |
control_granted was reported
Definition at line 103 of file e3_dapp_session.hpp.
| bool libe3::py::E3Event::has_outcome {false} |
control response: payload is the Service Model's outcome
Definition at line 95 of file e3_dapp_session.hpp.
| bool libe3::py::E3Event::has_telemetry_granted {false} |
telemetry_granted was reported
Definition at line 102 of file e3_dapp_session.hpp.
| int libe3::py::E3Event::kind {E3_EVENT_NONE} |
one of E3EventKind
Definition at line 87 of file e3_dapp_session.hpp.
| std::vector<uint8_t> libe3::py::E3Event::payload |
opaque E3SM bytes (indication / xApp control)
Definition at line 98 of file e3_dapp_session.hpp.
| long libe3::py::E3Event::periodicity {-1} |
least microseconds the RAN keeps between two indications (subscription response), -1 = not reported
Definition at line 99 of file e3_dapp_session.hpp.
| uint32_t libe3::py::E3Event::ran_function_id {0} |
RAN function (indication / xApp control / subscription response).
Definition at line 89 of file e3_dapp_session.hpp.
| bool libe3::py::E3Event::request_ack {false} |
xApp control: the RAN wants a control response; answer it with send_control_response
Definition at line 94 of file e3_dapp_session.hpp.
| uint32_t libe3::py::E3Event::request_id {0} |
request/message id (subscription response / control response / xApp control); for a control response, the id send_control returned
Definition at line 91 of file e3_dapp_session.hpp.
| int libe3::py::E3Event::response_code {-1} |
0=positive, 1=negative, -1=n/a
Definition at line 96 of file e3_dapp_session.hpp.
| uint32_t libe3::py::E3Event::sequence_id {0} |
loop correlation id (xApp control); echo it on the control you re-issue
Definition at line 92 of file e3_dapp_session.hpp.
| uint32_t libe3::py::E3Event::subscription_id {0} |
subscription id (subscription response)
Definition at line 90 of file e3_dapp_session.hpp.
| std::vector<uint32_t> libe3::py::E3Event::telemetry_granted |
granted telemetry ids
Definition at line 104 of file e3_dapp_session.hpp.
| uint64_t libe3::py::E3Event::trace_seq {0} |
set when queued; keys the [latrec] LQ-stage records
Definition at line 106 of file e3_dapp_session.hpp.