fix(ReadStatusAsync): Fix index of status in response message

This commit is contained in:
Michael Croes
2023-08-01 22:52:44 +02:00
parent e5823f2806
commit c3934c3493

View File

@@ -322,7 +322,7 @@ namespace S7.Net
var dataToSend = BuildSzlReadRequestPackage(0x0424, 0);
var s7data = await RequestTsduAsync(dataToSend, cancellationToken);
return (byte) (s7data[94] & 0x0f);
return (byte) (s7data[37] & 0x0f);
}
/// <summary>