code sanitizations
This commit is contained in:
parent
6aed57474d
commit
a4fd57a8aa
@ -6,6 +6,7 @@ https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner
|
|||||||
|
|
||||||
// Basic Config
|
// Basic Config
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
|
#include "macsniff.h"
|
||||||
|
|
||||||
// Bluetooth specific includes
|
// Bluetooth specific includes
|
||||||
#include <esp_bt.h>
|
#include <esp_bt.h>
|
||||||
@ -19,9 +20,6 @@ https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner
|
|||||||
// local Tag for logging
|
// local Tag for logging
|
||||||
static const char TAG[] = "bluetooth";
|
static const char TAG[] = "bluetooth";
|
||||||
|
|
||||||
// defined in macsniff.cpp
|
|
||||||
bool mac_add(uint8_t *paddr, int8_t rssi, bool sniff_type);
|
|
||||||
|
|
||||||
const char *bt_addr_t_to_string(esp_ble_addr_type_t type) {
|
const char *bt_addr_t_to_string(esp_ble_addr_type_t type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case BLE_ADDR_TYPE_PUBLIC:
|
case BLE_ADDR_TYPE_PUBLIC:
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
// Hash function for scrambling MAC addresses
|
// Hash function for scrambling MAC addresses
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
|
|
||||||
#define MAC_SNIFF_WIFI 0
|
#define MAC_SNIFF_WIFI 0
|
||||||
@ -31,8 +30,6 @@ uint16_t reset_salt(void);
|
|||||||
void wifi_sniffer_init(void);
|
void wifi_sniffer_init(void);
|
||||||
void wifi_sniffer_set_channel(uint8_t channel);
|
void wifi_sniffer_set_channel(uint8_t channel);
|
||||||
void wifi_sniffer_packet_handler(void *buff, wifi_promiscuous_pkt_type_t type);
|
void wifi_sniffer_packet_handler(void *buff, wifi_promiscuous_pkt_type_t type);
|
||||||
|
bool mac_add(uint8_t *paddr, int8_t rssi, bool sniff_type);
|
||||||
// function defined in rokkithash.cpp
|
|
||||||
uint32_t rokkit(const char *, int);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in New Issue
Block a user