在 android 中,我使用 BLE 两种模式作为外设和客户端。但我想检查isBLeGattClientSupported()
isBLeGattClientSupported()
正如我们所知,android 中的某些设备无法充当 BLE Gatt 客户端,因此只想抛出此类设备无法充当客户端的异常。
我有 BLE 过去的其余部分,我的代码在两种模式下都可以正常工作,但是当我告诉我的设备充当客户端并且该设备无法充当客户端时卡住了。
android bluetooth-lowenergy
android ×1
bluetooth-lowenergy ×1