|
libe3 0.6.1
C++ library for E3AP RAN vendor integration
|
E2SM-DAPP APER codec: the C++ structs of e2sm_dapp.hpp <-> asn1c <-> bytes. More...
#include "libe3/e2sm_dapp.hpp"#include <cstdlib>#include <cstring>#include <utility>#include "DAppE3Subscription-Item.h"#include "DAppE3Subscription-List.h"#include "E2SM-DAPP-ActionDefinition-Format1.h"#include "E2SM-DAPP-ActionDefinition.h"#include "E2SM-DAPP-ControlHeader-Format1.h"#include "E2SM-DAPP-ControlHeader.h"#include "E2SM-DAPP-ControlMessage-Format1.h"#include "E2SM-DAPP-ControlMessage.h"#include "E2SM-DAPP-ControlOutcome-Format1.h"#include "E2SM-DAPP-ControlOutcome.h"#include "E2SM-DAPP-EventTrigger-Format1.h"#include "E2SM-DAPP-EventTrigger.h"#include "E2SM-DAPP-IndicationHeader-Format1.h"#include "E2SM-DAPP-IndicationHeader-Format2.h"#include "E2SM-DAPP-IndicationHeader.h"#include "E2SM-DAPP-IndicationMessage-Format1.h"#include "E2SM-DAPP-IndicationMessage-Format2.h"#include "E2SM-DAPP-IndicationMessage.h"#include "E2SM-DAPP-RANFunctionDefinition.h"#include "RANFunctionDefinition-Control-Item.h"#include "RANFunctionDefinition-Control.h"#include "RANFunctionDefinition-EventTrigger.h"#include "RANFunctionDefinition-Report-Item.h"#include "RANFunctionDefinition-Report.h"#include "RANfunction-Name.h"#include "aper_decoder.h"#include "asn_application.h"#include "constraints.h"Go to the source code of this file.
Namespaces | |
| namespace | libe3 |
| namespace | libe3::e2sm_dapp |
E2SM-DAPP APER codec: the C++ structs of e2sm_dapp.hpp <-> asn1c <-> bytes.
Encoding builds an asn1c struct from the C++ one, checks every constraint of the grammar by hand first (asn1c does not reject an out-of-range value cleanly, it can fault inside the encoder or silently use an extension encoding), runs asn_check_constraints as a second net, and encodes APER aligned into a growing std::vector. Decoding runs aper_decode, requires RC_OK, and converts back, applying the same constraints. The asn1c struct is freed on every path.
SPDX-FileCopyrightText: Copyright (c) 2026 Northeastern University SPDX-License-Identifier: Apache-2.0
Definition in file e2sm_dapp.cpp.