You should use TextReader.Read instead of TextReader.ReadLine. Basic4android - Files (Core)
Read a single character each time. You should do it in a loop while TextReader.Ready is true.
Another option which would is usually better is to use AsyncStreams instead of polling the port.
There is no real difference between using AsyncStreams with a Bluetooth connection or a TCP/IP connection. So the tutorial is relevant. There are several related threads here: Basic4android Search: AsyncStreams Bluetooth
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.