修改细节
This commit is contained in:
1 parent
baab5a9fb0
commit
9a545f00f4
11 files changed
+1191
-1175
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user