osd-contiki/examples/mb851/udp-ipv6-sleep
Salvatore Pitrulli 6655c876f2 Added functions and example for deep sleep on mb851.
The added function let a process to make the system go
into deep sleep for maximum power saving.
The udp-ipv6-example shows how to use these new functions.
2011-04-08 11:53:48 +00:00
..
Makefile Added functions and example for deep sleep on mb851. 2011-04-08 11:53:48 +00:00
README Added functions and example for deep sleep on mb851. 2011-04-08 11:53:48 +00:00
udp-client.c Added functions and example for deep sleep on mb851. 2011-04-08 11:53:48 +00:00
udp-server.c Added functions and example for deep sleep on mb851. 2011-04-08 11:53:48 +00:00

Thi 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.