baljeetverma / android-notifier

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

Mac is unable to receive Test Notification via bluetooth #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1.I have installed the Android App and the desktop client. Wifi is working. 
Bluetooth is having issues. I also have an apple bt kb,
2.Turned off and restarted wifi on EVO and on Mac (10.6.3) and tried to do the 
bluetooth test notification.
3. EVO and Mac are paired but not connect per the message on the app.

What is the expected output? What do you see instead?
Test notification is sent per app but not received while waiting for the device 
to appear in the desktop client Devices list.

What version of the product are you using? On what operating system?
latest build. Mac OS X 10.6.3

Please provide any additional information below.

How would i get to the log file for the app?

Original issue reported on code.google.com by ozjo...@gmail.com on 9 Sep 2010 at 11:09

GoogleCodeExporter commented 9 years ago
Mac OS X 10.6.4

Original comment by ozjo...@gmail.com on 9 Sep 2010 at 11:10

GoogleCodeExporter commented 9 years ago
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiWatchdogService(  108): (android.server.ServerThread) UCInet Mobile 
Access (00:11:20:4b:c4:c2) does not require the watchdog
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(  108): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@46424db8}
D/WifiService(  108): enable and start wifi due to updateWifiState
D/WifiService(  108): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@46424db8}
D/WifiService(  108): enable and start wifi due to updateWifiState
D/WifiWatchdogService(  108): (android.server.ServerThread) UCInet Mobile 
Access (00:11:20:4b:c4:c2) does not require the watchdog
D/WifiService(  108): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@46424db8}
D/WifiService(  108): enable and start wifi due to updateWifiState
D/WifiService(  108): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@46424db8}
D/WifiService(  108): enable and start wifi due to updateWifiState
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiWatchdogService(  108): (android.server.ServerThread) UCInet Mobile 
Access (00:11:20:4b:c4:c2) does not require the watchdog
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(  108): releaseWifiLockLocked: WifiLock{fring type=1 
binder=android.os.BinderProxy@4627e458}
D/WifiService(  108): enable and start wifi due to updateWifiState
D/WifiService(  108): acquireWifiLockLocked: WifiLock{fring type=1 
binder=android.os.BinderProxy@462c41d8}
D/WifiService(  108): enable and start wifi due to updateWifiState
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 1
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  108): ACTION_SCREEN_OFF
D/WifiService(  108): ACTION_SCREEN_ON
D/WifiService(  108): enable and start wifi due to updateWifiState
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  108): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  108): ACTION_SCREEN_OFF
D/WifiService(  108): ACTION_SCREEN_ON
D/WifiService(  108): enable and start wifi due to updateWifiState
D/RemoteNotifier( 3679): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 3679): Waiting to retry
D/RemoteNotifier( 3679): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 3679):    at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 3679):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 3679):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 3679):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 3679):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/WifiService(  108): releaseWifiLockLocked: WifiLock{fring type=1 
binder=android.os.BinderProxy@462c41d8}
D/WifiService(  108): disable wifi due to updateWifiState
D/BluetoothService(  108): Already release wake lock for discoverable mode
D/BluetoothService(  108): Bluetooth state 12 -> 13
D/BluetoothHandsfree(  215): audioOff(): mPendingSco: false, mScoSocket: , 
mA2dpState: 0, mA2dpSuspended: false
V/BluetoothEventRedirector(  835): Received 
android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothEventRedirector(  835): EXTRA_STATE = 13
I/BluetoothA2dpService(  108): A2DP profile has been disconnected
V/BluetoothDataGatewayService(  108): #### DataGateway Service Received message 
 ####
I/BluetoothService(  108): Got ACTION_PROFILE_DISCONNECTED, profile = 2
I/BluetoothService(  108): Got ACTION_PROFILE_DISCONNECTED, profile = 3
I/BluetoothHeadsetService(  215): Headset profile has been disconnected
I/BluetoothService(  108): Got ACTION_PROFILE_DISCONNECTED, profile = 1
I/BluetoothDataGateway.cpp(  108): btlif_spp_rx_ctrl
D/BluetoothService(  108): Bluetooth state 13 -> 10
V/BluetoothDataGatewayService(  108): #### DataGateway Service Received message 
 ####
D/BluetoothServiceManager(  108): onBluetoothDisabled()
D/BluetoothServiceManager(  108): ***stopService(): Stopping service: 
bluetooth_ftp***
D/BluetoothServiceManager(  108): ***stopService(): Stopping service: 
bluetooth_pbs***
I/BluetoothPBAPService(  108): onPbapDisabled
V/BluetoothEventRedirector(  835): Received 
android.bluetooth.adapter.action.STATE_CHANGED
I/BluetoothEventRedirector(  835): EXTRA_STATE = 10
D/BluetoothServiceManager(  108): ServiceStateChanged: bluetooth_pbs, 1
D/BluetoothServiceManager(  108): Finishing service bluetooth_pbs
D/WifiService(  108): acquireWifiLockLocked: WifiLock{fring type=1 
binder=android.os.BinderProxy@463b8f80}
D/WifiService(  108): disable wifi due to updateWifiState
D/RemoteNotifier( 4406): Using real bluetooth utils

