modbus 组包优化
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
byteBlock.Pos = byteBlock.Len;
|
||||
request.ReceivedBytes = allBytes;
|
||||
request.Message = unpackbytes.Message;
|
||||
if(allBytes.Length<=1)
|
||||
if(allBytes.Length<=4)
|
||||
{
|
||||
return FilterResult.Cache;
|
||||
}
|
||||
|
Reference in New Issue
Block a user