修改细节

This commit is contained in:
Caiyanpeng committed 2021-11-08 13:07:08 +08:00
1 parent baab5a9fb0
commit 9a545f00f4
11 files changed
+1191 -1175

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ namespace Assets.Scripts.Devices.Ble.Devices
{
if (characteristic.MatchGuid(item.Uuid))
{
//Debug.Log(string.Join(",", response.Data));
Debug.Log(string.Join(",", response.Data));
item.HandleAttributeReceived(response.Data);
}
}
+2 -2
View File
@@ -85,9 +85,9 @@ namespace Assets.Scripts.Devices.Ble.Devices
{
foreach (var item in base.Characteristics)
{
if (characteristic.MatchGuid(item.Uuid) || otherGuids.Contains(item.Uuid))
if (characteristic.MatchGuid(item.Uuid) || otherGuids.Contains(characteristic.Id))
{
//Debug.Log(string.Join(",", response.Data));
Debug.Log(string.Join(",", response.Data));
item.HandleAttributeReceived(response.Data);
}
}