Compile-time configuration parameters. More...
Compile-time configuration parameters.
Definition in file config.h.
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file: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. | |
Limits | |
| #define | CONFIG_UNICOAP_OPTIONS_MAX (16) |
| Maximum number of options that can be present in a request or response. | |
| #define | CONFIG_UNICOAP_OPTIONS_BUFFER_DEFAULT_CAPACITY (32) |
| Default buffer capacity unicoap chooses when you invoke UNICOAP_OPTIONS_ALLOC_DEFAULT. | |
| #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. | |
| #define | CONFIG_UNICOAP_GENERATED_TOKEN_LENGTH (2) |
| Length of tokens generated by the unicoap client API. | |
| #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] (https://tools.ietf.org/html/rfc7252#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. | |