You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think its bad, that the WiFi.setSleep requires a boolen which will put it into WIFI_PS_MIN_MODEM or WIFI_PS_NONE but never into WIFI_PS_MAX_MODEM...
So if you want to put your device into WIFI_PS_MAX_MODEM sleep you have to use the low_level funcitons.
Why not just use the wifi_ps_type_t as the argument of WiFi.setSleep?
Example: setSleep(wifi_ps_type_t mode)
Or at least give us the possibility to specify the wifi_ps_type_t with the second parameter if you don't want to break things.
Example: setSleep(bool enable, wifi_ps_type_t mode)
The text was updated successfully, but these errors were encountered:
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
I think its bad, that the WiFi.setSleep requires a boolen which will put it into
WIFI_PS_MIN_MODEM
orWIFI_PS_NONE
but never intoWIFI_PS_MAX_MODEM
...So if you want to put your device into WIFI_PS_MAX_MODEM sleep you have to use the low_level funcitons.
Why not just use the
wifi_ps_type_t
as the argument of WiFi.setSleep?Example:
setSleep(wifi_ps_type_t mode)
Or at least give us the possibility to specify the
wifi_ps_type_t
with the second parameter if you don't want to break things.Example:
setSleep(bool enable, wifi_ps_type_t mode)
The text was updated successfully, but these errors were encountered: