You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was attempting to replace the core Bluetooth lib by NimBLE which looks excellent. My code is doing BLE scan and runs fine with Espressif's Bluetooth lib. But it cannot compile with NimBLE, as it implements BLEExtAdvertisingCallbacks.onResult(esp_ble_gap_ext_adv_report_t device) - see line 146 in https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/src/BLEAdvertisedDevice.h . Yet this method doesn't exist in NimBLEExtAdvertisingCallbacks, which exposes two other methods (onScanRequest and onStopped) that BLEExtAdvertisingCallbacks does not.
Am I missing something? Can anyone help?
The text was updated successfully, but these errors were encountered:
The extended advertising components of this library were developed separately from the core BLE library so this is not exactly backward compatible in that area. What I think you are looking for is shown in the example here:
Hi,
I was attempting to replace the core Bluetooth lib by NimBLE which looks excellent. My code is doing BLE scan and runs fine with Espressif's Bluetooth lib. But it cannot compile with NimBLE, as it implements
BLEExtAdvertisingCallbacks.onResult(esp_ble_gap_ext_adv_report_t device)
- see line 146 in https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/src/BLEAdvertisedDevice.h . Yet this method doesn't exist in NimBLEExtAdvertisingCallbacks, which exposes two other methods (onScanRequest and onStopped) that BLEExtAdvertisingCallbacks does not.Am I missing something? Can anyone help?
The text was updated successfully, but these errors were encountered: