José Ignacio Alamos
||6 years ago|
|Makefile||6 years ago|
|README.md||6 years ago|
|main.c||6 years ago|
OpenThread on RIOT
This test demonstrates the OpenThread stack running on RIOT. When flashed, it will initialize the OpenThread Command Line Interface for interacting with the stack.
To test OpenThread on RIOT, you can do the following:
- Flash nodes with
make BOARD=<target> clean all flash
thread starton one node.
- Check the state of the node with
state. In the beggining should be
detached, but after some seconds it should become
thread starton another node. The second node should become
routerif there's a leader.
- Get the mesh IP address of a node with
ipaddr fdde:ad00:beef::ff:fe00:8000 fe80::ff:fe00:8000 fdde:ad00:beef:0:946a:c722:a5d9:8481 fe80::3984:f4eb:d182:5dae
Addresses starting with
fd are mesh-local, and addresses starting with
fe80 are link-local.
Mesh-local address types that contain
ff:fe00 are classified as Router Locator (RLOC). Mesh-local address types
that don't contain
ff:fe00 are Endpoint Identifies (EID).
6. Ping from another node to a mesh-local address with
7. You can try IEEE802.15.4 scan with
8. You can also check other commands with
See the OpenThread CLI Reference for more information about OpenThread CLI commands