Module consts

Source
Expand description

Module defining various CoAP-related constants.

Constants§

ALL_COAP_DEVICES_HOSTNAME
A fake hostname representing the “all CoAP devices” multicast addresses, or the equivalent for a given network layer.
DEFAULT_PORT_COAP_DTLS
The standard default IP port number used for CoAP-over-DTLS.
DEFAULT_PORT_COAP_TCP
The standard default IP port number used for CoAP-over-TCP.
DEFAULT_PORT_COAP_TLS
The standard default IP port number used for CoAP-over-TLS.
DEFAULT_PORT_COAP_UDP
The standard default IP port number used for CoAP-over-UDP.
NO_RESPONSE_ANY
Value for OptionNumber::NO_RESPONSE when not interested in any response. From RFC7967.
NO_RESPONSE_CLIENT_ERROR
Value for OptionNumber::NO_RESPONSE when “Not interested in 4.xx responses”. From RFC7967.
NO_RESPONSE_ERROR
Value for OptionNumber::NO_RESPONSE when not interested in any error response. From RFC7967.
NO_RESPONSE_SERVER_ERROR
Value for OptionNumber::NO_RESPONSE when “Not interested in 5.xx responses”. From RFC7967.
NO_RESPONSE_SUCCESS
Value for OptionNumber::NO_RESPONSE when “Not interested in 2.xx responses”. From RFC7967.
OBSERVE_DEREGISTER
Value for OptionNumber::OBSERVE when deregistering an observer.
OBSERVE_REGISTER
Value for OptionNumber::OBSERVE when registering an observer.
URI_SCHEME_COAP
The standard URI scheme for vanilla CoAP-over-UDP on IP networks.
URI_SCHEME_COAPS
The standard URI scheme for CoAP-over-DTLS on IP networks.
URI_SCHEME_COAPS_TCP
The standard URI scheme for CoAP-over-TLS on IP networks.
URI_SCHEME_COAP_TCP
The standard URI scheme for CoAP-over-TCP on IP networks.
URI_SCHEME_LOOPBACK
Non-standard URI scheme for a loopback interface.
URI_SCHEME_NULL
Non-standard URI scheme for a null interface.