ktanders1 / android-notifier

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

An error occurred while receiving bluetooth notification #311

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send test notification from galaxy s fascinate
2.
3.

What is the expected output? What do you see instead?
Pop up error on my MacBook running 10.6.5 that says, "an error occurred while 
receiving Bluetooth notification."

Please paste the application's log here (it should now be on your
clipboard):
V/BluetoothEventRedirector( 2318): Received android.bleutooth.device.action.UUID
E/BluetoothProxyManager( 2318): Unable to get service proxy for bluetooth_ftp. 
Service is not enabled...
E/BluetoothProxyManager( 2318): Unable to get service proxy for bluetooth_dun. 
Service is not enabled...
D/WifiService( 2240): ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
D/RemoteNotifier( 2804): Battery status: NOT charging
D/RemoteNotifier( 2804): Got battery level: 34
D/RemoteNotifier( 2804): Battery level change: 0
D/RemoteNotifier( 2804): Got battery update, but state change was not relevant
D/RemoteNotifier( 2804): Battery status: NOT charging
D/RemoteNotifier( 2804): Got battery level: 34
D/RemoteNotifier( 2804): Battery level change: 0
D/RemoteNotifier( 2804): Got battery update, but state change was not relevant
D/WifiService( 2240): ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
D/WifiService( 2240): ACTION_SCREEN_ON
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
E/BluetoothService.cpp( 2240): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 2804): Not starting service again
D/RemoteNotifier( 2804): Sending notification: 
v2/22a0000023e95c6f/4960e17cddd7a/PING//Test notification
E/BluetoothService.cpp( 2240): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/BluetoothService( 2240): cancelDiscovery. try cound is 5.. something wrong in 
BTLD.. do not try again anymore
E/BluetoothService.cpp( 2240): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/BluetoothSocket( 2804): BluetoothSocket created fd: 
-1uuid7674047e-6e47-4bf0-831f-209e3f9dd23fport -1
D/BluetoothSocket.cpp( 2804): initSocketNative
D/BluetoothSocket.cpp( 2804): ...fd 40 created (RFCOMM, lm = 26)
D/BluetoothSocket.cpp( 2804): initSocketFromFdNative
D/RemoteNotifier( 2804): Connecting to Bluetooth device John Burns’ MacBook
D/BluetoothSocket( 2804): connect
D/BluetoothSocket( 2804): doSdp
I/BluetoothService.cpp( 2240): ... Object Path = 
/org/bluez/2579/hci0/dev_00_16_CB_36_A0_93
I/BluetoothService.cpp( 2240): ... Pattern = 
7674047e-6e47-4bf0-831f-209e3f9dd23f, strlen = 36
V/BluetoothEventRedirector( 2318): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
I/BluetoothEventLoop.cpp( 2240): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/2579/hci0/dev_00_16_CB_36_A0_93
I/BluetoothEventLoop.cpp( 2240): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/2579/hci0/dev_00_16_CB_36_A0_93
D/BluetoothSocket( 2804): onRfcommChannelFound 4
D/BluetoothSocket.cpp( 2804): connectNative
V/BluetoothEventRedirector( 2318): Received android.bleutooth.device.action.UUID
E/BluetoothProxyManager( 2318): Unable to get service proxy for bluetooth_ftp. 
Service is not enabled...
E/BluetoothProxyManager( 2318): Unable to get service proxy for bluetooth_dun. 
Service is not enabled...
V/BluetoothEventRedirector( 2318): Received android.bleutooth.device.action.UUID
E/BluetoothProxyManager( 2318): Unable to get service proxy for bluetooth_ftp. 
Service is not enabled...
E/BluetoothProxyManager( 2318): Unable to get service proxy for bluetooth_dun. 
Service is not enabled...
D/BluetoothSocket.cpp( 2804): ...connect(40, RFCOMM) = 0 (errno 0)
D/BluetoothSocket( 2804): write
D/BluetoothSocket.cpp( 2804): writeNative
D/BluetoothSocket( 2804): close
D/BluetoothSocket( 2804): cancel
D/BluetoothSocket.cpp( 2804): abortNative
D/BluetoothSocket.cpp( 2804): ...asocket_abort(40) complete
D/BluetoothSocket.cpp( 2804): destroyNative
D/BluetoothSocket.cpp( 2804): ...asocket_destroy(40) complete
D/RemoteNotifier( 2804): Sent notification over Bluetooth (0 retries).
I/BluetoothEventLoop.cpp( 2240): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/2579/hci0/dev_00_16_CB_36_A0_93
D/PhoneApp( 2359): updateProximitySensorMode: state = IDLE
D/PhoneApp( 2359): screenOnImmediately is false
D/PhoneApp( 2359): updateProximitySensorMode: lock already released.
D/PhoneApp( 2359): reenableKeyguard - alreayd enabled so ignoring or 
mKeyguardIgnore - false
D/BluetoothSocket( 2804): close
D/BluetoothSocket( 2804): close
D/BluetoothSocket( 2804): close
D/BluetoothSocket( 2804): close
D/RemoteNotifier( 2804): Restoring state
E/BluetoothService.cpp( 2240): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 2804): Not starting service again
D/RemoteNotifier( 2804): Battery status: NOT charging
D/RemoteNotifier( 2804): Got battery level: 34
D/WifiService( 2240): ACTION_BATTERY_CHANGED pluggedType: 0
D/RemoteNotifier( 2804): Battery level change: 0
D/RemoteNotifier( 2804): Got battery update, but state change was not relevant
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
D/WifiService( 2240): ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
D/RemoteNotifier( 2804): Battery status: NOT charging
D/RemoteNotifier( 2804): Got battery level: 34
D/RemoteNotifier( 2804): Battery level change: 0
D/RemoteNotifier( 2804): Got battery update, but state change was not relevant
D/WifiService( 2240): ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
D/RemoteNotifier( 2804): Battery status: NOT charging
D/RemoteNotifier( 2804): Got battery level: 34
D/RemoteNotifier( 2804): Battery level change: 0
D/RemoteNotifier( 2804): Got battery update, but state change was not relevant
D/WifiService( 2240): ACTION_SCREEN_OFF
E/WifiStateTracker( 2240): dhcp.eth0.ipaddress:136.167.245.68
D/WifiService( 2240): setting ACTION_DEVICE_IDLE timer for 900000ms
D/WifiService( 2240): ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
D/RemoteNotifier( 2804): Battery status: NOT charging
D/RemoteNotifier( 2804): Got battery level: 34
D/RemoteNotifier( 2804): Battery level change: 0
D/RemoteNotifier( 2804): Got battery update, but state change was not relevant
D/PhoneApp( 2359): updateProximitySensorMode: state = IDLE
D/PhoneApp( 2359): screenOnImmediately is false
D/PhoneApp( 2359): updateProximitySensorMode: lock already released.
D/PhoneApp( 2359): reenableKeyguard - alreayd enabled so ignoring or 
mKeyguardIgnore - false
D/RemoteNotifier( 2804): Restoring state
E/BluetoothService.cpp( 2240): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 2804): Not starting service again
D/WifiService( 2240): ACTION_BATTERY_CHANGED pluggedType: 0
D/RemoteNotifier( 2804): Battery status: NOT charging
D/RemoteNotifier( 2804): Got battery level: 34
D/RemoteNotifier( 2804): Battery level change: 0
D/RemoteNotifier( 2804): Got battery update, but state change was not relevant
I/WifiService( 2240): handleMessage: MESSAGE_ENABLE_WIFI
I/WifiService( 2240): handleMessage: MESSAGE_START_WIFI
D/RemoteNotifier( 2804): Using donut SMS decoder
D/RemoteNotifier( 2804): Using level 5 caller ID
D/RemoteNotifier( 2804): Received Sms: SMS from Tom Vautour - Mobile 
(7813309549): Test
D/RemoteNotifier( 2804): Sending notification: 
v2/22a0000023e95c6f/8e2ba71150e7a0/SMS/7813309549/SMS from Tom Vautour - Mobile 
(7813309549): Test
E/BluetoothService.cpp( 2240): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/BluetoothService( 2240): cancelDiscovery. try cound is 5.. something wrong in 
BTLD.. do not try again anymore
E/BluetoothService.cpp( 2240): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
V/BluetoothEventRedirector( 2318): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothSocket( 2804): BluetoothSocket created fd: 
-1uuid7674047e-6e47-4bf0-831f-209e3f9dd23fport -1
D/BluetoothSocket.cpp( 2804): initSocketNative
D/BluetoothSocket.cpp( 2804): ...fd 38 created (RFCOMM, lm = 26)
D/BluetoothSocket.cpp( 2804): initSocketFromFdNative
D/RemoteNotifier( 2804): 

What version of Android are you using?
2.1 with touchwiz

Original issue reported on code.google.com by burn...@gmail.com on 7 Dec 2010 at 4:30

GoogleCodeExporter commented 9 years ago
Some Samsung and HTC phones don't work well with bluetooth communication with 
Mac and Linux.

Original comment by lehph...@gmail.com on 7 Dec 2010 at 12:14

GoogleCodeExporter commented 9 years ago
Issue 312 has been merged into this issue.

Original comment by lehph...@gmail.com on 7 Dec 2010 at 12:15