Android Question B4A Serial inputstream wrong data recieve

YIM bunchhat

Active Member
Licensed User
Longtime User
hello, I have problem with asynchronous new data receive with wrong as show in picture of my log, my Bluetooth device send -1460 but I cannot receive it correctly.
Capture.PNG
 

YIM bunchhat

Active Member
Licensed User
Longtime User
  1. Hello DoManfred, So how can I solve this splittet? if I use app download from playstore there is no problem all data receive but when write code With asynchronous and Serial in B4A it got problem like this, but if use asynchronous with Socket there is no problem
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
is it possible that library Serial have problem?
i don´t think so.... If you use asyncstream then you should expect to get splitted packages.
If the sender is sending a CRLF after the text then you can use asyncstreamtext.
 
Upvote 0
Top