GATT characteristic long writes #136
-
Any idea how to perform long write/reads to a characteristic? I can see an object Any help would be very welcome! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
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