mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
Disable SmartConfig by default
This commit is contained in:
parent
00cc4b42dc
commit
f087908d62
@ -93,7 +93,7 @@
|
|||||||
//#define WIFI_STA_HOSTNAME "NodeMCU"
|
//#define WIFI_STA_HOSTNAME "NodeMCU"
|
||||||
//#define WIFI_STA_HOSTNAME_APPEND_MAC
|
//#define WIFI_STA_HOSTNAME_APPEND_MAC
|
||||||
|
|
||||||
#define WIFI_SMART_ENABLE
|
//#define WIFI_SMART_ENABLE
|
||||||
|
|
||||||
#define STRBUF_DEFAULT_INCREMENT 32
|
#define STRBUF_DEFAULT_INCREMENT 32
|
||||||
|
|
||||||
|
@ -155,6 +155,10 @@ Intended for use with SmartConfig apps, such as Espressif's [Android & iOS app](
|
|||||||
|
|
||||||
Only usable in `wifi.STATION` mode.
|
Only usable in `wifi.STATION` mode.
|
||||||
|
|
||||||
|
!!! note "Note:"
|
||||||
|
|
||||||
|
SmartConfig is disabled by default and can be enabled by setting `WIFI_SMART_ENABLE` in [`user_config.h`](https://github.com/nodemcu/nodemcu-firmware/blob/dev/app/include/user_config.h#L96) before you build the firmware.
|
||||||
|
|
||||||
#### Syntax
|
#### Syntax
|
||||||
`wifi.startsmart(type, callback)`
|
`wifi.startsmart(type, callback)`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user