Android Bluetooth Error: Socket failed (GPS iTag and android app)

33 Views Asked by At

I want to connect my GPS iTag Tracker to my app via Bluetooth and get the location from that. How do I do it? I am getting this error. What are the possible ways I could go wrong? How do I connect my GPS iTag Tracker to my app?

java.io.IOException: read failed, socket might closed or timeout, read ret: -1
                                                                                                        at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:1054)
                                                                                                        at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:1068)
                                                                                                        at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:583)
0

There are 0 best solutions below