草庐IT

onClientRegistered

全部标签

Android 停止查找 BLE 设备 : onClientRegistered() - status=133 clientIf=0

我正在开发一个应用程序,我可以在其中查找和配置BLE设备。我正在使用标准的AndroidBLEAPI,但最近我遇到了一些奇怪的问题。当我打开我的应用程序时,BLE扫描工作正常。我正在扫描使用:mBluetoothAdapter.startLeScan(mLeScanCallback);//forKitkatandbelow和mBluetoothAdapter.getBluetoothLeScanner().startScan(mScanCallback);//forLollipopandabove在Logcat中,我收到以下消息(我想这对这个问题很重要):D/BluetoothAdap