Sent message on Serial stream is received in fragments

userHead jeromegvillapando 2020-12-17 17:10:14 3672 Views3 Replies
Hello,

I am trying to send messages between the Bluno v2.0 and an Android tablet. I am sending simple Json strings from the Bluno to the tablet, however sometimes, the message is split into two BLE messages. Is there a reason why this is happening?

For example: Bluno sends -> "hello, world"

Tablet sees two messages:
'hello,wo"
"rld"
2021-01-22 22:41:04 I don’t know how you send the data, but this is the only reason userHeadPic 347945801
2020-12-30 12:58:51 I am not sending timestamps though? userHeadPic jeromegvillapando
2020-12-29 19:26:57 You may add a timestamp when sending data, causing the receiving end to subpackage according to the timestamp. If you remove the timestamp, the receiving end will subpackage according to the newline character userHeadPic 347945801