mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
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.
8 lines
373 B
Plaintext
8 lines
373 B
Plaintext
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.
|