I've written a MIDlet (using Mobile Processing - http://mobile.processing.org
) for sending keypress numbers across Bluetooth from a Mobile to an NXT running LeJos. I'm trying to test this using the BTReceive sample application.
The two apps are happily conecting and the data is being sent
(just a byte corresponding to the key number)...
...however the data seems to be read in very slowly - there is a pause of about ten seconds and then it catches up before another long pause
I've tried reading in a big array of bytes and looping through that but the same thing happens - has anyone got any experience with this sort of problem? I'd be grateful for any help and I'm happy to share code.