code sanitizations

This commit is contained in:
Klaus K Wilting 2018-07-22 12:11:13 +02:00
parent 6aed57474d
commit a4fd57a8aa
2 changed files with 2 additions and 7 deletions

View File

@ -6,6 +6,7 @@ https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner
// Basic Config
#include "globals.h"
#include "macsniff.h"
// Bluetooth specific includes
#include <esp_bt.h>
@ -19,9 +20,6 @@ https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner
// local Tag for logging
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) {
switch (type) {
case BLE_ADDR_TYPE_PUBLIC:

View File

@ -6,7 +6,6 @@
// Hash function for scrambling MAC addresses
#include "hash.h"
#include "led.h"
#define MAC_SNIFF_WIFI 0
@ -31,8 +30,6 @@ uint16_t reset_salt(void);
void wifi_sniffer_init(void);
void wifi_sniffer_set_channel(uint8_t channel);
void wifi_sniffer_packet_handler(void *buff, wifi_promiscuous_pkt_type_t type);
// function defined in rokkithash.cpp
uint32_t rokkit(const char *, int);
bool mac_add(uint8_t *paddr, int8_t rssi, bool sniff_type);
#endif