Android Question sending text via Bluetooth - B4Chat tutorial - interesting behavior


Well-Known Member
Licensed User
Longtime User
Dear friends,

I am playing with - Chat Bluetooth tutorial - and I have found, that here is
interesting behavor, for example if I send via bluetooth this text "HalloXYZ" the I received in Chat this:

You: H
You: alloXYZ
(only sometimes I get complete text "HalloXYZ")
I Am using classic "HC" BT with 19200 baud rate

Have somebody similar behavior of bluetooth?
I think that the reason is bluetooth hardware.

When that issue is happen, then I can not recognize if word "Hallo" was received in string..
Thank you
Best regards


Licensed User
Longtime User
This is how AsyncStreams work.
You can capture the packets and add the bytes to a buffer. try to find the string when you receive a end of line.
Upvote 0