Writing to characteristic 3 levels deep #1478
Unanswered
Matthijsj20
asked this question in
Q&A
Replies: 1 comment 4 replies
-
This level is called a "descriptor" rather than a "characteristic" (the top level is a "service"). The Client Characteristic Configuration descriptor is special though and we use https://bleak.readthedocs.io/en/latest/api/client.html#bleak.BleakClient.start_notify |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
bluetoothctl -v
) in case of Linux: 5.66Description
I'm trying to use read the heart rate sensor of a wearable. The wearable has the following GATT structure.
As you can see the wearable contains a service called Heart Rate with a characteristic called Heart Rate Measurement. I succeeded in connecting to the wearable and reading values from the heart rate measurement characteristic. Nevertheless, i noticed the the wearable only starts actually measuring heart rate when "True" is send to the Client Characteristic Configuration. I don't know how to send a message to the Client Characteristic Configuration. As indicated by the red lines on the left side the configuration is one level lower (3 lines) then the Measurement. When i try to send a message to the UUID of the Configuration (2902) it says it's not found and also scanning on services and characteristics does not show the Configuration endpoint. With the NRF connect App i managed to send a message to the configuration thus confirming that the wearable is not the problem.
How do i go one level deeper so i can send TRUE to the Client Characteristic Configuration so the wearable actually starts measuring heart rate?
Beta Was this translation helpful? Give feedback.
All reactions