1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 01:09:47 +01:00
RIOT/examples/cord_ep
2024-10-18 23:52:35 +02:00
..
main.c examples: make use of coap_request_ctx_t 2022-07-17 14:32:16 +02:00
Makefile examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Makefile.ci examples,tests: update Makefile.ci 2024-02-12 20:40:31 +01:00
README.md cord/doc: Update references to RFC 9176 2024-10-18 23:52:35 +02:00

CoRE Resource Directory: Endpoint Example

This example application demonstrates the usage of RIOT's Resource Directory (RD) endpoint module, called cord_ep. This module supports the registration, update, and removal procedures as defined in RFC 9176.

Usage

The examples includes a shell command that you can use to interact with a given RD, called cord_ep. Simply use that shell command without parameters for more information on its usage.

Some connection parameters are configured statically during compile time, namely the lifetime (CONFIG_CORD_LT) and the node's endpoint name (CONFIG_CORD_EP). You can change these values at compile time by overriding their defines using command line arguments:

CFLAGS="-DCONFIG_CORD_EP=\\\"your_ep_name_here\\\"" make all

or by setting their values in the application's Makefile:

CFLAGS += "-DCONFIG_CORD_EP=\"MyNewEpName\""