Customize limits and capabilities of unicoap.
More...
Customize limits and capabilities of unicoap.
|
file | config.h |
| Compile-time configuration parameters.
|
|
◆ CONFIG_UNICOAP_DEBUG_LOGGING
#define CONFIG_UNICOAP_DEBUG_LOGGING 0 |
Enables debug logging in all unicoap
source files, except where locally overwritten.
Default: enabled
Definition at line 41 of file config.h.
◆ CONFIG_UNICOAP_EXTERNAL_TOKEN_LENGTH_MAX
#define CONFIG_UNICOAP_EXTERNAL_TOKEN_LENGTH_MAX (8) |
Maximum length of a token received from a client.
Default: 8 bytes
Definition at line 86 of file config.h.
◆ CONFIG_UNICOAP_GENERATED_TOKEN_LENGTH
#define CONFIG_UNICOAP_GENERATED_TOKEN_LENGTH (2) |
Length of tokens generated by the unicoap client API.
Default: 2 bytes
Definition at line 98 of file config.h.
◆ CONFIG_UNICOAP_OBSERVE_VALUE_WIDTH
#define CONFIG_UNICOAP_OBSERVE_VALUE_WIDTH (3) |
Width in bytes of the Observe option value for a notification.
Maximum allowed value: 3 bytes
Definition at line 141 of file config.h.
◆ CONFIG_UNICOAP_OPTIONS_BUFFER_DEFAULT_CAPACITY
#define CONFIG_UNICOAP_OPTIONS_BUFFER_DEFAULT_CAPACITY (32) |
◆ CONFIG_UNICOAP_OPTIONS_MAX
#define CONFIG_UNICOAP_OPTIONS_MAX (16) |
Maximum number of options that can be present in a request or response.
Default: 16 options
Definition at line 56 of file config.h.