如何判断与Android BluetoothGatt对象关联的设备是否已连接?

时间:2016-12-31 02:25:23

标签: android bluetooth bluetooth-lowenergy

documentation for BluetoothGatt表示连接和断开连接的方法,但没有方法指示设备当前是否已连接。我正在寻找的iOS模拟版本为CBPeripheral.state

我是否必须通过BluetoothGattCallback方法自行跟踪连接站,或者我可以为此调用一种方法吗?

0 个答案:

没有答案