YIM bunchhat Active Member Licensed User Longtime User Jun 24, 2019 #1 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.
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.
DonManfred Expert Licensed User Longtime User Jun 24, 2019 #2 Do NOT post such big images! It only make the post unreadable Expect that packets does not arrive complete and may get splittet. As you can see in the log all data arrives.... Upvote 0
Do NOT post such big images! It only make the post unreadable Expect that packets does not arrive complete and may get splittet. As you can see in the log all data arrives....
YIM bunchhat Active Member Licensed User Longtime User Jun 25, 2019 #3 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
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
DonManfred Expert Licensed User Longtime User Jun 25, 2019 #4 collect the data incoming in a bytearray and split it then by yourself. Bytesbuilder can be of help here i guess. Upvote 0
collect the data incoming in a bytearray and split it then by yourself. Bytesbuilder can be of help here i guess.
YIM bunchhat Active Member Licensed User Longtime User Jun 25, 2019 #5 is it possible that library Serial have problem? a few year ago I use it with no problem just recently Upvote 0
is it possible that library Serial have problem? a few year ago I use it with no problem just recently
DonManfred Expert Licensed User Longtime User Jun 25, 2019 #6 YIM bunchhat said: is it possible that library Serial have problem? Click to expand... 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
YIM bunchhat said: is it possible that library Serial have problem? Click to expand... 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.
YIM bunchhat Active Member Licensed User Longtime User Jul 5, 2019 #7 Hello, now it solved problem by module bluetooth 2.0 HC-05 Upvote 0