Android Question Asynchstreams - can I tell how much data left in TX buffer?

Arf

Well-Known Member
Licensed User
Longtime User
I can't use prefix mode in my app, so I'm just using standard asynchstreams to transfer bluetooth data.

After placing the whole block of data to be transferred in the astream, is it possible for me to someone determine how many bytes remain in the tx buffer as time goes on, so I can implement a progress bar?

Alternatively I suppose I could chop my data up and send it in smaller chunks, but I'd like to try the first option first if at all possible.

Thanks
 
Top