From 01e81b35811eb6b0f7371eaa7630748f8facc683 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 15 Apr 2018 21:02:29 +0200 Subject: [PATCH] blescan.cpp: comment added --- src/blecsan.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/blecsan.cpp b/src/blecsan.cpp index d6277941..415ec045 100644 --- a/src/blecsan.cpp +++ b/src/blecsan.cpp @@ -11,7 +11,7 @@ https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner #include #include #include -#include +#include // needed for BLE_ADDR types, do not remove #include #define BT_BD_ADDR_HEX(addr) addr[0], addr[1], addr[2], addr[3], addr[4], addr[5] @@ -94,8 +94,7 @@ static void gap_callback_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_pa esp_ble_gap_cb_param_t *p = (esp_ble_gap_cb_param_t *)param; esp_err_t status; - ESP_LOGD(tag, "BT payload sniffed -> type: 0x%.2x -> %s", *p->scan_rst.ble_adv, btsig_gap_type(*p->scan_rst.ble_adv)); - + ESP_LOGD(tag, "BT payload rcvd -> type: 0x%.2x -> %s", *p->scan_rst.ble_adv, btsig_gap_type(*p->scan_rst.ble_adv)); switch (event) {