I have tried to ask this question several different ways. I just need a little bit of nudging in the right direction. I have been able to pair devices and open input and output stream on the bluetooth socket, but am flummoxed by how to control the asynchronous read from an input stream. If the file/data size is known, I can easily loop until I get that many bytes, but what if the data is variable length?
thanks.