Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos Forum Discussions

inorman
Level 1
Level 1
First reply posted First question asked Welcome!

Hi we have a system running with the Murata 1MW  (CYW43455 chipset) running well on the wifi but as our application is mainly intended to run on battery power we're looking to save as much power as possible, so we've tried using the wiced api functions 

wwd_wifi_enable_powersave_with_throughput(2000)
& wwd_wifi_enable_powersave

but these just seem to go into power save modes keeping the connection alive. Is there an api function to actually go in to the sleep mode? 

Going into full radio off mode by switching of the I/O pin WL_REG_ON gives the required saving but when turning back on again we're unable to re-connect and scan again for access points. Is there guide how this should be used?

Thanks.

0 Likes
1 Solution
GauravS_31
Moderator
Moderator
Moderator
250 solutions authored 250 sign-ins First comment on KBA

You can call wiced_wlan_connectivity_deinit(). This will bring down WLAN interface and network interface and keep WL_REG_ON=0. When you want to bring up, you can call wiced_wlan_connectivity_init() and then connect to the AP.

View solution in original post

0 Likes
3 Replies
GauravS_31
Moderator
Moderator
Moderator
250 solutions authored 250 sign-ins First comment on KBA

Yes, the powersave mode is required when the Wi-Fi STA has to be kept associated to the AP. It is explained in the powersave app note available in this path doc/WICED-Powersave-App-Note.pdf in WICED SDK. Do you want to always keep the STA associated to the AP? Would it be okay if saving power would require disconnection to the AP and later reconnection?

0 Likes

Thanks for confirming the behaviour we were seeing.
As the time between needing the connection is in hours we're happy to disconnect from the AP and reconnect later, what's the best way to achieve this?

0 Likes
GauravS_31
Moderator
Moderator
Moderator
250 solutions authored 250 sign-ins First comment on KBA

You can call wiced_wlan_connectivity_deinit(). This will bring down WLAN interface and network interface and keep WL_REG_ON=0. When you want to bring up, you can call wiced_wlan_connectivity_init() and then connect to the AP.

0 Likes