Skip to content

GATT characteristic long writes #136

Answered by ThomasGerstenberg
AndoniV asked this question in Q&A
Discussion options

You must be logged in to vote

Long read/writes are automatically handled within blatann. When reading from a characteristic, if the length of the data is equal to the MTU size it'll automatically perform a long read in order to check if there's more data on the characteristic. This is equivalent to how Android/iOS handle characteristic reads.

Same goes for long writes. If you write data larger than an MTU to a characteristic (given the characteristic is large enough), it'll automatically perform long writes

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndoniV
Comment options

Answer selected by AndoniV
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