lotonero / android-notifier

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

BT notifications not working #436

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Send test notification
2.
3.

What is the expected output? What do you see instead?
Should pop up on computer, but it doesnt.
Was previously working but suddenly stopped working

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

D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@464aafb0}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@464aafb0}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@464aafb0}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiWatchdogService(   92): (android.server.ServerThread) metromesh 
(00:02:6f:4d:b4:0c) does not require the watchdog
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@464aafb0}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@460d8360}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@460d8360}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@460d8360}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@460d8360}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@460d8360}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@460d8360}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@462b64c0}
D/WifiService(   92): enable and start wifi due to updateWifiState
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(   92): ACTION_SCREEN_OFF
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
V/WifiMonitor(   92): Event [CTRL-EVENT-STATE-CHANGE id=2 state=0]
V/WifiStateTracker(   92): Changing supplicant state: ASSOCIATING ==> 
DISCONNECTED
V/WifiMonitor(   92): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker(   92): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiMonitor(   92): Event [wpa_disabled_ssid_list_clear]
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
D/WifiStateTracker(   92): Reset connections and stopping DHCP
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
D/WifiStateTracker(   92): Disabling interface
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
V/WifiMonitor(   92): Event [Trying to associate with e0:91:f5:c9:a0:5f 
(SSID='NETGEAR' freq=2437 MHz)]
V/WifiMonitor(   92): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker(   92): Changing supplicant state: SCANNING ==> ASSOCIATING
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
V/WifiMonitor(   92): Event [Authentication with e0:91:f5:c9:a0:5f timed out.]
V/WifiMonitor(   92): Event [CTRL-EVENT-STATE-CHANGE id=2 state=0]
V/WifiStateTracker(   92): Changing supplicant state: ASSOCIATING ==> 
DISCONNECTED
V/WifiMonitor(   92): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker(   92): Changing supplicant state: DISCONNECTED ==> SCANNING
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
V/WifiMonitor(   92): Event [wpa_disabled_ssid_list_clear]
D/WifiStateTracker(   92): Reset connections and stopping DHCP
D/WifiStateTracker(   92): Disabling interface
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
D/WifiService(   92): ACTION_BATTERY_CHANGED pluggedType: 0
D/RemoteNotifier(23058): Battery status: NOT charging
D/RemoteNotifier(23058): Got battery level: 77
D/RemoteNotifier(23058): Battery level change: 4
D/RemoteNotifier(23058): Got battery update, but state change was not relevant
V/WifiMonitor(   92): Event [wpa_disabled_ssid_list_clear]
D/WifiService(   92): ACTION_SCREEN_OFF
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
V/WifiMonitor(   92): Event [wpa_disabled_ssid_list_clear]
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
D/WifiService(   92): ACTION_SCREEN_ON
D/WifiService(   92): enable and start wifi due to updateWifiState
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier(23058): Not starting service again
D/RemoteNotifier(23058): Sending notification: 
v2/2001469c490c49a1/46aa8cfdaace3/PING//Test notification
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothService.cpp(   92): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier(23058): Connecting to Bluetooth device LolPuter
D/RemoteNotifier(23058): Waiting to retry
D/RemoteNotifier(23058): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier(23058):    at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier(23058):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:174)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:120)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier.runNotificationThread(Notifier.java:1
69)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier.access$0(Notifier.java:165)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:91)
E/BluetoothEventLoop.cpp(   92): event_filter: Received signal 
org.bluez.Device:PropertyChanged from /org/bluez/3321/hci0/dev_00_1F_81_00_02_00
D/RemoteNotifier(23058): Connecting to Bluetooth device LolPuter
D/RemoteNotifier(23058): Waiting to retry
D/RemoteNotifier(23058): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier(23058):    at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier(23058):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:174)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:120)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier.runNotificationThread(Notifier.java:1
69)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier.access$0(Notifier.java:165)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:91)
D/RemoteNotifier(23058): Connecting to Bluetooth device LolPuter
D/RemoteNotifier(23058): Waiting to retry
D/RemoteNotifier(23058): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier(23058):    at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier(23058):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:174)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:120)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier.runNotificationThread(Notifier.java:1
69)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier.access$0(Notifier.java:165)
D/RemoteNotifier(23058):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:91)

What version of Android are you using?
2.2 with HTC Sense

I think this may be related to issue 3 but unsure.

Original issue reported on code.google.com by SirL...@gmail.com on 21 Sep 2011 at 12:25

GoogleCodeExporter commented 8 years ago
I have bluetooth connectivity with a file transfer and that still works.
Can pair the device without any issues normally, though sometimes it won't pair.
I've bought another bluetooth usb adapter to try also.

Original comment by SirL...@gmail.com on 21 Sep 2011 at 4:39