BluetoothSocket.connect() throwing exception “read failed”

前端 未结 4 1418
一向
一向 2020-12-08 17:19

I have a project that connects to a device over Bluetooth. It used to work fairly reliably, but now it fails the BluetoothSocket.connect() call every time. (W

4条回答
  •  暖寄归人
    2020-12-08 18:16

    I had the same problem while connecting to the arduino via bluetooth module.The problem only arised while connecting with arduino as it connected smoothly with another android phone bluetooth. What worked for me was changing the UUID string..

提交回复
热议问题