nkolban / esp32-snippets

Sample ESP32 snippets and code fragments
https://leanpub.com/kolban-ESP32
Apache License 2.0
2.37k stars 710 forks source link

[Feature Request] Please make BLECharacteristic::notify() return an error message #1188

Open sylque opened 8 months ago

sylque commented 8 months ago

I would be useful to have void BLECharacteristic::notify() returning an error message when ::esp_ble_gatts_send_indicate() fails.

Otherwise, there's no way for your program to react if the BLE link is flooded with notifications.