nes-proj/examples/hello-world
Niclas Finne 6b78522ebb Added a periodic timer to the hello-world example 2018-04-27 01:54:00 +02:00
..
Makefile Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
README.md Update hello-world README.md 2017-10-31 18:59:53 +01:00
hello-world.c Added a periodic timer to the hello-world example 2018-04-27 01:54:00 +02:00

README.md

A minimal Contiki-NG example, simple printing out "Hello, world". This example runs a full IPv6 stack with 6LoWPAN and RPL. It is possible, for example to ping such a node:

make TARGET=native && sudo ./hello-world.native

Look for the node's global IPv6, e.g.:

[INFO: Native    ] Added global IPv6 address fd00::302:304:506:708

And ping it (over the tun interface):

$ ping6 fd00::302:304:506:708
PING fd00::302:304:506:708(fd00::302:304:506:708) 56 data bytes
64 bytes from fd00::302:304:506:708: icmp_seq=1 ttl=64 time=0.289 ms