Update blecsan.cpp
This commit is contained in:
parent
0fda206ee6
commit
1f36bf675f
@ -12,7 +12,6 @@ https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner
|
|||||||
#include <esp_bt_main.h>
|
#include <esp_bt_main.h>
|
||||||
#include <esp_gap_ble_api.h>
|
#include <esp_gap_ble_api.h>
|
||||||
#include <esp_blufi_api.h> // needed for BLE_ADDR types, do not remove
|
#include <esp_blufi_api.h> // needed for BLE_ADDR types, do not remove
|
||||||
#include <bt_types.h>
|
|
||||||
|
|
||||||
#define BT_BD_ADDR_HEX(addr) \
|
#define BT_BD_ADDR_HEX(addr) \
|
||||||
addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]
|
addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]
|
||||||
@ -277,4 +276,4 @@ void stop_BLEscan(void) {
|
|||||||
ESP_LOGI(TAG, "Bluetooth scanner stopped");
|
ESP_LOGI(TAG, "Bluetooth scanner stopped");
|
||||||
} // stop_BLEscan
|
} // stop_BLEscan
|
||||||
|
|
||||||
#endif // BLECOUNTER
|
#endif // BLECOUNTER
|
||||||
|
Loading…
Reference in New Issue
Block a user