Scan with SimpleList

This commit is contained in:
Stefan Kremser
2018-04-01 12:34:04 +02:00
parent 123c19e640
commit b3090d0d6b
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#include "Scan.h"
Scan::Scan() {
list = new LinkedList<uint16_t>;
list = new SimpleList<uint16_t>;
}
void Scan::sniffer(uint8_t* buf, uint16_t len) {

View File

@@ -8,6 +8,7 @@
#include "SSIDs.h"
#include "Settings.h"
#include "language.h"
#include "SimpleList.h"
#define SCAN_MODE_OFF 0
#define SCAN_MODE_APS 1
@@ -69,7 +70,7 @@ class Scan {
uint16_t deauths = 0;
uint16_t packets = 0;
private:
LinkedList<uint16_t>* list; // packet list
SimpleList<uint16_t>* list; // packet list
uint32_t sniffTime = SCAN_DEFAULT_TIME; // how long the scan runs
uint32_t snifferStartTime = 0; // when the scan started