From 6c25ae5c07db91944145a23cf861cdd688445131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Thu, 18 Jan 2018 22:29:37 +0100 Subject: [PATCH] Added wifi.ap command to go into AP mode --- code/espurna/wifi.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/espurna/wifi.ino b/code/espurna/wifi.ino index f6f13c6f..bd5773c2 100644 --- a/code/espurna/wifi.ino +++ b/code/espurna/wifi.ino @@ -285,6 +285,11 @@ void _wifiInitCommands() { DEBUG_MSG_P(PSTR("+OK\n")); }); + settingsRegisterCommand(F("WIFI.AP"), [](Embedis* e) { + createAP(); + DEBUG_MSG_P(PSTR("+OK\n")); + }); + settingsRegisterCommand(F("WIFI.SCAN"), [](Embedis* e) { _wifiScan(); DEBUG_MSG_P(PSTR("+OK\n"));