Hi,
I want to connect my phone to a BT module MLT-BT05-V4.0 with which to change some ASCII code information. I use the attached code. Device identification is correct but when I try to connect to one of them I get an error message:
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
Do you have any idea what's wrong? From the phone using another application, I can communicate with the BT module.
It is possible that the BT module is listening on a UUID other than the default one (00001101-0000-1000-8000-00805F9B34FB). In that case you need to use Connect2 with the correct UUID.