Does anyone know if it's possible to set the baud rate of a serial port profile connection?
I'm trying to connect to a device that's sending data over Bluetooth at 9600 baud. After some trial and error I can read data continuously from the device by making my thread sleep for around 30ms between reads of 37 bytes.
However, after a large amount of data has been read, the data being read in appears to be corrupted, and out of sync with the data being sent.
Any ideas how to set the baud rate, so I can just read in data without problems?