Merge remote-tracking branch 'origin/fit_speed_device' into dev_mobile_ble
# Conflicts: # Assets/Scripts/Devices/Ble/Devices/SpeedCadence.cs
This commit is contained in:
commit
a67602b00b
7 files changed
+82
-10
No files matched your search
@@ -128,7 +128,7 @@ namespace Assets.Scripts.Devices.Ble.Win
|
||||
}
|
||||
}
|
||||
|
||||
public override bool Stop()
|
||||
public void StopGattThreads()
|
||||
{
|
||||
Debug.Log("停止thread");
|
||||
foreach (var item in this.gattClients.Values)
|
||||
@@ -136,9 +136,8 @@ namespace Assets.Scripts.Devices.Ble.Win
|
||||
item.Stop();
|
||||
}
|
||||
|
||||
wclBleManager.Dispose();
|
||||
|
||||
return true;
|
||||
//wclBleManager.Dispose();
|
||||
//return true;
|
||||
}
|
||||
|
||||
public string Test()
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace Assets.Scripts.Ble
|
||||
// manager,
|
||||
// status
|
||||
//}, WclBleManager.log);
|
||||
callback(manager, status);
|
||||
callback?.Invoke(manager, status);
|
||||
}
|
||||
|
||||
// Token: 0x04001390 RID: 5008
|
||||
|
||||
Reference in new issue
Block a user