-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
HC-05 is found but the connect thread will not connect.
try {
// Connect to the remote device through the socket. This call blocks
// until it succeeds or throws an exception.
mmSocket.connect(); //Here is the failure point
} catch (IOException connectException) {
// Unable to connect; close the socket and return.
handler.obtainMessage(ERROR_READ, "Unable to connect to the BT device").sendToTarget();
Log.e(TAG, "connectException: " + connectException);
try {
mmSocket.close();
} catch (IOException closeException) {
Log.e(TAG, "Could not close the client socket", closeException);
}
return;
}
PLEASE HELP ME WITH THIS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels