蓝牙监听调整

This commit is contained in:
lishuo committed 2021-06-08 16:28:00 +08:00
1 parent 1020632757
commit 541aefe4dd
6 files changed
+25 -10

No files matched your search

@@ -138,11 +138,12 @@ namespace Assets.Scripts.Devices.Ble.Win
public bool StartWatcher()
{
this.wclWatcher.StartScan(this.wclBleManager.Radio);
return true;
return base.EnqueueAction(() =>
{
this.wclWatcher.StartScan(this.wclBleManager.Radio);
});
}
public WclBleGattThread CreateGattThread(BlePeripheralInfo info)
{
lock (locker)