Counting Bluetooth advertising scan windows
Posted: Wed Aug 01, 2018 4:20 pm
Hello,
I'm trying to figure out what bluetooth channel is used by the ESP32 for the current advertisement scan (37, 38 or 39).
I couldn't find any API method for it and I couldn't extract any valuable information from the gap callback parameters (esp_gap_ble_cb_event_t , esp_ble_gap_cb_param_t).
Since the esp32 changes the channels for scanning in round robin (as far as I could tell), I'm currently trying to count the scan windows.
Is there any solution for this?
I'm trying to figure out what bluetooth channel is used by the ESP32 for the current advertisement scan (37, 38 or 39).
I couldn't find any API method for it and I couldn't extract any valuable information from the gap callback parameters (esp_gap_ble_cb_event_t , esp_ble_gap_cb_param_t).
Since the esp32 changes the channels for scanning in round robin (as far as I could tell), I'm currently trying to count the scan windows.
Is there any solution for this?