I have a problem with a bluetooth com using AsyncStreamText. The instream from bluetooth is continous. It works perfectly until i try to write an outstream using astream.write. Then the instream is corrupted. Thanks for your help!
Thats what I was assuming. But is it possible that they use the same listener (newdata or new-text) or would it be wise to stop input listening while sending a response?
Solved the problem! It was my "write" that disturbed the device and changed the way it sent the stream so my parsing went haywire. B4a works like a charm. Thanks for your help!
Georg
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.