I would like to send and receive data from my phone to an application on my computer that just connect to a PORT COM and can also send and receive data (like an UART). An exemple of such software (on the computer) is Termite.
For the Android app, I tried with the Bluetoothchat that Android support provides but when I try to connect to my computer, it says it is unable to connect.
I don't know if I am doing it correctly because on the computer software, you have to choose the Baud rate for the UART communication but BT has no baudrate.
Could someone enlighten me?
I had actually 2 problems going on :
private static final UUID MY_UUID_SECURE = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
(I put the same for both MY_UUID_SECURE and MY_UUID_INSECURE just to check if it was working)
And then this solved my problem. Hope it can help some people who have the same problems.