CoRE RD Endpoint and Lookup Client Configuration

Configuration options for CoRE RD endpoints and lookup clients. More...

Detailed Description

Configuration options for CoRE RD endpoints and lookup clients.

Files

file  config.h
 (Default) configuration values for CoRE RD endpoints and lookup clients
 

Macros

#define CORD_LT   (86400UL)
 Default lifetime in seconds (the default is 1 day)
 
#define CORD_STARTUP_DELAY   (3U)
 Delay until the RD client starts to try registering (in seconds)
 
#define CORD_UPDATE_INTERVAL   ((CORD_LT / 4) * 3)
 Default client update interval (default is 3/4 the lifetime)
 

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 CORD_ED macro.

#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.
 

Macro Definition Documentation

◆ CORD_EP_SUFFIX_LEN

#define CORD_EP_SUFFIX_LEN   (16)

Number of generated hexadecimal characters added to the ep.

Note
Must be an even number

Definition at line 69 of file config.h.