Original comment by ozjo...@gmail.com on 9 Sep 2010 at 11:27

GoogleCodeExporter commented 9 years ago
Remote Notifier ver 0.2.4

Original comment by ozjo...@gmail.com on 9 Sep 2010 at 11:32

GoogleCodeExporter commented 9 years ago
Tried once more with both machine and device being Discoverable

D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
E/RemoteNotifier( 4406): Giving up sending bluetooth notification after 11 
retries
E/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
E/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
E/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
E/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
E/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
E/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
E/BluetoothService.cpp(  108): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 4406): Sending notification: 
v2/22a100000d981363/489ca7fd86344/PING//Test notification
E/BluetoothService.cpp(  108): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
E/BluetoothService.cpp(  108): stopDiscoveryNative: D-Bus error in 
StopDiscovery: org.bluez.Error.Failed (Invalid discovery session)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier( 4406): Connecting to Bluetooth device setech’s Computer
D/RemoteNotifier( 4406): Waiting to retry
D/RemoteNotifier( 4406): java.io.IOException: Unable to start Service Discovery
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:367)
D/RemoteNotifier( 4406): at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier( 4406): at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)

Original comment by ozjo...@gmail.com on 9 Sep 2010 at 11:36

GoogleCodeExporter commented 9 years ago
Indeed, looks like the same as issue 3, my most annoying issue (annoying 'cause 
I can't reproduce it).

Original comment by rdamazio@gmail.com on 10 Sep 2010 at 2:51

GoogleCodeExporter commented 9 years ago
what machine do you have? Im a ex- apple tech. I have a 2.16ghz INtel c2Duo 
Imac. This is my BT chip

Apple Bluetooth Software Version:   2.3.3f8
  Hardware Settings:
  Address:  00-19-e3-ec-b5-f0
  Manufacturer: Cambridge Silicon Radio
  Name: setech’s Computer
  Firmware Version: 1965
  Bluetooth Power:  On
  Discoverable: Yes
  Vendor ID:    0x5ac
  Product ID:   0x8206
  HCI Version:  3 (0x3)
  HCI Revision: 1965 (0x7ad)
  LMP Version:  3 (0x3)
  LMP Subversion:   1965 (0x7ad)
  Device Type (Major):  Computer
  Device Type (Complete):   Macintosh Desktop
  Composite Class Of Device:    3670276 (0x380104)
  Device Class (Major): 1 (0x1)
  Device Class (Minor): 1 (0x1)
  Service Class:    448 (0x1c0)
  Requires Authentication:  No
  Services:
  Bluetooth File Transfer:
  Folder other devices can browse:  ~/Public
  Requires Authentication:  Yes
  State:    Enabled
  Bluetooth File Exchange:
  Folder for accepted items:    ~/Documents
  Requires Authentication:  No
  When other items are accepted:    Ask
  When PIM items are accepted:  Ask
  When receiving items: Prompt for each file
  State:    Enabled
  Devices (Paired, Favorites, etc):
  Device:
  Name: Juanito2
  Address:  38-e7-d8-28-ad-4b
  Type: Smartphone
  Firmware Version: 0000
  Services: Phonebook Access PSE, Handsfree Gateway, Object Push, BRCM Advanced Audio, Headset Gateway
  Paired:   Yes
  Favorite: No
  Connected:    No
  Manufacturer: Broadcom (0x4, 0x4217)
  Vendor ID:    0x0f
  Product ID:   0000
  Device:
  Name: setech’s keyboard
  Address:  e8-06-88-2f-da-bf
  Type: Keyboard
  Firmware Version: 0x50
  Services: Apple Wireless Keyboard
  Paired:   Yes
  Favorite: No
  Connected:    Yes
  Manufacturer: Apple (0x3, 0x31c)
  Vendor ID:    0x5ac
  Product ID:   0x239
  Incoming Serial Ports:
  Serial Port 1:
  Name: Bluetooth-PDA-Sync
  RFCOMM Channel:   3
  Requires Authentication:  Yes
  Outgoing Serial Ports:
  Serial Port 1:
  Address:  
  Name: Bluetooth-Modem
  RFCOMM Channel:   0
  Requires Authentication:  No

Original comment by ozjo...@gmail.com on 10 Sep 2010 at 3:13

GoogleCodeExporter commented 9 years ago
Ex-apple tech? Ok, maybe you can help me with this one then - do you understand 
the bluetooth spec?

Original comment by rdamazio@gmail.com on 10 Sep 2010 at 3:33

GoogleCodeExporter commented 9 years ago
I was/am a tech not an engineer.  I can help on what machines have hardware 
wise. I would totally help if i knew more on bluetooth spec. Sorry. I did check 
my log on the mac and i didnt see anything in my synch services i did see Wifi 
but no bluetooth.  

Original comment by ozjo...@gmail.com on 10 Sep 2010 at 3:42