Skip to content

read_gatt_char() doesn't wait for new data #1547

Answered by dlech
j-w-jones asked this question in Q&A
Discussion options

You must be logged in to vote

BLE is a stateless protocol. Reading a characteristic always returns the current value. If you want to know when a value changes, have a look at notifications instead - if this characteristics support it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by j-w-jones
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1543 on April 28, 2024 22:44.