修改细节,修复bug

This commit is contained in:
Caiyanpeng committed 2022-04-01 18:07:16 +08:00
1 parent 06aefb93c4
commit 30e09c9c7a
15 files changed
+3566 -3347

No files matched your search

@@ -52,6 +52,7 @@ namespace Assets.Scripts.Devices.Ble.Devices
{
Debug.Log("中控台获取");
this.controlPointCharacteristic = character;
C2RowerData.IsEnabled = false;
}
else if (character.MatchGuid(ServiceUuids.Characteristics.RowerData))
{
@@ -79,7 +80,7 @@ namespace Assets.Scripts.Devices.Ble.Devices
else if (character.MatchGuid(ServiceUuids.Characteristics.C2RowerCourse))
{
Debug.Log("c2划船机课程数据" + service.Id);
//C2RowerData.IsEnabled = true;
C2RowerData.IsEnabled = true;
this.hwInterface.SubscribeCharacteristic(character, null);
}
else if (character.MatchGuid(ServiceUuids.Characteristics.C2RowerControl))