Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

关于调用esp_wifi_set_ps(WIFI_PS_MAX_MODEM)时的功耗问题 #9

Open
bestkeen opened this issue Aug 21, 2020 · 3 comments
Open

Comments

@bestkeen
Copy link

使用本例程SDK,调用esp_wifi_set_ps(WIFI_PS_MAX_MODEM)时,平均功耗为多少?我这边设置了之后,变化不大;
麻烦解答一下,谢谢~

@yuanjianmin
Copy link

请问你使用的SDK版本是多少?使用的是32还是8266的?你调用esp_wifi_set_ps时,该函数的返回值打印出来是多少,是否设置成功?如果设置成功了,还是没有变化,你可以去对应的SDK GITHUB上提ISSUE.

@bestkeen
Copy link
Author

bestkeen commented Sep 1, 2020

使用的是ESP8266,看了相关文档已经解决了。不过还想确认一下,WIFI_PS_MAX_MODEM,这个是不是进入light_sleep状态,WIFI_PS_MIN_MODEM进入modem_sleep,目前没有找到相关说明资料

@yuanjianmin
Copy link

两个都是进入modem sleep.Call esp_wifi_set_ps(WIFI_PS_MIN_MODEM) to enable Modem-sleep minimum power save mode or esp_wifi_set_ps(WIFI_PS_MAX_MODEM) to enable Modem-sleep maximum power save mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants