1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/cord_ep
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
..
main.c sys/net/cord : Move 'CORD_LT' to 'CONFIG_' 2020-09-02 23:36:48 +05:30
Makefile sys/net/cord : Set 'CONFIG_CORD_LT' if not Kconfig 2020-09-02 23:36:48 +05:30
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md sys/net/app/cord and examples: Update references to -27 2021-03-01 11:59:57 +01: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-27.

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\""