Hi, I am trying to pair a Bluetooth device in my program. I open a server socket and wait for the client to connect and when the client connects to the server for the first time, its prompting a Bluetooth pairing request dialog. So far its all fine. But even if I enter the correct passkey(pairing code), pairing process is not successful. Here is the log cat description for the same.
08-29 14:45:54.123: ERROR/BluetoothEventLoop.cpp(96): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/5028/hci0/dev_00_A0_96_2E_3F_3A 08-29 14:45:54.143: ERROR/BluetoothEventLoop.cpp(96): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/5028/hci0 08-29 14:45:54.153: ERROR/BluetoothEventLoop.cpp(96): event_filter: Received signal org.bluez.Adapter:DeviceRemoved from /org/bluez/5028/hci0 08-29 14:45:54.153: DEBUG/BluetoothService(96): 00:A0:96:2E:3F:3A bond state 11 -> 10 (0) 08-29 14:45:54.153: WARN/BluetoothService(96): setBondState() called to unbond device, but reason code is invalid. Overriding reason code with BOND_RESULT_REMOVED 08-29 14:45:54.173: VERBOSE/BluetoothEventRedirector(8381): Received android.bluetooth.device.action.BOND_STATE_CHANGED 08-29 14:45:54.173: ERROR/CachedBluetoothDeviceManager(8381): Got bonding state changed for 00:A0:96:2E:3F:3A, but we have no record of that device. 08-29 14:45:54.173: WARN/CachedBluetoothDeviceManager(8381): showUnbondMessage: Not displaying any message for reason:9 I tried with 2 phones. I was able to get it paired successfully with Samsung Nexus S phone but the same code if giving the above logact info when i try it on Nexus one. Any help is appreciated. Thanks, Shashi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

