osd-contiki/examples/mbxxx/udp-ipv6-sleep
Gianfranco Costamagna 19a46266a5 Revert "Fixing sleep on stm32w108 cpu"
This reverts commit eac73ff68ce98e862def4bd671db03f7b9a3b438.
2013-12-02 11:37:53 +01:00
..
Makefile Fixed mbxxx platform 2013-07-11 17:56:17 +02:00
Makefile.target Fixed mbxxx platform 2013-07-11 17:56:17 +02:00
README.md Fixed mbxxx platform 2013-07-11 17:56:17 +02:00
udp-client.c Revert "Fixing sleep on stm32w108 cpu" 2013-12-02 11:37:53 +01:00
udp-server.c Fixed mbxxx platform 2013-07-11 17:56:17 +02:00

UDP-IPv6 Client and Server

This is an example based on the udp-ipv6 example. A client periodically sends UDP packets to a fixed server. The client will also go in a deep sleep state during wich all system peripherals are turned off to save as more energy as possible.

To avoid blocking the entire OS for too long time, the system periocally wakes up to let the OS poll processes and dispatch events.