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

Control message (ASN.1 E2SM-DAPP-ControlMessage ::= SEQUENCE (top-level)). More...

#include <e2sm_dapp.hpp>

Classes

struct  ric_ctrl_msg_formats_c_
 Formats of the control message. More...

Public Member Functions

asn_code pack (std::vector< uint8_t > &out) const
asn_code unpack (const uint8_t *data, size_t len)
bool operator== (const e2sm_dapp_ctrl_msg_s &o) const

Public Attributes

bool ext = false
 ASN.1 extension marker; ignored by pack, false after unpack.
ric_ctrl_msg_formats_c_ ric_ctrl_msg_formats
 Format of the element, a CHOICE with one alternative per format.

Detailed Description

Control message (ASN.1 E2SM-DAPP-ControlMessage ::= SEQUENCE (top-level)).

Definition at line 769 of file e2sm_dapp.hpp.

Member Function Documentation

◆ operator==()

bool libe3::e2sm_dapp::e2sm_dapp_ctrl_msg_s::operator== ( const e2sm_dapp_ctrl_msg_s & o) const
inline
Parameters
ovalue to compare with
Returns
true when every field is equal

Definition at line 820 of file e2sm_dapp.hpp.

◆ pack()

asn_code libe3::e2sm_dapp::e2sm_dapp_ctrl_msg_s::pack ( std::vector< uint8_t > & out) const

Encode as APER.

Parameters
outreceives the bytes, left empty on failure
Returns
ASN_SUCCESS, or ASN_ERROR_ENCODE_FAIL when a value is outside its constraint

Definition at line 1058 of file e2sm_dapp.cpp.

◆ unpack()

asn_code libe3::e2sm_dapp::e2sm_dapp_ctrl_msg_s::unpack ( const uint8_t * data,
size_t len )

Decode APER bytes.

Parameters
databytes to decode
lennumber of bytes
Returns
ASN_SUCCESS, or ASN_ERROR_DECODE_FAIL when the bytes are not a valid encoding

Definition at line 1071 of file e2sm_dapp.cpp.

Member Data Documentation

◆ ext

bool libe3::e2sm_dapp::e2sm_dapp_ctrl_msg_s::ext = false

ASN.1 extension marker; ignored by pack, false after unpack.

Definition at line 806 of file e2sm_dapp.hpp.

◆ ric_ctrl_msg_formats

ric_ctrl_msg_formats_c_ libe3::e2sm_dapp::e2sm_dapp_ctrl_msg_s::ric_ctrl_msg_formats

Format of the element, a CHOICE with one alternative per format.

Definition at line 807 of file e2sm_dapp.hpp.


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