From f087908d6217fb37096a4ba5dc95398404d1e121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Tue, 1 Mar 2016 21:32:24 +0100 Subject: [PATCH] Disable SmartConfig by default --- app/include/user_config.h | 2 +- docs/en/modules/wifi.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/include/user_config.h b/app/include/user_config.h index 5e75da6c..c2eeb461 100644 --- a/app/include/user_config.h +++ b/app/include/user_config.h @@ -93,7 +93,7 @@ //#define WIFI_STA_HOSTNAME "NodeMCU" //#define WIFI_STA_HOSTNAME_APPEND_MAC -#define WIFI_SMART_ENABLE +//#define WIFI_SMART_ENABLE #define STRBUF_DEFAULT_INCREMENT 32 diff --git a/docs/en/modules/wifi.md b/docs/en/modules/wifi.md index 25b061b1..a218f2f8 100644 --- a/docs/en/modules/wifi.md +++ b/docs/en/modules/wifi.md @@ -155,6 +155,10 @@ Intended for use with SmartConfig apps, such as Espressif's [Android & iOS app]( 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 `wifi.startsmart(type, callback)`