I think this code has some problem:
When Read a Holding Reg ,but the Slave doesn't exist ,so there is no response
,so this function will enter to a endless loop state
public virtual byte[] Read(int count)
{
byte[] frameBytes = new byte[count];
int numBytesRead = 0;
while (numBytesRead != count)
numBytesRead += StreamResource.Read(frameBytes, numBytesRead, count - numBytesRead);
return frameBytes;
}
Original issue reported on code.google.com by AlexKing...@gmail.com on 3 Aug 2010 at 3:32
Original issue reported on code.google.com by
AlexKing...@gmail.com
on 3 Aug 2010 at 3:32