baljeetverma / android-notifier

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

Error when parring with bluetooth (sent from phone) #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I/BluetoothService(   97): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   97): Sending ACTION_DISCOVERY_FINISHED intent
D/RemoteNotifier(  519): Connecting to Bluetooth device CATHARINA-PC
D/BluetoothSppPort(  519): Creating a BluetoothSpp proxy object
D/BluetoothSppService(   97): createPort called!
D/BluetoothSppService(   97): createPort checking uuid
D/BluetoothSppService(   97): createPort 
UUID=7674047e-6e47-4bf0-831f-209e3f9dd23f auth=true encrypt=true
D/BluetoothSppService(   97): createPort enforcing bluetooth perm
D/BluetoothSppService(   97): createPort creating a jbtlspp object
D/BluetoothSppService(   97): createPort checking if the btl spp object is valid
D/BluetoothSppService(   97): createPort try to create an spp container
D/BluetoothSppService(   97): createPort try to create security params
D/BluetoothSppService(   97): createPort Set Security L2
D/BluetoothSppService(   97): createPort spp port create
D/BluetoothSppService(   97): port create returned status SUCCESS
D/BluetoothSppService(   97): port enable returned status SUCCESS
D/BluetoothSppService(   97): connectPort called!
D/BluetoothSppService(   97): connectPort received bdaddress:00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): Trying to connect to 00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): port setServiceName returned status SUCCESS
V/BluetoothEventRedirector(  582): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
V/BluetoothEventRedirector(  582): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothSocket(  519): BluetoothSocket close()
D/BluetoothSppPort(  519): BluetoothSppPort disconnect()
E/BluetoothSppPort(  519): invalid port state for disconnection
D/BluetoothSocket(  519): mSppPort.disconnect() returned true
D/BluetoothSppPort(  519): BluetoothSppPort destroy
D/BluetoothSppService(   97): destroyPort called!
D/BluetoothSppService(   97): port disconnect returned status NO_CONNECTION
D/BluetoothSppService(   97): port disable returned status SUCCESS
D/BluetoothSppService(   97): port destroy returned status SUCCESS
D/BluetoothSocket(  519): mSppPort.destroy() returned true
D/RemoteNotifier(  519): Waiting to retry
D/RemoteNotifier(  519): java.io.IOException: socket failed to connect
D/RemoteNotifier(  519):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:267)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier(  519): Connecting to Bluetooth device CATHARINA-PC
D/BluetoothSppPort(  519): Creating a BluetoothSpp proxy object
D/BluetoothSppService(   97): createPort called!
D/BluetoothSppService(   97): createPort checking uuid
D/BluetoothSppService(   97): createPort 
UUID=7674047e-6e47-4bf0-831f-209e3f9dd23f auth=true encrypt=true
D/BluetoothSppService(   97): createPort enforcing bluetooth perm
D/BluetoothSppService(   97): createPort creating a jbtlspp object
D/BluetoothSppService(   97): createPort checking if the btl spp object is valid
D/BluetoothSppService(   97): createPort try to create an spp container
D/BluetoothSppService(   97): createPort try to create security params
D/BluetoothSppService(   97): createPort Set Security L2
D/BluetoothSppService(   97): createPort spp port create
D/BluetoothSppService(   97): port create returned status SUCCESS
D/BluetoothSppService(   97): port enable returned status SUCCESS
D/BluetoothSppService(   97): connectPort called!
D/BluetoothSppService(   97): connectPort received bdaddress:00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): Trying to connect to 00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): port setServiceName returned status SUCCESS
D/BluetoothService(   97): Callback - linkConnectCnf, btErrCode = PAGE_TIMEOUT, 
bdAddr = 00:1A:6B:2E:18:EE
D/BluetoothService(   97): Callback - linkConnectInd, btErrCode = NO_ERROR, 
bdAddr = 00:24:2C:F3:DD:2E
D/BluetoothService(   97): onRemoteDeviceConnected, device 00:24:2C:F3:DD:2E is 
Paired
D/BluetoothService(   97): Sending ACTION_ACL_CONNECTED intent, address = 
00:24:2C:F3:DD:2E
D/BluetoothA2dpService(   97): Received intent with action: 
android.bluetooth.device.action.ACL_CONNECTED
D/BluetoothService(   97): Callback - accessbileChange, btErrCode = NO_ERROR, 
mode = GENERAL_ACCESSIBLE
D/BluetoothService(   97): Sending ACTION_SCAN_MODE_CHANGED intent, mode = 23
D/BluetoothService(   97): Callback - linkDisconnect, btErrCode = 
USER_TERMINATED, bdAddr = 00:24:2C:F3:DD:2E, status = NO_ERROR
D/BluetoothService(   97): Sending ACTION_ACL_DISCONNECTED intent, address = 
00:24:2C:F3:DD:2E
D/BluetoothService(   97): Callback - accessbileChange, btErrCode = NO_ERROR, 
mode = GENERAL_ACCESSIBLE
D/BluetoothService(   97): Sending ACTION_SCAN_MODE_CHANGED intent, mode = 23
D/BluetoothService(   97): Callback - linkConnectInd, btErrCode = NO_ERROR, 
bdAddr = 00:24:2C:F3:DD:2E
D/BluetoothService(   97): onRemoteDeviceConnected, device 00:24:2C:F3:DD:2E is 
Paired
D/BluetoothService(   97): Sending ACTION_ACL_CONNECTED intent, address = 
00:24:2C:F3:DD:2E
D/BluetoothA2dpService(   97): Received intent with action: 
android.bluetooth.device.action.ACL_CONNECTED
D/BluetoothService(   97): Callback - accessbileChange, btErrCode = NO_ERROR, 
mode = GENERAL_ACCESSIBLE
D/BluetoothService(   97): Sending ACTION_SCAN_MODE_CHANGED intent, mode = 23
D/BluetoothSppService(   97): port connect returned status FAILED
D/BluetoothService(   97): Callback - linkDisconnect, btErrCode = 
USER_TERMINATED, bdAddr = 00:24:2C:F3:DD:2E, status = NO_ERROR
D/BluetoothService(   97): Sending ACTION_ACL_DISCONNECTED intent, address = 
00:24:2C:F3:DD:2E
D/BluetoothService(   97): Callback - accessbileChange, btErrCode = NO_ERROR, 
mode = GENERAL_ACCESSIBLE
D/BluetoothService(   97): Sending ACTION_SCAN_MODE_CHANGED intent, mode = 23
D/BluetoothSppService(   97): port connect returned status FAILED
D/RemoteNotifier(  519): Sending notification: 
v2/2001423fa120cb98/470eac61dd91a/PING//Test notification
I/BluetoothService(   97): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   97): Sending ACTION_DISCOVERY_FINISHED intent
I/BluetoothService(   97): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   97): Sending ACTION_DISCOVERY_FINISHED intent
D/RemoteNotifier(  519): Connecting to Bluetooth device CATHARINA-PC
D/BluetoothSppPort(  519): Creating a BluetoothSpp proxy object
D/BluetoothSppService(   97): createPort called!
D/BluetoothSppService(   97): createPort checking uuid
D/BluetoothSppService(   97): createPort 
UUID=7674047e-6e47-4bf0-831f-209e3f9dd23f auth=true encrypt=true
D/BluetoothSppService(   97): createPort enforcing bluetooth perm
D/BluetoothSppService(   97): createPort creating a jbtlspp object
D/BluetoothSppService(   97): createPort checking if the btl spp object is valid
D/BluetoothSppService(   97): createPort try to create an spp container
D/BluetoothSppService(   97): createPort try to create security params
D/BluetoothSppService(   97): createPort Set Security L2
D/BluetoothSppService(   97): createPort spp port create
D/BluetoothSppService(   97): port create returned status SUCCESS
D/BluetoothSppService(   97): port enable returned status SUCCESS
D/BluetoothSppService(   97): connectPort called!
D/BluetoothSppService(   97): connectPort received bdaddress:00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): Trying to connect to 00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): port setServiceName returned status SUCCESS
V/BluetoothEventRedirector(  582): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
V/BluetoothEventRedirector(  582): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothSocket(  519): BluetoothSocket close()
D/BluetoothSppPort(  519): BluetoothSppPort disconnect()
E/BluetoothSppPort(  519): invalid port state for disconnection
D/BluetoothSocket(  519): mSppPort.disconnect() returned true
D/BluetoothSppPort(  519): BluetoothSppPort destroy
D/BluetoothSppService(   97): destroyPort called!
D/BluetoothSppService(   97): port disconnect returned status NO_CONNECTION
D/BluetoothSppService(   97): port disable returned status SUCCESS
D/BluetoothSppService(   97): port destroy returned status SUCCESS
D/BluetoothSocket(  519): mSppPort.destroy() returned true
D/RemoteNotifier(  519): Waiting to retry
D/RemoteNotifier(  519): java.io.IOException: socket failed to connect
D/RemoteNotifier(  519):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:267)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier(  519): Connecting to Bluetooth device CATHARINA-PC
D/BluetoothSppPort(  519): Creating a BluetoothSpp proxy object
D/BluetoothSppService(   97): createPort called!
D/BluetoothSppService(   97): createPort checking uuid
D/BluetoothSppService(   97): createPort 
UUID=7674047e-6e47-4bf0-831f-209e3f9dd23f auth=true encrypt=true
D/BluetoothSppService(   97): createPort enforcing bluetooth perm
D/BluetoothSppService(   97): createPort creating a jbtlspp object
D/BluetoothSppService(   97): createPort checking if the btl spp object is valid
D/BluetoothSppService(   97): createPort try to create an spp container
D/BluetoothSppService(   97): createPort try to create security params
D/BluetoothSppService(   97): createPort Set Security L2
D/BluetoothSppService(   97): createPort spp port create
D/BluetoothSppService(   97): port create returned status SUCCESS
D/BluetoothSppService(   97): port enable returned status SUCCESS
D/BluetoothSppService(   97): connectPort called!
D/BluetoothSppService(   97): connectPort received bdaddress:00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): Trying to connect to 00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): port setServiceName returned status SUCCESS
D/BluetoothSocket(  519): BluetoothSocket close()
D/BluetoothSppPort(  519): BluetoothSppPort disconnect()
E/BluetoothSppPort(  519): invalid port state for disconnection
D/BluetoothSocket(  519): mSppPort.disconnect() returned true
D/BluetoothSppPort(  519): BluetoothSppPort destroy
D/BluetoothSppService(   97): destroyPort called!
D/BluetoothSppService(   97): port disconnect returned status NO_CONNECTION
D/BluetoothSppService(   97): port disable returned status SUCCESS
D/BluetoothSppService(   97): port destroy returned status SUCCESS
D/BluetoothSocket(  519): mSppPort.destroy() returned true
D/RemoteNotifier(  519): Waiting to retry
D/RemoteNotifier(  519): java.io.IOException: socket failed to connect
D/RemoteNotifier(  519):    at 
android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:267)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.doSendNotification
(BluetoothNotificationMethod.java:162)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.BluetoothNotificationMethod.sendNotification(B
luetoothNotificationMethod.java:99)
D/RemoteNotifier(  519):    at 
org.damazio.notifier.notification.Notifier$1.run(Notifier.java:54)
D/RemoteNotifier(  519): Connecting to Bluetooth device CATHARINA-PC
D/BluetoothSppPort(  519): Creating a BluetoothSpp proxy object
D/BluetoothSppService(   97): createPort called!
D/BluetoothSppService(   97): createPort checking uuid
D/BluetoothSppService(   97): createPort 
UUID=7674047e-6e47-4bf0-831f-209e3f9dd23f auth=true encrypt=true
D/BluetoothSppService(   97): createPort enforcing bluetooth perm
D/BluetoothSppService(   97): createPort creating a jbtlspp object
D/BluetoothSppService(   97): createPort checking if the btl spp object is valid
D/BluetoothSppService(   97): createPort try to create an spp container
D/BluetoothSppService(   97): createPort try to create security params
D/BluetoothSppService(   97): createPort Set Security L2
D/BluetoothSppService(   97): createPort spp port create
D/BluetoothSppService(   97): port create returned status SUCCESS
D/BluetoothSppService(   97): port enable returned status SUCCESS
D/BluetoothSppService(   97): connectPort called!
D/BluetoothSppService(   97): connectPort received bdaddress:00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): Trying to connect to 00:1A:6B:2E:18:EE
D/BluetoothSppService(   97): port setServiceName returned status SUCCESS
What steps will reproduce the problem?
1.
2.
3.

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

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

What version of Android are you using?

Original issue reported on code.google.com by rdr...@gmail.com on 13 Sep 2010 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by rdamazio@gmail.com on 13 Sep 2010 at 9:54