We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56fe20c commit 7984105Copy full SHA for 7984105
1 file changed
CodingConnected.TraCI.NET/Helpers/TraCIDataConverter.cs
@@ -1226,13 +1226,6 @@ internal static TraCIResult[] HandleResponse(byte[] response)
1226
offset += 4;
1227
var subResponseLength = BitConverter.ToInt32(revSubResponseLength, 0);
1228
len += subResponseLength;
1229
-
1230
- // For some reason when the subscription is context subscription
1231
- // we need one extra byte in the len than simply adding SubResponseLength
1232
- var identifier = response.Skip(offset).First();
1233
- var identifierHighPart = identifier >> 4;
1234
- if (identifierHighPart == 0x09)
1235
- len++;
1236
}
1237
trresult.Length = --len;
1238
0 commit comments