-
Notifications
You must be signed in to change notification settings - Fork 11
Hello, World!
A number of example applications for OSD-Contiki## are provided under examples in the root directory. In this tutorial, we will show how the hello-world example works. This classic programming example will just print "Hello, world" to the serial port periodically. Take a look at the hello-world.c file to see the source code. This example illustrates how processes are defined, and how to make sure that the operating system automatically starts a process after booting up. To find out how this example is implemented, see doc:programming.
OSD-Contiki can be compiled as a native Unix process. This is useful for instance to implement the RPL native Border Router, and in general for testing: the networking stack of native nodes is reachable through a tun interface they create.
To run hello-world
in native mode, type: