在NodeMCU Custom Builder的构建中,wifi.suspend()不可用吗?

问题描述 投票:0回答:1

我打电话给wifi.suspend(0)时遇到了这个错误

The option "PMSLEEP_ENABLE" in "app/include/user_config.h" was disabled during FW build!
PANIC: unprotected error in call to Lua API (/opt/lua/myfile.lua:12: wifi.suspend is unavailable)

文件说,wifi.suspend()默认是关闭的。

这是否意味着如果我需要启用wifi.suspend(),我必须构建自己的固件?

是否可以通过Online Build Tool翻转旗帜?

lua nodemcu
1个回答
1
投票

这是否意味着如果我需要启用wifi.suspend(),我必须构建自己的固件?

是。

是否可以通过在线构建工具翻转标记?

没有。

© www.soinside.com 2019 - 2024. All rights reserved.