(Default) configuration values for CoRE RD endpoints and lookup clients More...

Detailed Description

(Default) configuration values for CoRE RD endpoints and lookup clients

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file config.h.

+ This graph shows which files directly or indirectly include this file:

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 CORD_EP_SUFFIX_LEN   (16)
 Number of generated hexadecimal characters added to the ep. More...
 
#define CORD_EP_PREFIX   "RIOT-"
 Default static prefix used for the generated ep.
 

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.