yes! pairing is happening fin, but showing "Paired but not connected".Also when i check the class on adb shell following is the output
# hciconfig -a hciconfig -a hci0: Type: BR/EDR Bus: USB BD Address: 00:15:83:15:A3:10 ACL MTU: 339:8 SCO MTU: 128:2 UP RUNNING PSCAN RX bytes:8764 acl:111 sco:0 events:338 errors:0 TX bytes:3114 acl:116 sco:0 commands:136 errors:0 Features: 0xff 0x3e 0x85 0x30 0x18 0x18 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: '' Class: 0x000104 Service Classes: Unspecified Device Class: Computer, Desktop workstation HCI Version: 2.0 (0x3) Revision: 0xc5c LMP Version: 2.0 (0x3) Subversion: 0xc5c Manufacturer: Cambridge Silicon Radio (10) Is it because of the Class I am not able to receive any file on Set top Box over bluetooth? I am not able to change the class of the device using #hciconfig hci0 class 0x5a020c what could be the issue? thanks, tushar On Oct 10, 7:47 am, gjs <garyjamessi...@gmail.com> wrote: > Hi > > Did you pair theUsbBluetoothwith your Android device ? > > Regards > > On Oct 7, 6:33 pm, tushar <tushar.2...@gmail.com> wrote: > > > > > > > > > Hi, > > I am enablingUSBBluetoothon Set top box.I am able to send the files > > to various phones but not able to reveive any.below erros it shows > > while connecting: > > > 1.Authorization Rejected.Also the UUDI is not of OPP > > 2.mBtClass is NULL. > > 3.GetServiceAttribute Failed > > What does these errors mean? > > below is the log. > > > Please help. > > > I/power ( 1097): *** set_screen_state 1 > > I/power ( 1097): *** set_screen_state 1 > > I/ActivityManager( 1097): Starting: Intent > > { act=android.intent.action.MAIN > > cmp=com.android.settings/.bluetooth.BluetoothSettings } from pid 1361 > > I/BluetoothAdapter( 1361): startDiscovery > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: Discovery session > > 0x52d08 with :1.0 activated > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:session_ref() 0x52d08: ref=1 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > > E/BluetoothEventLoop.cpp( 1097): event_filter: Received signal > > org.bluez.Adapter:PropertyChanged from /org/bluez/1914/hci0 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: > > emit_property_changed.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: append_variant.. > > D/BTDEBUG ( 1369): a.b.adapter.a.DISCOVERY_STARTED > > V/BluetoothEventRedirector( 1361): Received > > android.bluetooth.adapter.action.DISCOVERY_STARTED > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > I/ActivityManager( 1097): Displayed > > com.android.settings/.bluetooth.BluetoothSettings: +539ms > > I/power ( 1097): *** set_screen_state 1 > > I/power ( 1097): *** set_screen_state 1 > > E/BluetoothEventLoop.cpp( 1097): event_filter: Received signal > > org.bluez.Adapter:PropertyChanged from /org/bluez/1914/hci0 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: > > emit_property_changed.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: append_variant.. > > D/BluetoothService( 1097): BT Discoverable for 120 seconds > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:set_mode() discoverable > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:session_ref() 0x542f8: ref=1 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: > > emit_property_changed.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: append_variant.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:set_mode_complete() discoverable > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:session_unref() 0x542f8: ref=0 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > D/dalvikvm( 1361): GC_CONCURRENT freed 404K, 48% free 3210K/6151K, > > external 1157K/1619K, paused 2ms+3ms > > E/BluetoothEventLoop.cpp( 1097): event_filter: Received signal > > org.bluez.Adapter:PropertyChanged from /org/bluez/1914/hci0 > > E/BluetoothEventLoop.cpp( 1097): event_filter: Received signal > > org.bluez.Adapter:DeviceFound from /org/bluez/1914/hci0 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > > I//system/bin/bluetoothd( 1913): > > bluetoothd[1914]: .dict_append_entry.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: append_variant.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: > > dict_append_entry.. > > D/BTDEBUG ( 1369): a.b.adapter.a.SCAN_MODE_CHANGED > > D/BTDEBUG ( 1369): a.b.adapter.e.SCAN_MODE = 23 > > D/BluetoothService( 1097): > > updateDeviceServiceChannelCache(00:1D:FD:F6:A2:85) > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: rec is NULL > > E/bluetooth_common.cpp( 1097): dbus_func_args_timeout_valist: D-Bus > > error in GetServiceAttributeValue: org.bluez.Error.Failed > > (GetServiceAttribute Failed) > > D/BluetoothService( 1097): uuid(system): > > 00001108-0000-1000-8000-00805f9b34fb -1 > > D/BluetoothService( 1097): uuid(system): > > 00001105-0000-1000-8000-00805f9b34fb 9 > > D/BTDEBUG ( 1369): a.b.device.a.FOUND > > D/BTDEBUG ( 1369): a.b.device.e.DEVICE = 00:1D:FD:F6:A2:85 > > D/BTDEBUG ( 1369): a.b.device.e.CLASS = 5a020c > > D/BTDEBUG ( 1369): a.b.device.e.RSSI = 0 > > D/BTDEBUG ( 1369): a.b.device.e.NAME = Tushar > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > V/BluetoothEventRedirector( 1361): Received > > android.bluetooth.device.action.FOUND > > I/BluetoothClass( 1361): Failed to connect tushar 5898764 > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > I/power ( 1097): *** set_screen_state 1 > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > D/dalvikvm( 1369): GC_EXPLICIT freed 18K, 51% free 2723K/5511K, > > external 716K/1038K, paused 51ms > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > E/BluetoothEventLoop.cpp( 1097): event_filter: Received signal > > org.bluez.Adapter:PropertyChanged from /org/bluez/1914/hci0 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: > > emit_property_changed.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: append_variant.. > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:session_unref() 0x52d08: ref=0 > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:session_remove() Discovery session 0x52d08 with : > > 1.0 deactivated > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > > bluez/src/adapter.c:session_remove() Stopping discovery > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: Stopping discovery > > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > > V/BluetoothEventRedirector( 1361): Received > > android.bluetooth.adapter.action.DISCOVERY_FINISHED > > D/BTDEBUG ( 1369): a.b.adapter.a.DISCOVERY_FINISHED > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > D/dalvikvm( 1361): GC_CONCURRENT freed 460K, 48% free 3234K/6151K, > > external 1159K/1619K, paused 2ms+5ms > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > D/dalvikvm( 1361): GC_CONCURRENT freed 483K, 48% free 3238K/6215K, > > external 1159K/1619K, paused 2ms+3ms > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > D/dalvikvm( 1361): GC_CONCURRENT freed 488K, 48% free 3236K/6215K, > > external 1159K/1619K, paused 3ms+4ms > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > W/CachedBluetoothDevice( 1361): mBtClass is null > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en