Hi Did you pair the Usb Bluetooth with your Android device ?
Regards On Oct 7, 6:33 pm, tushar <tushar.2...@gmail.com> wrote: > Hi, > I am enabling USB Bluetooth on 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 > 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( 1361): GC_CONCURRENT freed 485K, 48% free 3235K/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 > D/dalvikvm( 1361): GC_CONCURRENT freed 485K, 48% free 3235K/6215K, > external 1159K/1619K, paused 4ms+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 > D/dalvikvm( 1361): GC_CONCURRENT freed 485K, 48% free 3235K/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 > D/dalvikvm( 1361): GC_CONCURRENT freed 485K, 48% free 3235K/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 > D/dalvikvm( 1361): GC_CONCURRENT freed 485K, 48% free 3235K/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 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > tushar > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > tushar > E/BluetoothEventLoop.cpp( 1097): event_filter: Received signal > org.bluez.Device:PropertyChanged from /org/bluez/1914/hci0/ > dev_5C_17_D3_CF_19_A5 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > bluez/src/adapter.c:adapter_get_device() 5C:17:D3:CF:19:A5 > I//system/bin/bluetoothd( 1913): > bluetoothd[1914]: ...emit_property_changed.. > I//system/bin/bluetoothd( 1913): > bluetoothd[1914]: ...append_variant.. > D/BluetoothEventLoop( 1097): Device property changed:5C:17:D3:CF: > 19:A5property:Connected > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > D/BTDEBUG ( 1369): a.b.device.a.ACL_CONNECTED > D/BTDEBUG ( 1369): a.b.device.e.DEVICE = 5C:17:D3:CF:19:A5 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > W/CachedBluetoothDevice( 1361): mBtClass is null > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: link_key_request > (sba=00:15:83:15:A3:10, dba=5C:17:D3:CF:19:A5) > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > bluez/src/security.c:link_key_request() kernel auth requirements = > 0x04 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > bluez/src/security.c:link_key_request() link key type = 0x00 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > bluez/src/security.c:link_key_request() link key type = 0x00.. > 0x04 .... 2 > W/CachedBluetoothDevice( 1361): mBtClass is null > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > bluez/src/dbus-hci.c:hcid_dbus_bonding_process_complete() status=00 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > bluez/src/adapter.c:adapter_get_device() 5C:17:D3:CF:19:A5 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: external/bluetooth/ > bluez/src/dbus-hci.c:hcid_dbus_bonding_process_complete() no pending > auth request > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: io_security_event > I/BluetoothEventLoop.cpp( 1097): agent_event_filter: Received method > org.bluez.Agent:Authorize > I/BluetoothEventLoop( 1097): Rejecting incoming > 00001112-0000-1000-8000-00805F9B34FB connection from 5C:17:D3:CF:19:A5 > I/BluetoothEventLoop( 1097): x1 =true x2 =false x3 =false x4 =false > x5 =false > D/BluetoothEventLoop( 1097): onAgentAuthorize(/org/bluez/1914/hci0/ > dev_5C_17_D3_CF_19_A5, 00001112-0000-1000-8000-00805F9B34FB) = false > 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/agent.c:agent_authorize() authorize request was sent for / > org/bluez/1914/hci0/dev_5C_17_D3_CF_19_A5 > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: Agent replied with > an error: org.bluez.Error.Rejected, Authorization rejected > I//system/bin/bluetoothd( 1913): bluetoothd[1914]: Access denied: > Authorization rejected > 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]: ...emit_property_changed.. > I//system/bin/bluetoothd( 1913): > bluetoothd[1914]: ...append_variant.. > W/CachedBluetoothDevice( 1361): mBtClass is null > W/CachedBluetoothDevice( 1361): mBtClass is null > D/dalvikvm( 1361): GC_CONCURRENT freed 485K, 48% free 3235K/6215K, > external 1159K/1619K, paused 3ms+4ms > W/CachedBluetoothDevice( 1361): mBtClass is null -- 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