1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/cord_epsim
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_UPDATE_INTERVAL' to 'CONFIG_' 2020-09-02 23:36:48 +05:30
Makefile sys/net/app/cord and examples: Update references to -27 2021-03-01 11:59:57 +01:00
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: Simple Endpoint Example

This example shows how a node can register with a CoRE resource directory using the simple registration procedure as described in draft-ietf-core-resource-directory-27, section 5.1.

When running this example, you must define the RD server's IPv6 address statically, using the RD_ADDR environment variable:

RD_ADDR=\\\"[abc:0815::123]\\\" make all

Per default, this is set to some random global address ([affe::1]) for compile test reasons. So change it!

Additionally, you can change the RD server's port by specifying it like so:

RD_ADDR=\\\"[affe::bee]:12345\\\" make all

The registration lifetime is set for demonstration purposes to a rather short time of 60s in this example. You can easily override that value using the RD_LT variable:

RD_ADDR=\\\"[abc::def]\\\" RD_LT=3600 make all ...