baljeetverma / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Can't pair phone with PC #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On desktop app, add device
2. On phone, send test notification

What is the expected output? What do you see instead?

Expected pairing, pc app complains that an error occurred when receiving the 
notification

Please paste the application's log here (it should now be on your
clipboard):

D/RemoteNotifier(22099): Using real bluetooth utils
D/RemoteNotifier(22099): Using level 5 caller ID
I/RemoteNotifier(22099): Starting notification service
D/RemoteNotifier(22099): Battery status: NOT charging
D/RemoteNotifier(22099): Got battery level: 83
D/RemoteNotifier(22099): Battery level change: 84
D/RemoteNotifier(22099): Got battery update, but state change was not relevant
D/PhoneWindow(22099): couldn't save which view has focus because the focused 
view android.widget.ListView@46352c20 has no id.
W/BluetoothHeadset(21902): Proxy not attached to service
W/BluetoothHeadset(21902): Proxy not attached to service
W/BluetoothHeadset(21902): Proxy not attached to service
W/BluetoothHeadset(21902): Proxy not attached to service
W/BluetoothHeadset(21902): Proxy not attached to service
W/BluetoothHeadset(21902): Proxy not attached to service
D/BluetoothService(   93): Bluetooth state 10 -> 11
V/BluetoothDataGatewayService(   93): #### DataGateway Service Received message 
 ####
V/BluetoothEventRedirector(21902): Received 
android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothEventRedirector(21902): EXTRA_STATE = 11
I/BluetoothEventLoop.cpp(   93): agent_event_filter: Received method 
org.bluez.Agent:Release
I/BluetoothService(   93): loadBondState(): val = 
/org/bluez/22135/hci0/dev_00_1E_37_A8_7B_17,/org/bluez/22135/hci0/dev_4C_54_99_6
B_54_3D,
D/BluetoothService(   93): found 2 bonded devices
D/BluetoothService(   93): Bluetooth state 11 -> 12
V/BluetoothEventRedirector(21902): Received 
android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothEventRedirector(21902): EXTRA_STATE = 12
V/BluetoothDataGatewayService(   93): #### DataGateway Service Received message 
 ####
