我在我的项目中使用了android.bluetooth包,但我尝试实现IBluetoothGatt的读写特性。但我有一个像下面IBluetoothGatt接口 public final class BluetoothGatt implements BluetoothProfile {
private static final String TAG = "BluetoothGatt";
我试图开发一个应用程序,通过BLE连接到我的来自德克萨斯州的CC2650传感器标签。 我能够使用GATT协议连接到我的标签问题是,如果我连接时连接失败,它不会恢复。但是,如果我将手机重新连接到设备,并重复此过程(关闭并打开标签),它会自动重新连接到手机。 我只是不明白第一个行为和重新连接后的区别... 任何想法? Alex