I would like to read the battery level from a BLE server. How does one do this?
I modified the GATT_CLIENT example project to use the Battery Service UUID. When run it appears to WRITE the battery level (which fails). How to READ the battery level?
The file Gatt_Client_Example_Walkthrough.md has a function, esp_ble_gattc_get_characteristic(), which appears relevant. Except this function is not defined in the current (3.1) SDK.
Thanks
How does BLE GATT Client read characteristic (battery level) value?
Who is online
Users browsing this forum: Majestic-12 [Bot], Sang_Huynh and 123 guests