2018-07-31 10:05:32 +02:00
|
|
|
#ifndef _WIFISCAN_H
|
|
|
|
#define _WIFISCAN_H
|
|
|
|
|
|
|
|
// ESP32 Functions
|
|
|
|
#include <esp_wifi.h>
|
|
|
|
|
|
|
|
// Hash function for scrambling MAC addresses
|
|
|
|
#include "hash.h"
|
|
|
|
|
|
|
|
void wifi_sniffer_init(void);
|
2019-11-11 12:28:31 +01:00
|
|
|
void switch_wifi_sniffer (uint8_t state);
|
2019-12-25 23:21:31 +01:00
|
|
|
void IRAM_ATTR wifi_sniffer_packet_handler(void *buff, wifi_promiscuous_pkt_type_t type);
|
2019-02-02 21:35:40 +01:00
|
|
|
void switchWifiChannel(TimerHandle_t xTimer);
|
2018-07-31 10:05:32 +02:00
|
|
|
|
|
|
|
#endif
|