react-native-ble-manager icon indicating copy to clipboard operation
react-native-ble-manager copied to clipboard

Broken Offset when writing more then 20 bytes

Open lukabers opened this issue 10 years ago • 4 comments

Hello, while writing more then 20 bytes the plugin splits data correctly but it doesn't send the correct offset to the reader. Any solution?

Thanks

lukabers avatar Aug 22 '16 17:08 lukabers

Hi, can you explain better your problem?

marcosinigaglia avatar Aug 23 '16 18:08 marcosinigaglia

Hi, We are sending a message of 200 bytes to the reader. This last one, a bleno server, receives always offset:0 during the write request.

Thanks

lukabers avatar Aug 24 '16 08:08 lukabers

Hi, I'm not an expert on BLE but from what I read you have to handle manually the queue in the server to join the splitted message, there isn't the "stream" concept.

marcosinigaglia avatar Aug 24 '16 08:08 marcosinigaglia

Thanks! we managed this manually with the server!

lukabers avatar Sep 09 '16 12:09 lukabers