baljeetverma / android-notifier

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

error when using bluetooth #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using the program with bluetooth
2.
3.

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

Please paste the application's log here (it should now be on your
clipboard):
D/BluetoothService(   79): sdpBitToUuid, OPP
D/BluetoothService(   79): sdpBitToUuid, HSP
D/BluetoothService(   79): sdpBitToUuid, A2DP
D/BluetoothService(   79): sdpBitToUuid, AVRCP
E/BluetoothNamePreference(  565): bluetooth name is HTC Legend
V/BluetoothFtpsReceiver(  373): FtpsReceiver onReceive: 
android.bluetooth.adapter.action.STATE_CHANGED
D/BluetoothService(   79): Callback - linkConnectInd, btErrCode = NO_ERROR, 
bdAddr = 00:24:2C:F3:DD:2E
D/BluetoothService(   79): onRemoteDeviceConnected, device 00:24:2C:F3:DD:2E is 
Paired
D/BluetoothService(   79): Sending ACTION_ACL_CONNECTED intent, address = 
00:24:2C:F3:DD:2E
D/BluetoothA2dpService(   79): Received intent with action: 
android.bluetooth.device.action.ACL_CONNECTED
D/BluetoothService(   79): getUuidFromCache, address = 00:24:2C:F3:DD:2E
D/BluetoothService(   79): getUuidFromCache, getKnownDeviceInfo for 
00:24:2C:F3:DD:2E returned SDP mask 4199584
D/BluetoothService(   79): sdpMaskToUuidsList, mask = 4199584
D/BluetoothService(   79): sdpBitToUuid, OPP
D/BluetoothService(   79): sdpBitToUuid, HSP
D/BluetoothService(   79): sdpBitToUuid, A2DP
D/BluetoothService(   79): sdpBitToUuid, AVRCP
D/BluetoothService(   79): Callback - accessbileChange, btErrCode = NO_ERROR, 
mode = CONNECTABLE_ONLY
D/BluetoothService(   79): Sending ACTION_SCAN_MODE_CHANGED intent, mode = 21
E/BluetoothDiscoverableEnabler(  565): receive mode : 21
D/BluetoothService(   79): getUuidFromCache, address = 00:24:2C:F3:DD:2E
D/BluetoothService(   79): getUuidFromCache, getKnownDeviceInfo for 
00:24:2C:F3:DD:2E returned SDP mask 4199584
D/BluetoothService(   79): sdpMaskToUuidsList, mask = 4199584
D/BluetoothService(   79): sdpBitToUuid, OPP
D/BluetoothService(   79): sdpBitToUuid, HSP
D/BluetoothService(   79): sdpBitToUuid, A2DP
D/BluetoothService(   79): sdpBitToUuid, AVRCP
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.headset.action.STATE_CHANGED
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.headset.action.STATE_CHANGED
D/BluetoothService(   79): Callback - linkDisconnect, btErrCode = 
LOCAL_TERMINATED, bdAddr = 00:24:2C:F3:DD:2E, status = NO_ERROR
D/BluetoothService(   79): Sending ACTION_ACL_DISCONNECTED intent, address = 
00:24:2C:F3:DD:2E
I/BluetoothEventRedirector(  565): Failed to connect BT headset
D/BluetoothService(   79): Callback - accessbileChange, btErrCode = NO_ERROR, 
mode = CONNECTABLE_ONLY
D/BluetoothService(   79): Sending ACTION_SCAN_MODE_CHANGED intent, mode = 21
E/BluetoothDiscoverableEnabler(  565): receive mode : 21
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.headset.action.STATE_CHANGED
D/BluetoothService(   79): getUuidFromCache, address = 00:24:2C:F3:DD:2E
D/BluetoothService(   79): getUuidFromCache, getKnownDeviceInfo for 
00:24:2C:F3:DD:2E returned SDP mask 4199584
D/BluetoothService(   79): sdpMaskToUuidsList, mask = 4199584
D/BluetoothService(   79): sdpBitToUuid, OPP
D/BluetoothService(   79): sdpBitToUuid, HSP
D/BluetoothService(   79): sdpBitToUuid, A2DP
D/BluetoothService(   79): sdpBitToUuid, AVRCP
D/BluetoothA2dpService(   79): Auto-connecting A2DP to sink 00:24:2C:F3:DD:2E
I/BluetoothA2dpService(   79): connectSink(00:24:2C:F3:DD:2E)
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.a2dp.action.SINK_STATE_CHANGED
D/BluetoothA2dpService(   79): SepStorage.mapSep: Adding SEP with BD address 
00:24:2C:F3:DD:2E and stream ID 0
D/BluetoothService(   79): Callback - linkConnectCnf, btErrCode = NO_ERROR, 
bdAddr = 00:24:2C:F3:DD:2E
D/BluetoothService(   79): onRemoteDeviceConnected, device 00:24:2C:F3:DD:2E is 
Paired
D/BluetoothService(   79): Sending ACTION_ACL_CONNECTED intent, address = 
00:24:2C:F3:DD:2E
D/BluetoothA2dpService(   79): Received intent with action: 
android.bluetooth.device.action.ACL_CONNECTED
D/BluetoothService(   79): getUuidFromCache, address = 00:24:2C:F3:DD:2E
D/BluetoothService(   79): getUuidFromCache, getKnownDeviceInfo for 
00:24:2C:F3:DD:2E returned SDP mask 4199584
D/BluetoothService(   79): sdpMaskToUuidsList, mask = 4199584
D/BluetoothService(   79): sdpBitToUuid, OPP
D/BluetoothService(   79): sdpBitToUuid, HSP
D/BluetoothService(   79): sdpBitToUuid, A2DP
D/BluetoothService(   79): sdpBitToUuid, AVRCP
D/BluetoothService(   79): Callback - accessbileChange, btErrCode = NO_ERROR, 
mode = CONNECTABLE_ONLY
D/BluetoothService(   79): Sending ACTION_SCAN_MODE_CHANGED intent, mode = 21
E/BluetoothDiscoverableEnabler(  565): receive mode : 21
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.headset.action.STATE_CHANGED
I/BluetoothEventRedirector(  565): Failed to connect BT headset
I/BluetoothA2dpService(   79): connectSink(00:24:2C:F3:DD:2E)
E/BluetoothA2dpService(   79): connectSink: request to connect 
00:24:2C:F3:DD:2EWhen it's state is 1
I/BluetoothA2dpService(   79): BluetoothA2dpService.getConfigInd called with 
StreamId 0, A2DP error: 0, status: 0
E/BluetoothA2dpConnectSM(   79): ****** request the AVRCP service to connect
E/BluetoothA2dpConnectSM(   79): ****** address: 00:24:2C:F3:DD:2E
D/BluetoothAvrcpService(   79): connectCt:Entered
I/BluetoothAvrcpService(   79): connectCt: Attempting to connect to 
(00:24:2C:F3:DD:2E)
D/BluetoothAvrcpService(   79): connectCt: Finding an available channel instance
D/BluetoothAvrcpChannel[#2](   79): connectCt: Entered 
(address:00:24:2C:F3:DD:2E)
D/BluetoothAvrcpChannel[#2](   79): ConnectCmdHandler: Entered
D/BluetoothAvrcpChannel[#2](   79): ConnectCmdHandler: Calling 
mJBtlAvrcptg.connect(00:24:2C:F3:DD:2E)
D/BluetoothAvrcpChannel[#2][id:0](   79): ConnectCmdHandler: connect returned 
PENDING
D/BluetoothAvrcpChannel[#2][id:0](   79): notifyStateChanged: Entered
D/BluetoothAvrcpChannel[#2][id:0](   79): notifyStateChanged:Sending intent
D/BluetoothAvrcpChannel[#2][id:0](   79): sendStateChnangedIntent: State 
Changed from 0->1
D/BluetoothAvrcpChannel[#2][id:0](   79): notifyStateChanged: calling 
callback's stateChanged
D/BluetoothA2dpService(   79): Received intent with action: 
android.bluetooth.avrcp.intent.action.CT_STATE_CHANGED
D/BluetoothA2dpService(   79): received AVRCP CT state changed intent from 
00:24:2C:F3:DD:2E, prevState:0, currState:1
D/BluetoothAvrcpService(   79): stateChanged: Entered. prevState:0, 
currentState:1
I/BluetoothAvrcpChannel(   79): ConnectCmdHandler: Connection in progress, 
ChannelId:0
D/BluetoothAvrcpChannel[#2][id:0](   79): connectCt: Exiting
D/BluetoothAvrcpService(   79): connectCt: channel.connecCt returned PENDING
D/BluetoothAvrcpService(   79): connectCt: Adding channel to mapped channels. 
address:00:24:2C:F3:DD:2E, channelId:0
D/BluetoothAvrcpChannelStorage(   79): BluetoothAvrcpChannelStorage.mapChannel: 
Mapping Channel. Address:00:24:2C:F3:DD:2E, Id:0
D/BluetoothAvrcpService(   79): connectCt:Exiting
I/BluetoothAvrcpService(   79): disconnect: Entered
D/BluetoothAvrcpService(   79): disconnect: ChannelId:0, 
status:INVALID_STATUS_CODE
D/BluetoothAvrcpChannel[#2][id:0](   79): disconnectedInd: Entered, 
bdAddr:00:24:2C:F3:DD:2E, status: INVALID_STATUS_CODE
D/BluetoothAvrcpChannel[#2][id:0](   79): DisconnectedCmdHandler: Entered, 
currentState:CONNECTING
D/BluetoothAvrcpChannel[#2][id:0](   79): notifyStateChanged: Entered
D/BluetoothAvrcpChannel[#2][id:0](   79): notifyStateChanged:Sending intent
D/BluetoothAvrcpChannel[#2][id:0](   79): sendStateChnangedIntent: State 
Changed from 1->0
D/BluetoothA2dpService(   79): Received intent with action: 
android.bluetooth.avrcp.intent.action.CT_STATE_CHANGED
D/BluetoothA2dpService(   79): received AVRCP CT state changed intent from 
00:24:2C:F3:DD:2E, prevState:1, currState:0
D/BluetoothAvrcpChannel[#2][id:0](   79): notifyStateChanged: calling 
callback's stateChanged
D/BluetoothAvrcpService(   79): stateChanged: Entered. prevState:1, 
currentState:0
D/BluetoothAvrcpService(   79): stateChanged: Channel (0) disconnected, 
unmapping it from channel storage. Channel State:1
D/BluetoothAvrcpChannelStorage(   79): 
BluetoothAvrcpChannelStorage.unmapChannel: Removing Channel with channel ID 
I/BluetoothAvrcpChannel(   79): Disconnected from 00:24:2C:F3:DD:2E
D/BluetoothAvrcpChannel[#2][id:0](   79): clearMembers: Clearing bd address, 
channel id, etc.
I/BluetoothA2dpService(   79): BluetoothA2dpService.streamOpen called with 
StreamId 0, A2DP error: 0, status: 0
I/BluetoothA2dpService(   79): BluetoothA2dpService.streamConfigured called 
with StreamId 0, A2DP error: 0, status: 0
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.a2dp.action.SINK_STATE_CHANGED
I/BluetoothService(   79): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   79): Sending ACTION_DISCOVERY_FINISHED intent
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothService(   79): getUuidFromCache, address = 00:24:2C:F3:DD:2E
D/BluetoothService(   79): getUuidFromCache, getKnownDeviceInfo for 
00:24:2C:F3:DD:2E returned SDP mask 4199584
D/BluetoothService(   79): sdpMaskToUuidsList, mask = 4199584
D/BluetoothService(   79): sdpBitToUuid, OPP
D/BluetoothService(   79): sdpBitToUuid, HSP
D/BluetoothService(   79): sdpBitToUuid, A2DP
D/BluetoothService(   79): sdpBitToUuid, AVRCP
D/BluetoothA2dpService(   79): Auto-connecting A2DP to sink 00:24:2C:F3:DD:2E
I/BluetoothA2dpService(   79): connectSink(00:24:2C:F3:DD:2E)
E/BluetoothA2dpService(   79): connectSink: request to connect 
00:24:2C:F3:DD:2EWhen it's state is 2
D/RemoteNotifier( 6011): Sending notification: 
v2/2001423fa120cb98/471b70c4efe72/PING//Test notification
I/BluetoothService(   79): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   79): Sending ACTION_DISCOVERY_FINISHED intent
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
I/BluetoothService(   79): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   79): Sending ACTION_DISCOVERY_FINISHED intent
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/RemoteNotifier( 6011): Connecting to Bluetooth device RENÉDOMINO-PC
D/BluetoothSppPort( 6011): connected to device service!
D/BluetoothSppPort( 6011): Creating a BluetoothSpp proxy object
D/BluetoothSppService(   79): createPort called!
D/BluetoothSppService(   79): createPort checking uuid
D/BluetoothSppService(   79): createPort 
UUID=7674047e-6e47-4bf0-831f-209e3f9dd23f auth=true encrypt=true
D/BluetoothSppService(   79): createPort enforcing bluetooth perm
D/BluetoothSppService(   79): createPort creating a jbtlspp object
D/BluetoothSppService(   79): createPort checking if the btl spp object is valid
D/BluetoothSppService(   79): createPort try to create an spp container
D/BluetoothSppService(   79): createPort try to create security params
D/BluetoothSppService(   79): createPort Set Security L2
D/BluetoothSppService(   79): createPort spp port create
D/BluetoothSppService(   79): port create returned status SUCCESS
D/BluetoothSppService(   79): port enable returned status SUCCESS
D/BluetoothSppService(   79): connectPort called!
D/BluetoothSppService(   79): connectPort received bdaddress:00:24:2C:F3:DD:2E
D/BluetoothSppService(   79): Trying to connect to 00:24:2C:F3:DD:2E
D/BluetoothSppService(   79): port setServiceName returned status SUCCESS
D/BluetoothSppService(   79): connected called!
D/BluetoothSocket( 6011): SppPort connected()
D/BluetoothSppService(   79): port connect returned status SUCCESS
D/BluetoothSocket( 6011): BluetoothSocket close()
D/BluetoothSppPort( 6011): BluetoothSppPort disconnect()
D/BluetoothSppService(   79): disconnectPort called!
D/BluetoothSppService(   79): port disconnect returned status SUCCESS
D/BluetoothSocket( 6011): mSppPort.disconnect() returned true
D/BluetoothSppPort( 6011): BluetoothSppPort destroy
D/BluetoothSppService(   79): close called!
D/BluetoothSppService(   79): destroyPort called!
D/BluetoothSppService(   79): port disconnect returned status SUCCESS
D/BluetoothSppService(   79): port disable returned status SUCCESS
D/BluetoothSppService(   79): port destroy returned status SUCCESS
D/BluetoothSocket( 6011): mSppPort.destroy() returned true
D/RemoteNotifier( 6011): Sent notification over Bluetooth (0 retries).
D/RemoteNotifier( 6011): Sending notification: 
v2/2001423fa120cb98/471b70cb70c2a/PING//Test notification
I/BluetoothService(   79): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   79): Sending ACTION_DISCOVERY_FINISHED intent
I/BluetoothService(   79): mJBtlBmg.cancelSearch() completed sychronously
D/BluetoothService(   79): Sending ACTION_DISCOVERY_FINISHED intent
D/RemoteNotifier( 6011): Connecting to Bluetooth device RENÉDOMINO-PC
D/BluetoothSppPort( 6011): Creating a BluetoothSpp proxy object
D/BluetoothSppService(   79): createPort called!
D/BluetoothSppService(   79): createPort checking uuid
D/BluetoothSppService(   79): createPort 
UUID=7674047e-6e47-4bf0-831f-209e3f9dd23f auth=true encrypt=true
D/BluetoothSppService(   79): createPort enforcing bluetooth perm
D/BluetoothSppService(   79): createPort creating a jbtlspp object
D/BluetoothSppService(   79): createPort checking if the btl spp object is valid
D/BluetoothSppService(   79): createPort try to create an spp container
D/BluetoothSppService(   79): createPort try to create security params
D/BluetoothSppService(   79): createPort Set Security L2
D/BluetoothSppService(   79): createPort spp port create
D/BluetoothSppService(   79): port create returned status SUCCESS
D/BluetoothSppService(   79): port enable returned status SUCCESS
D/BluetoothSppService(   79): connectPort called!
D/BluetoothSppService(   79): connectPort received bdaddress:00:24:2C:F3:DD:2E
D/BluetoothSppService(   79): Trying to connect to 00:24:2C:F3:DD:2E
D/BluetoothSppService(   79): port setServiceName returned status SUCCESS
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
V/BluetoothEventRedirector(  565): Received 
android.bluetooth.adapter.action.DISCOVERY_FINISHED
D/BluetoothSppService(   79): connected called!
D/BluetoothSocket( 6011): SppPort connected()
D/BluetoothSppService(   79): port connect returned status SUCCESS
D/BluetoothSocket( 6011): BluetoothSocket close()
D/BluetoothSppPort( 6011): BluetoothSppPort disconnect()
D/BluetoothSppService(   79): disconnectPort called!
D/BluetoothSppService(   79): port disconnect returned status SUCCESS
D/BluetoothSocket( 6011): mSppPort.disconnect() returned true
D/BluetoothSppPort( 6011): BluetoothSppPort destroy
D/BluetoothSppService(   79): destroyPort called!
D/BluetoothSppService(   79): port disconnect returned status SUCCESS
D/BluetoothSppService(   79): close called!
D/BluetoothSppService(   79): port disable returned status SUCCESS
D/BluetoothSppService(   79): port destroy returned status SUCCESS
D/BluetoothSocket( 6011): mSppPort.destroy() returned true
D/RemoteNotifier( 6011): Sent notification over Bluetooth (0 retries).

What version of Android are you using?
2.1 HTC Legend

Original issue reported on code.google.com by rdr...@gmail.com on 24 Sep 2010 at 10:54

GoogleCodeExporter commented 9 years ago
"An error" isn't helpful - what is the error? Also, which desktop application 
are you using?

Original comment by rdamazio@gmail.com on 27 Sep 2010 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by rdamazio@gmail.com on 31 Oct 2010 at 5:14