6655c876f2
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. |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
udp-client.c | ||
udp-server.c |
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.