jlinear / DispatchApp

Off-the-grid communication app based on BlueNet.
MIT License
0 stars 0 forks source link

Able to read >20 bytes but incomplete data #3

Closed jlinear closed 6 years ago

jlinear commented 6 years ago

The read callback gives a set of repeating of the first 20 bytes, rather than the complete message. data length is wrong either.

jtsiva commented 6 years ago

You need to handle the offset on the GATT server side or negotiate the mtu. I've already handled it though the first method, but that needs testing once I finish with the blereader.

On Tue, Jun 5, 2018, 3:14 PM Jerry Yang notifications@github.com wrote:

The read callback gives a set of repeating of the first 20 bytes, rather than the complete message. data length is wrong either.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jlinear/DispatchApp/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AILTQKSI54anm9dLk8RXDq6wXochO_F6ks5t5tibgaJpZM4UbZjk .