2 of 2 people found this helpful
You can refer to powersave app note available in directory /43xxx_Wi-Fi/doc/WICED-Powersave-App-Note.pdf. Broadly speaking, there are two types of powersave: Wi-Fi 802.11 powersave and MCU powersave. You can refer to the app note for more information. As long as sufficient time delay is provided for HTTP response, it is okay to use the while loop.
1 of 1 people found this helpful
A better approach would be to use wiced_rtos_get_semaphore(&sem,WICED_WAIT_FOREVER); instead of delay and use wiced_rtos_set_semaphore(&sem); in the HTTP response callback function.