- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Function processing in the functions of Wiced
Please tell me the sleep function.
What we want to realize is as follows.
------------------------------------
(1) The monitoring target flag is initially OFF.
(2) The function starts processing. Check the status of the monitoring target flag.
(3) Sleeps for 60 seconds if the monitoring target flag is not ON.
(4) After 60 seconds, check the monitoring target flag again.
(5) Repeat steps (2) ~ (4) until it is confirmed that the monitoring target flag is ON.
(6) If it is confirmed that the monitoring target flag is ON, the subsequent processing is performed.
------------------------------------
Thank you
Solved! Go to Solution.
- Labels:
-
WICED Studio
- Tags:
- sleep mode wifi
- wiced
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
wiced_rtos_delay_milliseconds() function can be used for sleep mode. You can check this in the ping_powersave app present in the directory : 43xxx_Wi-Fi/apps/snip/ping_powersave/ping_powersave.c.
Please define PLATFORM_MCU_POWERSAVE_MODE_INIT=PLATFORM_MCU_POWERSAVE_MODE_SLEEP in your application make file for the system to enter sleep state.
Thanks.