2018-07-31 10:05:32 +02:00
|
|
|
#ifndef _WIFISCAN_H
|
|
|
|
#define _WIFISCAN_H
|
|
|
|
|
|
|
|
// ESP32 Functions
|
|
|
|
#include <esp_wifi.h>
|
2020-03-29 18:08:52 +02:00
|
|
|
#include <esp_coexist.h>
|
|
|
|
#include "coexist_internal.h"
|
2018-07-31 10:05:32 +02:00
|
|
|
|
2020-03-29 18:08:52 +02:00
|
|
|
#include "hash.h" // Hash function for scrambling MAC addresses
|
|
|
|
#include "antenna.h" // code for switching wifi antennas
|
|
|
|
#include "macsniff.h"
|
2018-07-31 10:05:32 +02:00
|
|
|
|
|
|
|
void wifi_sniffer_init(void);
|
2020-03-29 18:08:52 +02:00
|
|
|
void switch_wifi_sniffer(uint8_t state);
|
|
|
|
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
|