flyfire / android-notifier

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

Notification over bluetooth error. #259

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Sending a test notification via bluetooth.
2.
3.

What is the expected output? What do you see instead?
I expect to see a test notification. Instead I see an error dialog box on my 
Mac.

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

D/WifiService( 1122): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService( 1122): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@442e0c58}
V/WifiStateTracker( 1122): Connection to supplicant established, 
state=DISCONNECTED
V/WifiMonitor( 1122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1122): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor( 1122): Event [WPS-AP-AVAILABLE ]
V/WifiMonitor( 1122): Event [Trying to associate with 00:1b:2f:4c:0b:3a 
(SSID='Unsecured Network ' freq=2437 MHz)]
V/WifiMonitor( 1122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 
BSSID=00:1b:2f:4c:0b:3a]
V/WifiStateTracker( 1122): Changing supplicant state: SCANNING ==> ASSOCIATING
W/WifiService( 1122): misformatted scan result for: 
00:08:9f:a3:08:98   2462    189 [WPA-PSK-TKIP]  
W/WifiService( 1122): misformatted scan result for: 
00:02:a8:ad:9a:68   2412    164 [WPA-PSK-TKIP]  
W/WifiService( 1122): misformatted scan result for: 
00:09:5b:71:59:1c   2427    167 [WEP]       
V/WifiMonitor( 1122): Event [CTRL-EVENT-STATE-CHANGE id=3 state=4 
BSSID=00:1b:2f:4c:0b:3a]
V/WifiStateTracker( 1122): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiMonitor( 1122): Event [Associated with 00:1b:2f:4c:0b:3a]
V/WifiMonitor( 1122): Event [CTRL-EVENT-STATE-CHANGE id=3 state=5 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1122): Changing supplicant state: ASSOCIATED ==> 
FOUR_WAY_HANDSHAKE
V/WifiMonitor( 1122): Event [CTRL-EVENT-STATE-CHANGE id=3 state=5 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> 
FOUR_WAY_HANDSHAKE
V/WifiMonitor( 1122): Event [CTRL-EVENT-STATE-CHANGE id=3 state=6 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> 
GROUP_HANDSHAKE
V/WifiMonitor( 1122): Event [WPA: Key negotiation completed with 
00:1b:2f:4c:0b:3a [PTK=CCMP GTK=CCMP]]
V/WifiMonitor( 1122): Event [CTRL-EVENT-STATE-CHANGE id=3 state=7 
BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 1122): Changing supplicant state: GROUP_HANDSHAKE ==> 
COMPLETED
V/WifiMonitor( 1122): Event [CTRL-EVENT-CONNECTED - Connection to 
00:1b:2f:4c:0b:3a completed (auth) [id=3 id_str=]]
V/WifiStateTracker( 1122): New network state is CONNECTED
D/WifiStateTracker( 1122): DhcpHandler: DHCP request started
D/WifiService( 1122): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@442e0c58}
V/WifiStateTracker( 1122): DhcpHandler: DHCP request succeeded
V/WifiStateTracker( 1122): IP configuration: ipaddr 192.168.1.6 gateway 
192.168.1.1 netmask 255.255.255.0 dns1 192.168.1.1 dns2 0.0.0.0 DHCP server 
192.168.1.1 lease 86400 seconds
D/WifiWatchdogService( 1122): (android.server.ServerThread) Unsecured Network  
(00:1b:2f:4c:0b:3a) does not require the watchdog
D/RemoteNotifier( 6895): Restoring state
D/RemoteNotifier( 6895): Using real bluetooth utils
D/RemoteNotifier( 6895): Using level 5 caller ID
I/RemoteNotifier( 6895): Starting notification service
D/RemoteNotifier( 6895): Battery status: Discharging
D/RemoteNotifier( 6895): Got battery level: 70
D/RemoteNotifier( 6895): Battery level change: 71
D/RemoteNotifier( 6895): Notifying of battery state change
D/RemoteNotifier( 6895): Sending notification: 
v2/b838336e4098afc3/44fadba0032b8/PING//Test notification
D/RemoteNotifier( 6895): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 6895): Sending over UDP
D/RemoteNotifier( 6895): Sent over UDP
I/RemoteNotifier( 6895): Sent notification over WiFi.
D/RemoteNotifier( 6895): Battery status: Discharging
D/RemoteNotifier( 6895): Got battery level: 70
D/RemoteNotifier( 6895): Battery level change: 0
D/RemoteNotifier( 6895): Got battery update, but state change was not relevant
D/WifiService( 1122): ACTION_BATTERY_CHANGED pluggedType: 0
D/RemoteNotifier( 6895): Sending notification: 
v2/b838336e4098afc3/44fadbdebe257/PING//Test notification
D/RemoteNotifier( 6895): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 6895): Sending over UDP
D/RemoteNotifier( 6895): Sent over UDP
I/RemoteNotifier( 6895): Sent notification over WiFi.
D/RemoteNotifier( 6895): Sending notification: 
v2/b838336e4098afc3/44fadc0a5abb9/PING//Test notification
D/RemoteNotifier( 6895): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 6895): Sending over UDP
D/RemoteNotifier( 6895): Sent over UDP
I/RemoteNotifier( 6895): Sent notification over WiFi.
D/WifiService( 1122): ACTION_SCREEN_OFF
D/WifiService( 1122): ACTION_SCREEN_ON
D/BluetoothService( 1122): Bluetooth state 10 -> 11
V/BluetoothEventRedirector( 6925): Received 
android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothEventLoop.cpp( 1122): agent_event_filter: Received method 
org.bluez.Agent:Release
D/BluetoothService( 1122): found 2 bonded devices
D/BluetoothService( 1122): Bluetooth state 11 -> 12
V/BluetoothEventRedirector( 6925): Received 
android.bluetooth.adapter.action.STATE_CHANGED
D/BluetoothService( 1122): Registering hfag record
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Adapter:PropertyChanged from /org/bluez/6953/hci0
D/BluetoothService( 1122): Registering hsag record
D/BluetoothService( 1122): Registering opush record
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Adapter:PropertyChanged from /org/bluez/6953/hci0
D/BluetoothService( 1122): Registering pbap record
V/BluetoothEventRedirector( 6925): Received 
android.bluetooth.headset.action.STATE_CHANGED
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_23_7F_4F_3A_19
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:23:7F:4F:3A:19 
name = Connected value = true
V/BluetoothEventRedirector( 6925): Received 
android.bluetooth.headset.action.STATE_CHANGED
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 6895): Sending notification: 
v2/b838336e4098afc3/44fadcf5a7ca1/PING//Test notification
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 6895): Connecting to Bluetooth device Sean's Computer
D/RemoteNotifier( 6895): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 6895): Sending over UDP
D/RemoteNotifier( 6895): Sent over UDP
I/RemoteNotifier( 6895): Sent notification over WiFi.
E/BluetoothEventLoop.cpp( 1122): onDiscoverServicesResult: D-Bus error: 
org.bluez.Error.ConnectionAttemptFailed (Host is down)
D/BluetoothService( 1122): Cleaning up failed UUID channel lookup: 
00:16:CB:1E:A5:66 7674047e-6e47-4bf0-831f-209e3f9dd23f
V/BluetoothEventRedirector( 6925): Received android.bleutooth.device.action.UUID
D/RemoteNotifier( 6895): Waiting to retry
D/RemoteNotifier( 6895): java.io.IOException: Service discovery failed
D/RemoteNotifier( 6895):    at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:377)
D/RemoteNotifier( 6895):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 6895):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:174)
D/RemoteNotifier( 6895):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:120)
D/RemoteNotifier( 6895):    at 
org.damazio.notifier.notification.Notifier.runNotificationThread(Notifier.java:1
69)
D/RemoteNotifier( 6895):    at 
org.damazio.notifier.notification.Notifier.access$0(Notifier.java:165)
D/RemoteNotifier( 6895):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:91)
V/BluetoothEventRedirector( 6925): Received android.bleutooth.device.action.UUID
D/RemoteNotifier( 6895): Connecting to Bluetooth device Sean's Computer
D/RemoteNotifier( 6895): Sending notification: 
v2/b838336e4098afc3/44fadcfd39463/PING//Test notification
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 6895): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 6895): Sending over UDP
D/RemoteNotifier( 6895): Sent over UDP
I/RemoteNotifier( 6895): Sent notification over WiFi.
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = true
D/BluetoothService( 1122): updateDeviceServiceChannelCache(00:16:CB:1E:A5:66)
D/BluetoothService( 1122):  uuid(application): 
7674047e-6e47-4bf0-831f-209e3f9dd23f 1
D/BluetoothService( 1122): Making callback for 
7674047e-6e47-4bf0-831f-209e3f9dd23f with result 1
V/BluetoothEventRedirector( 6925): Received android.bleutooth.device.action.UUID
D/RemoteNotifier( 6895): Sent notification over Bluetooth (1 retries).
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = false
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 6895): Connecting to Bluetooth device Sean's Computer
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = true
D/BluetoothService( 1122): updateDeviceServiceChannelCache(00:16:CB:1E:A5:66)
D/BluetoothService( 1122):  uuid(application): 
7674047e-6e47-4bf0-831f-209e3f9dd23f 1
D/BluetoothService( 1122): Making callback for 
7674047e-6e47-4bf0-831f-209e3f9dd23f with result 1
V/BluetoothEventRedirector( 6925): Received android.bleutooth.device.action.UUID
D/RemoteNotifier( 6895): Sent notification over Bluetooth (0 retries).
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = false
D/RemoteNotifier( 6895): Sending notification: 
v2/b838336e4098afc3/44fadd08d3c98/PING//Test notification
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 6895): Connecting to Bluetooth device Sean's Computer
D/RemoteNotifier( 6895): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 6895): Sending over UDP
D/RemoteNotifier( 6895): Sent over UDP
I/RemoteNotifier( 6895): Sent notification over WiFi.
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = true
D/BluetoothService( 1122): updateDeviceServiceChannelCache(00:16:CB:1E:A5:66)
D/BluetoothService( 1122):  uuid(application): 
7674047e-6e47-4bf0-831f-209e3f9dd23f 1
D/BluetoothService( 1122): Making callback for 
7674047e-6e47-4bf0-831f-209e3f9dd23f with result 1
V/BluetoothEventRedirector( 6925): Received android.bleutooth.device.action.UUID
D/RemoteNotifier( 6895): Sent notification over Bluetooth (0 retries).
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = false
D/RemoteNotifier( 6895): Sending notification: 
v2/b838336e4098afc3/44fadd10ac98a/PING//Test notification
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothService.cpp( 1122): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 6895): Connecting to Bluetooth device Sean's Computer
D/RemoteNotifier( 6895): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier( 6895): Sending over UDP
D/RemoteNotifier( 6895): Sent over UDP
I/RemoteNotifier( 6895): Sent notification over WiFi.
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = true
D/BluetoothService( 1122): updateDeviceServiceChannelCache(00:16:CB:1E:A5:66)
D/BluetoothService( 1122):  uuid(application): 
7674047e-6e47-4bf0-831f-209e3f9dd23f 1
D/BluetoothService( 1122): Making callback for 
7674047e-6e47-4bf0-831f-209e3f9dd23f with result 1
V/BluetoothEventRedirector( 6925): Received android.bleutooth.device.action.UUID
D/RemoteNotifier( 6895): Sent notification over Bluetooth (0 retries).
E/BluetoothEventLoop.cpp( 1122): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/6953/hci0/dev_00_16_CB_1E_A5_66
D/BluetoothService( 1122): setRemoteDeviceProperty addr = 00:16:CB:1E:A5:66 
name = Connected value = false

What version of Android are you using?
2.2 cyanogenmod 6.0.

Original issue reported on code.google.com by seanhasher@gmail.com on 24 Oct 2010 at 7:28

GoogleCodeExporter commented 9 years ago
You and I have a similar setup and have the exact same problem. I'm running 
Cyanogen 6 on my Droid, Macbook 2.4gz OSX 10.6

Original comment by kbam...@gmail.com on 25 Oct 2010 at 6:00

GoogleCodeExporter commented 9 years ago
This error message is in one of the comments in issue 3. BluetoothHowto wiki 
page has a warning about HTC devices and bluetooth issues.

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