Contiki - 6TiSCH - RPL code HOWTO

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search

Files explanation

There are two things to consider for compiling the example available here: File:6TiSCH - RPL - UDP Transmitter and Receiver.tar.gz

lprintfsky app

This app contains simple output functions for the sky target (TelosB).

  • lprint: outputs the given string
  • lprinti: outputs the given integer (unsigned)

For it to work you need to copy the lprintsky folder into the apps folder of contiki.

Makefile

Without going to much into the details you might want to change 3 things:

  • CONTIKI variable that points to the ContikiOS root directory
  • TARGET (if none is specified the default target is sky)
  • WITH_TSCH_CONF (if none is specified the default is 1)