You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
As most protocol messages send over Bluetooth LE will not fit in the 20 bytes suggested max size of sending data to peripheral. Might it be handy to implement the chunking / detchunking on framework level? Both for with and without reponse writes. I.e. if last packet is < 20 bytes (or 0 bytes if exactly matches) it is considered finished.
Writing this chunking / dechunking is done over and over by every developer. Might be handy to provide this function to your users.
The text was updated successfully, but these errors were encountered:
GerTeunis
changed the title
Convenience function for auto chunking write (and read?) of writeData in Peripheral
Convenience function for auto chunking / dechunking of data
Dec 24, 2020
Describe the solution you'd like
As most protocol messages send over Bluetooth LE will not fit in the 20 bytes suggested max size of sending data to peripheral. Might it be handy to implement the chunking / detchunking on framework level? Both for with and without reponse writes. I.e. if last packet is < 20 bytes (or 0 bytes if exactly matches) it is considered finished.
Writing this chunking / dechunking is done over and over by every developer. Might be handy to provide this function to your users.
The text was updated successfully, but these errors were encountered: