1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/examples/cord_ep
Marian Buschsieweke ba90ba2e2f
examples: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Decluttered Makefile by moving BOARD_INSUFFICIENT_MEMORY lists from Makefile
  to Makefile.ci
- Optimized the list for use of tools:
    - One entry per line reduces the number of merge conflicts
    - One entry per line allows alphabetical sorting e.g. via Vim's sort command
- Sorted all lists alphabetically
2019-10-15 09:55:07 +02:00
..
main.c examples: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Makefile examples: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci 2019-10-15 09:55:07 +02:00
Makefile.ci examples: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci 2019-10-15 09:55:07 +02:00
README.md examples/rdcli: rename to cord_ep 2018-10-17 15:21:49 +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 draft-ietf-core-resource-directory-15.

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 (CORD_LT) and the node's endpoint name (CORD_EP). You can change these values at compile time by overriding their defines using command line arguments:

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

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

CFLAGS += "-DCORD_EP=\"MyNewEpName\""