(Default) configuration values for CoRE RD endpoints and lookup clients More...
(Default) configuration values for CoRE RD endpoints and lookup clients
Definition in file config.h.
Go to the source code of this file.
Macros | |
#define | CONFIG_CORD_LT (86400UL) |
Default lifetime in seconds (the default is 1 day) | |
#define | CONFIG_CORD_UPDATE_INTERVAL ((CONFIG_CORD_LT / 4) * 3) |
Default client update interval (default is 3/4 the lifetime) | |
#define | CORD_STARTUP_DELAY (3U) |
Delay until the RD client starts to try registering (in seconds) | |
#define | CONFIG_CORD_EXTRAARGS |
Extra query parameters added during registration. | |
Endpoint ID definition | |
Per default, the endpoint ID (ep) is generated by concatenation of a user defined prefix CORD_EP_PREFIX and a locally unique ID (luid) encoded in hexadecimal formatting with the given length of characters CORD_EP_SUFFIX_LEN. Alternatively, the endpoint ID value can be defined at compile time by assigning a string value to the CONFIG_CORD_EP macro. | |
#define | CONFIG_CORD_EP "MyNewEpName" |
Endpoint ID definition. | |
#define | CORD_EP_SUFFIX_LEN (16) |
Number of generated hexadecimal characters added to the ep. | |
#define | CORD_EP_PREFIX "RIOT-" |
Default static prefix used for the generated ep. | |