BarryW Active Member Licensed User Longtime User Feb 7, 2016 #1 Hi masters i have a bluetooth hardware module (egizmo) that works fine with this app. https://play.google.com/store/apps/...oad&pcampaignid=APPU_1_2qq2VrDRJcu10gSTxZH4Aw But when i used b4a bluetooth serial and astream my data was broken. My original output is E12.34,23.65,67.21, Upper Level Then i receive E12. 34,23.65 ,6 7.21, Upp er Level Also when i use prefixmode android has an error message too long. Can someone help me. Tnx...
Hi masters i have a bluetooth hardware module (egizmo) that works fine with this app. https://play.google.com/store/apps/...oad&pcampaignid=APPU_1_2qq2VrDRJcu10gSTxZH4Aw But when i used b4a bluetooth serial and astream my data was broken. My original output is E12.34,23.65,67.21, Upper Level Then i receive E12. 34,23.65 ,6 7.21, Upp er Level Also when i use prefixmode android has an error message too long. Can someone help me. Tnx...
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2016 #2 You should go over the tutorial: AsyncStreams Tutorial The summary: 1. Prefix mode can only work if both sides of the connection implement the "prefix" protocol. 2. In non-prefix mode you should expect the messages to be split or merged. This is how network communication works. 3. You can use AsyncStreamsText if each message ends with a carriage return. https://www.b4x.com/search?query=AsyncStreamsText Upvote 0
You should go over the tutorial: AsyncStreams Tutorial The summary: 1. Prefix mode can only work if both sides of the connection implement the "prefix" protocol. 2. In non-prefix mode you should expect the messages to be split or merged. This is how network communication works. 3. You can use AsyncStreamsText if each message ends with a carriage return. https://www.b4x.com/search?query=AsyncStreamsText