From f53795edb6f646997be0d138d8003c852f4486b3 Mon Sep 17 00:00:00 2001 From: N0vaPixel Date: Fri, 3 Mar 2017 00:38:09 +0100 Subject: [PATCH] Implement hidden APs Now APscan is compatible with the new scanNetworks method + added bool hidden[] and bool getAPName(int num) to save and retrieve the "visibility" status of a network. + If the ssid of a given network is hidden, getAPName() will return "* Hidden SSID *" hidden[] will stay empty. + Added debug infos --- esp8266_deauther/APScan.cpp | 13 ++++++++++--- esp8266_deauther/APScan.h | 4 +++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/esp8266_deauther/APScan.cpp b/esp8266_deauther/APScan.cpp index 3475c3c..73684f5 100644 --- a/esp8266_deauther/APScan.cpp +++ b/esp8266_deauther/APScan.cpp @@ -7,11 +7,11 @@ APScan::APScan(){ bool APScan::start(){ if(debug){ Serial.println("starting AP scan..."); - Serial.println("MAC - Ch - RSSI - Encrypt. - SSID");// - Vendor"); + Serial.println("MAC - Ch - RSSI - Encrypt. - SSID - Hidden");// - Vendor"); } aps._clear(); for(int i=0;i