I am having issue in bluetooth communication between devcies.i want to display message on second device send from one device to another device over bluetooth.the device from i am sending message is having bluetooth 3.0 and receiving device is having bluetooth 2.1.I am getting exception during connection.
BEGIN mConnectThread SocketType:Insecure
07-25 18:58:51.563: I/BluetoothSocket_MTK(3499): [JSR82] connect: do SDP
07-25 18:58:51.563: I/BluetoothSocket_MTK(3499): [JSR82] close
07-25 18:58:51.563: I/BluetoothSocket_MTK(3499): [JSR82] readLock got.
07-25 18:58:51.565: E/BluetoothChatService(3499): unable to close() Insecure socket during connection failure
07-25 18:58:51.565: E/BluetoothChatService(3499): java.io.IOException: [JSR82] close: abort() failed.
07-25 18:58:51.565: E/BluetoothChatService(3499): at android.bluetooth.BluetoothSocket.close(BluetoothSocket.java:443)
07-25 18:58:51.565: E/BluetoothChatService(3499): at com.alw.mdairy.BluetoothChatService$ConnectThread.run(BluetoothChatService.java:441)
07-25 18:58:51.565: D/BluetoothChatService(3499): start
07-25 18:58:51.565: I/BluetoothSocket_MTK(3499): [JSR82] close
07-25 18:58:51.565: I/BluetoothSocket_MTK(3499): [JSR82] readLock got.
07-25 18:58:51.567: E/BluetoothChatService(3499): close() of connect Insecure socket failed
07-25 18:58:51.567: E/BluetoothChatService(3499): java.io.IOException: [JSR82] close: abort() failed.
07-25 18:58:51.567: E/BluetoothChatService(3499): at android.bluetooth.BluetoothSocket.close(BluetoothSocket.java:443)
07-25 18:58:51.567: E/BluetoothChatService(3499): at com.alw.mdairy.BluetoothChatService$ConnectThread.cancel(BluetoothChatService.java:461)
07-25 18:58:51.567: E/BluetoothChatService(3499): at com.alw.mdairy.BluetoothChatService.start(BluetoothChatService.java:120)
07-25 18:58:51.567: E/BluetoothChatService(3499): at com.alw.mdairy.BluetoothChatService.connectionFailed(BluetoothChatService.java:287)
07-25 18:58:51.567: E/BluetoothChatService(3499): at com.alw.mdairy.BluetoothChatService.access$4(BluetoothChatService.java:278)
07-25 18:58:51.567: E/BluetoothChatService(3499): at com.alw.mdairy.BluetoothChatService$ConnectThread.run(BluetoothChatService.java:446)
07-25 18:58:51.567: D/BluetoothChatService(3499): setState() 2 -> 1
07-25 18:58:51.567: I/BluetoothSocket_MTK(3499): [JSR82] Bluetooth Socket Constructor
0 comments:
Post a Comment