V/BluetoothDataGatewayService(   93): #### Enable Data Gateway Server ####
D/BluetoothHeadsetService(  192): Loaded priority 00:1E:37:A8:7B:17 = 100
I/BluetoothDataGateway.cpp(   93): dataGatewayEnableNative
D/BluetoothHeadsetService(  192): Loaded priority 4C:54:99:6B:54:3D = 0
I/BluetoothAudioGateway.cpp(  192): Calling blz_wrapper_init
D/BluetoothServiceManager(   93): onBluetoothEnabled()
D/BluetoothServiceManager(   93): ***startService(): Bluetooth service 
bluetooth_ftp not enabled. Skipping...***
D/BluetoothServiceManager(   93): ***startService(): Starting service: 
bluetooth_pbs***
D/BluetoothServiceManager(   93): ***startService(): Done starting service: 
bluetooth_pbs***
I/BluetoothPBAPService(   93): onPbapEnabled
I/BluetoothPBAPService(   93): onPbapConnected
D/BluetoothServiceManager(   93): ServiceStateChanged: bluetooth_pbs, 2
E/BluetoothEventLoop.cpp(   93): event_filter: Received signal 
org.freedesktop.DBus:NameOwnerChanged from /org/freedesktop/DBus
E/BluetoothOPP.cpp(22111): OPP initial success
V/BluetoothOppManager(22111): restoreApplicationData! falsefalsenullnull
E/BluetoothOPP(22111): setOppsPath
D/BluetoothOPP.cpp(22111): setOppsPathNative
E/BluetoothEventLoop.cpp(   93): event_filter: Received signal 
org.bluez.Btla:OpSetDefaultPath from /org/bluez/btlaobex0
I/BluetoothEventLoop.cpp(   93): OpSetDefaultPath signal received
I/BluetoothEventLoop.cpp(   93): OpSetDefaultPath signal received with status:1
E/BluetoothEventLoop(   93): >>>>>onOpSetDefaultPath<<<<<<
D/BluetoothHeadsetService(  192): Headset state 0 -> 1, result = 1
V/BluetoothEventRedirector(21902): Received 
android.bluetooth.headset.action.STATE_CHANGED
D/BluetoothHeadsetService(  192): SDP UUID: TYPE_HANDSFREE
E/BluetoothEventLoop.cpp(   93): event_filter: Received signal 
org.bluez.Device:PropertyChanged from 
/org/bluez/22135/hci0/dev_00_1E_37_A8_7B_17
I/BluetoothHeadsetService(  192): waitForConnect(): return result = 1
D/BluetoothHeadsetService(  192): RFCOMM connection attempt took 2010 ms
D/BluetoothHeadsetService(  192): Rfcomm connected
D/BluetoothHeadsetService(  192): Headset state 1 -> 2, result = 1
I/BluetoothHeadsetService(  192): State change to connected, remote device name 
= DUANE_LPT
V/BluetoothEventRedirector(21902): Received 
android.bluetooth.headset.action.STATE_CHANGED
D/BluetoothHeadsetService(  192): Saved priority 00:1E:37:A8:7B:17 = 1001
D/BluetoothHandsfree(  192): Registering Handsfree AT commands
I/Bluetooth AT recv(  192): AT+BRSF=22
I/Bluetooth AT sent(  192): +BRSF: 355   
I/Bluetooth AT sent(  192): OK
I/Bluetooth AT recv(  192): AT+CIND=?
I/Bluetooth AT sent(  192): +CIND: 
("service",(0-1)),("call",(0-1)),("callsetup",(0-3)),("callheld",(0-2)),("signal
",(0-5)),("roam",(0-1)),("battchg",(0-5))   
I/Bluetooth AT sent(  192): OK
I/Bluetooth AT recv(  192): AT+CIND?
I/Bluetooth AT sent(  192): +CIND: 1,0,0,0,5,0,4   
I/Bluetooth AT sent(  192): OK
I/Bluetooth AT recv(  192): AT+CMER=3,0,0,1
I/Bluetooth AT sent(  192): OK
I/Bluetooth AT recv(  192): AT+CHLD=?
I/Bluetooth AT sent(  192): +CHLD: (0,1,2,3)
I/Bluetooth AT sent(  192): OK
I/Bluetooth AT recv(  192): AT+CCWA=1
I/Bluetooth AT sent(  192): OK
I/Bluetooth AT recv(  192): AT+CLIP=1
I/Bluetooth AT sent(  192): OK
E/BluetoothService.cpp(   93): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier(22099): Sending notification: 
v2/55530fb8535953f5/4427f81fa1bca/PING//Test notification
E/BluetoothService.cpp(   93): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothService.cpp(   93): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier(22099): Connecting to Bluetooth device DUANE_LPT
D/BluetoothService(   93): updateDeviceServiceChannelCache(00:1E:37:A8:7B:17)
D/BluetoothService(   93):  uuid(system): 0000111e-0000-1000-8000-00805f9b34fb 
4382
D/BluetoothService(   93):  uuid(system): 00001108-0000-1000-8000-00805f9b34fb 
4360
D/BluetoothService(   93):  uuid(application): 
7674047e-6e47-4bf0-831f-209e3f9dd23f 11
D/BluetoothService(   93): Making callback for 
7674047e-6e47-4bf0-831f-209e3f9dd23f with result 11
V/BluetoothEventRedirector(21902): Received android.bleutooth.device.action.UUID
D/RemoteNotifier(22099): Sent notification over Bluetooth (0 retries).
E/BluetoothEventLoop.cpp(   93): event_filter: Received signal 
org.bluez.Device:PropertyChanged from 
/org/bluez/22135/hci0/dev_00_1E_37_A8_7B_17
D/BluetoothService(   93): updateDeviceServiceChannelCache(00:1E:37:A8:7B:17)
D/BluetoothService(   93):  uuid(system): 0000111e-0000-1000-8000-00805f9b34fb 
4382
D/BluetoothService(   93):  uuid(system): 00001108-0000-1000-8000-00805f9b34fb 
4360
V/BluetoothEventRedirector(21902): Received android.bleutooth.device.action.UUID
V/BluetoothEventRedirector(21902): Received android.bleutooth.device.action.UUID

What version of Android are you using?
Froyo 2.2 on HTC Desire

Original issue reported on code.google.com by duanemck...@gmail.com on 8 Oct 2010 at 5:17

GoogleCodeExporter commented 9 years ago
Another HTC phone with bluetooth problems, merging with issue 3.

Original comment by lehph...@gmail.com on 8 Oct 2010 at 12:59