Skip to content

characteristic->setValue() if value is the same #365

Answered by h2zero
Frtrillo asked this question in Q&A
Discussion options

You must be logged in to vote

The call to setValue() will just set the value in ram and does not invoke the BLE stack. The same applies to getValue(). Only when the peer device issues a read command, or a value notification/indication is sent, will the BLE stack be involved.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Frtrillo
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