[][src]Module mynewt::encoding::coap_context

COAP encoder state used by CoAP encoding macros

Structs

CoapContext

CoAP encoder state. Buffers the next key and value to be encoded.

Enums

CoapError

Error codes for COAP encoding failure

Constants

_ARRAY

Array element of CoAP document

_MAP

Map element of CoAP document

_ROOT

Root of CoAP document

Statics

COAP_CONTEXT

Global instance that contains the current state of the CoAP encoder. Only 1 encoding task is supported at a time.

Traits

ToBytesOptionalNull

Convert the type to array of bytes that may or may not end with null