Sent message on Serial stream is received in fragments
jeromegvillapando 2020-12-17 17:10:14 4112 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"
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"
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
347945801
347945801 

