I\'m writing an application that is able to communicate with my PC. I have used the Bluetooth functionalities of the SDK 2.1.
I can find devices, get their MAC address,
I had the same problem when reconnecting SPP after the first connect.
This is because rfcomm channel=-1 in BluetoothService.java. I added updateDeviceServiceChannelCache() to the end of fetchRemoteUuids(), and then it worked!
rfcomm channel=-1
BluetoothService.java
updateDeviceServiceChannelCache()
fetchRemoteUuids()