Hello,
I want to use the updated Bluetooth Chat example guide made by Erel to update the Bluetooth part of my application.
Trying to run the example, I can discover all Bluetooth devices, but when I try to connect to a Bluetooth Serial device (SPP profile), I'm getting the error:
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
If the device was not previously paired, I'm not asked to pair it.
If I manually pair the device, I'm getting the same error when I try to connect.
I'm running Android 13.
Any hints?
Thank you.
I want to use the updated Bluetooth Chat example guide made by Erel to update the Bluetooth part of my application.
Trying to run the example, I can discover all Bluetooth devices, but when I try to connect to a Bluetooth Serial device (SPP profile), I'm getting the error:
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
If the device was not previously paired, I'm not asked to pair it.
If I manually pair the device, I'm getting the same error when I try to connect.
I'm running Android 13.
Any hints?
Thank you.