nes-proj/examples/6tisch/sixtop
Yasuyuki Tanaka c7d60bc8a6 sixtop: update to draft-ietf-6tisch-6top-protocol-10
- remove the schedule generation management using GEN field
- add SIGNAL command
- add RC_ERR_SEQNUM
- rename and reorder return codes
2018-03-29 16:19:21 +02:00
..
Makefile Do not build TSCH examples for cc13xx boards 2018-03-09 16:29:06 +00:00
node-sixtop.c TSCH: rework .h system, now following the same structure as rpl-lite 2018-03-28 10:39:41 -07:00
project-conf.h Removing obsolete flag RPL_NS_LINK_NUM 2018-02-24 15:27:40 -08:00
README.md
rpl-tsch-sixtop-cooja.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
sf-simple.c sixtop: update to draft-ietf-6tisch-6top-protocol-10 2018-03-29 16:19:21 +02:00
sf-simple.h

6top Example Description

A RPL+TSCH node will act as basic node by default, but can be configured at startup using the user button and following instructions from the log output. Every press of a button toggles the mode as 6ln, 6dr or 6dr-sec (detailled next). After 10s with no button press, the node starts in the last setting.

The modes are:

  • 6ln (default): 6lowpan node, will join a RPL+TSCH network and act as router.
  • 6dr: 6lowpan DAG Root, will start its own RPL+TSCH network. Note this is not a border router, i.e. it does not have a serial interface with connection to the Internet. For a border router, see ../border-router.
  • 6dr-sec: 6lowpan DAG Root, starting a RPL+TSCH network with link-layer security enabled. 6ln nodes are able to join both non-secured or secured networks.

6top Operation

If the mode is 6ln (node)

  • The application triggers a 6P Add Request to 6dr (neighbor)
  • Following this the application triggers another 6P Add Request to 6dr
  • After an interval, the application triggers a 6P Delete Request to 6dr

For the Cooja simulation, you may use the rpl-tsch-sixtop-cooja.csc file in this folder. Once you run the simulation, "Mote output" window of Cooja simulator displays the following messages.

For a 6P Add transaction, ID:1 TSCH-sixtop: Sixtop IE received ID:1 TSCH-sixtop: Send Link Response to node 2 ID:2 TSCH-sixtop: Sixtop IE received ID:2 TSCH-sixtop: Schedule link x as RX with node 2 ID:2 TSCH-sixtop: Schedule link x as TX with node 1

Similarly for a 6P Delete transaction.