ESP32-PaxCounter/include/wifiscan.h

17 lines
367 B
C
Raw Normal View History

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"
#define MAC_SNIFF_WIFI 0
#define MAC_SNIFF_BLE 1
void wifi_sniffer_init(void);
void IRAM_ATTR wifi_sniffer_packet_handler(void *buff, wifi_promiscuous_pkt_type_t type);
2018-09-27 14:01:23 +02:00
void switchWifiChannel(void * parameter);
2018-07-31 10:05:32 +02:00
#endif