mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2026-08-03 01:11:49 -07:00
Updated scanNetworks to carry settings
This commit is contained in:
@@ -11,7 +11,7 @@ bool APScan::start(){
|
||||
}
|
||||
aps._clear();
|
||||
for(int i=0;i<maxAPScanResults;i++) selected[i] = false;
|
||||
results = WiFi.scanNetworks(false, true); // lets scanNetworks return hidden APs. (async = false & show_hidden = true)
|
||||
results = WiFi.scanNetworks(false, settings.apScanHidden); // lets scanNetworks return hidden APs. (async = false & show_hidden = true)
|
||||
|
||||
for(int i=0;i<results && i<maxAPScanResults;i++){
|
||||
Mac _ap;
|
||||
|
||||
@@ -6,10 +6,13 @@
|
||||
#include <ESP8266WiFi.h>
|
||||
#include "Mac.h"
|
||||
#include "MacList.h"
|
||||
#include "Settings.h"
|
||||
|
||||
extern String data_getVendor(uint8_t first,uint8_t second,uint8_t third);
|
||||
extern const bool debug;
|
||||
|
||||
extern Settings settings;
|
||||
|
||||
class APScan{
|
||||
public:
|
||||
APScan();
|
||||
|
||||
Reference in New Issue
Block a user