mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
fix many bugs
This commit is contained in:
9
WiFi.ino
9
WiFi.ino
@@ -1,12 +1,5 @@
|
||||
void WIFI_init() {
|
||||
|
||||
// --------------------Получаем ssid password со страницы
|
||||
server.on("/wifi.scan.json", HTTP_GET, [](AsyncWebServerRequest * request) {
|
||||
String tmp;
|
||||
//tmp = scanWIFI();
|
||||
//Serial.println(tmp);
|
||||
request->send(200, "application/json", tmp); // отправляем ответ о выполнении
|
||||
});
|
||||
|
||||
// --------------------Получаем ssid password со страницы
|
||||
server.on("/ssid", HTTP_GET, [](AsyncWebServerRequest * request) {
|
||||
if (request->hasArg("ssid")) {
|
||||
|
||||
Reference in New Issue
Block a user