BluetoothSocket.connect() throwing exception “read failed”

前端 未结 4 1423
一向
一向 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:18

    Jellybean has a completely different Bluetooth stack, so version differences could certainly be triggering something, but that in itself wouldn't explain why it stays working or not-working after connecting with an older device. Could it be to do with pairing? If it happens again, try unpairing from the device and pairing again.

提交回复
热议问题