Read/write BLE GATT characteristic by the handle #3564
Unanswered
g1ntas
asked this question in
Component enhancements
Replies: 1 comment
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
ble_client
Link to component documentation on our website
https://esphome.io/components/sensor/ble_client/
Describe the enhancement
Currently the only way to identify GATT characteristic is by uuid, however, according to bluetooth spec:
Such behavior prevents from interacting with devices exposing such characteristics. Adding an option to identify characteristic by the handle would address it. While my use case requires only reading, it's likely a valid scenario for writing as well.
Use cases
One of such device is Apple TV gen3 remote, it has 8 different characteristics all with the same uuid, under the same service. I currently have python script which subscribes to notifications of the remote and forwards them to MQTT, but I would like to replace it with esphome, and currently that's the limitation preventing me from doing it.
Anything else?
Apple TV gen3 remote GATT characteristics returned by
bluetoothctl:Beta Was this translation helpful? Give feedback.
All reactions