How much data can OnBluetoothDataEvent cope with on a modern smartphone?

edited January 23 in Android Mode

I am using OnBluetoothDataEvent via the ketai library on a Samsung S7 Edge. I am dribbling about 1k bytes of data per second to it over bluetooth from an HC-06 serial passthrough module, at 115200 BAUD, 6 bytes every 8ms, and now and again it loses between 1-5 bytes. The S7 cpu usage never gets above ~11%. What is a realistic capacity for a bluetooth link on a modern smartphone?

Answers

  • Answer ✓

    Never mind, I solved the problem with synchronized for Draw() and OnBluetoothDataEvent. But that leaves me with a second question about P3 restricting frameRate() to 60fps or fewer, but I'll post that as a separate question.

Sign In or Register to comment.