Compile-time configuration parameters. More...
Compile-time configuration parameters.
Definition in file config.h.
Go to the source code of this file.
Essentials | |
#define | CONFIG_UNICOAP_DEBUG_LOGGING 0 |
Enables debug logging in all unicoap source files, except where locally overwritten. More... | |
Limits | |
#define | CONFIG_UNICOAP_OPTIONS_MAX (16) |
Maximum number of options that can be present in a request or response. More... | |
#define | CONFIG_UNICOAP_OPTIONS_BUFFER_DEFAULT_CAPACITY (32) |
Default buffer capacity unicoap chooses when you invoke UNICOAP_OPTIONS_ALLOC_DEFAULT. More... | |
#define | UNICOAP_HEADER_SIZE_MAX (15) |
Size of buffer unicoap allocates for a CoAP message header, including token length. | |
#define | CONFIG_UNICOAP_EXTERNAL_TOKEN_LENGTH_MAX (8) |
Maximum length of a token received from a client. More... | |
#define | CONFIG_UNICOAP_GENERATED_TOKEN_LENGTH (2) |
Length of tokens generated by the unicoap client API. More... | |
#define | UNICOAP_ETAG_LENGTH_FIXED_WIDTH 4 |
Numbers of bits needed to represent a given ETag's length. | |
Timing | |
These parameters are defined as being configurable in RFC 7252, section 4.8.1. | |
#define | UNICOAP_NSTART (1) |
NSTART constant for multicast delay calculation | |
#define | UNICOAP_DEFAULT_LEISURE (5) |
DEFAULT_LEISURE constant for multicast delay calculation | |
Resource observation | |
#define | CONFIG_UNICOAP_OBSERVE_VALUE_WIDTH (3) |
Width in bytes of the Observe option value for a notification. More... | |
#define | UNICOAP_OBS_TICK_EXPONENT (0) |
See CONFIG_UNICOAP_OBSERVE_VALUE_WIDTH. | |