DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
snmp_ber.h File Reference

Zero-heap ASN.1 BER encoder/decoder for the SNMP agent (DETWS_ENABLE_SNMP). More...

#include "ServerConfig.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Detailed Description

Zero-heap ASN.1 BER encoder/decoder for the SNMP agent (DETWS_ENABLE_SNMP).

A minimal, bounded TLV codec covering exactly the types SNMP uses: INTEGER, OCTET STRING, NULL, OBJECT IDENTIFIER, SEQUENCE, and the SNMP application types (Counter32/Gauge32/TimeTicks/IpAddress/Counter64) and PDU context tags. Encoder and decoder both operate over caller-provided fixed buffers - no heap. This is the shared base for SNMP v1/v2c and (later) v3; it is unit-tested on its own (env:native_snmp) since it needs no lwIP.

Definition in file snmp_ber.h.