RIOT-OS and IEEE 802.15.4 / 6LoWPAN

From Embedded Lab Vienna for IoT & Security
Revision as of 15:42, 24 November 2023 by TBuchi (talk | contribs) (Created page with "== Summary == Information on how to use RIOT-OS with IEEE 802.15.4 and 6LoWPAN. == Requirements == In order to complete these steps, you must have followed Riot-OS_Setup before. == Configure IEEE 802.15.4 PAN/Channel ID== === Via RIOT Shell: === ifconfig 6 set pan_id 0xbeef ifconfig 6 set channel 23 === Set Channel/PAN ID via Makefile of your application, e.g.: === CFLAGS += -DCONFIG_IEEE802154_DEFAULT_CHANNEL=16 CFLAGS += -DCONFIG_IEEE802154_DEFAULT_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Information on how to use RIOT-OS with IEEE 802.15.4 and 6LoWPAN.

Requirements

In order to complete these steps, you must have followed Riot-OS_Setup before.

Configure IEEE 802.15.4 PAN/Channel ID

Via RIOT Shell:

ifconfig 6 set pan_id 0xbeef
ifconfig 6 set channel 23

Set Channel/PAN ID via Makefile of your application, e.g.:

CFLAGS += -DCONFIG_IEEE802154_DEFAULT_CHANNEL=16
CFLAGS += -DCONFIG_IEEE802154_DEFAULT_PANID=0xcafe

Or for RIOT in general:

/Path/to/RIOT/makefiles/default-radio-settings.inc.mk

OPTIONAL: change HW address via RIOT Shell:

ifconfig 6 set addr_long 02:0:0:0:0:0:0:2


Used Hardware

e.g. Atmel_SAM_R21_Xplained_Pro_Evaluation_Platform

Courses

TODO:

References