Module option

Source
Expand description

Types related to interpreting and handling CoAP options.

Structs§

OptionIterator
A convenience iterator for parsing options from a byte buffer.
OptionKey
Typed option key, for type-safe access to CoAP options.
OptionNumber
Type representing a CoAP option number.

Enums§

OptionValueType
Type describing the type of an option’s value.

Constants§

ACCEPT
Typed key for Accept option.
BLOCK1
Typed key for Block1 option.
BLOCK2
Typed key for Block2 option.
CONTENT_FORMAT
Typed key for Content-Format option.
ETAG
Typed key for ETAG option.
IF_MATCH
Typed key for IF_MATCH option.
IF_NONE_MATCH
Typed key for IF_NONE_MATCH option.
LOCATION_PATH
Typed key for Location-Path option.
LOCATION_QUERY
Typed key for Location-Query option.
MAX_AGE
Typed key for Max-Age option.
MAX_OPTION_VALUE_SIZE
The maximum size of a CoAP option allowed by this library.
OBSERVE
Typed key for Observe option.
OSCORE
Typed key for OSCORE option.
PROXY_SCHEME
Typed key for Proxy-Scheme option.
PROXY_URI
Typed key for Proxy-URI option.
SIZE1
Typed key for Size1 option.
SIZE2
Typed key for Size2 option.
URI_HOST
Typed key for URI_HOST option.
URI_PATH
Typed key for URI-Path option.
URI_PORT
Typed key for URI-Port option.
URI_QUERY
Typed key for URI-Query option.

Traits§

OptionInsert
Trait for types that allow you to insert CoAP options into them.
OptionInsertExt
Extension class for additional helper methods for OptionInsertExt.
OptionIteratorExt
Extension trait for option iterators that provide additional convenient accessors.