Hello , I am developing an application for BT pairing of keyboard via NFC without pass key. I trying to use the RFCOM APIs
BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(Device_address); mBluetoothSocket = device.createInsecureRfcommSocketToServiceRecord(MY_UUID); mBluetoothAdapter.cancelDiscovery(); mBluetoothSocket.connect(); My UUID is correct "00001124-0000-1000-8000-00805F9B34FB" after the connect API i get "Service Discovery Failed" . I am pasting the log also 05-09 06:53:18.372: D/BluetoothEventLoop(155): Device property changed: 14:02:20:12:A0:09 property: Connected value: true 05-09 06:53:19.618: D/BluetoothService(155): updateDeviceServiceChannelCache(14:02:20:12:A0:09) 05-09 06:53:19.622: D/BluetoothService(155): uuid(application): 00001124-0000-1000-8000-00805f9b34fb 0 05-09 06:53:19.622: D/BluetoothService(155): Making callback for 00001124-0000-1000-8000-00805f9b34fb with result 0 05-09 06:53:24.145: D/BluetoothEventLoop(155): Device property changed: 14:02:20:12:A0:09 property: Connected value: false a) Is it possible to pair the BT HID profile keyboard using the above APIs . The android version 4.0 b) What is mistake i am doing in my logic or what is the correct method of doing pairing without pass key -- 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

