petr4ppc Well-Known Member Licensed User Longtime User Jun 2, 2020 #1 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 Click to expand... (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 p4ppc
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 Click to expand... (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 p4ppc
DonManfred Expert Licensed User Longtime User Jun 2, 2020 #2 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
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.
petr4ppc Well-Known Member Licensed User Longtime User Jun 2, 2020 #3 Thank you for your answer DonManfred Upvote 0
DonManfred Expert Licensed User Longtime User Jun 2, 2020 #4 Or use asycstreamtext if both sides are able to use. Upvote 0
KMatle Expert Licensed User Longtime User Jun 2, 2020 #5 You can also use Initialize2 (prefix) if both sides support it. Here you receive the complete message. Upvote 0
You can also use Initialize2 (prefix) if both sides support it. Here you receive the complete message.