Description
Awesome work on this package.
I am working on implementing BLE for the first time in my project and I'm curious if there is suggested way to deal with "long" reads/writes.
BLE seems to support reads and writes up to 500, but I'm just curious what part o the app should be handling the combining of it into the packets.
If I do a longer read from an phone I notice that it calls onRead repeatedly until it reads the full thing. In some cases I end up updating the value it is reading before it is completely done.
My question for that, is it possible in the onRead callback to see if it is part of an ongoing call so I can make sure that it is not updated in the middle of reading.
Similarly for the onWrite, if I write a large packet from a phone, I just see a bunch of small parts of the whole packet written individually. I could figure out what to do if there was some way just to tell if it is the end of the packet or not.
I can figure out some custom solutions for these problems, but before I spend the time doing that, I was just curious if there are parts of the api I am missing, or if there are more things that need to be implemented before this package is complete.