miranhelbl / nmodbus

Automatically exported from code.google.com/p/nmodbus
0 stars 0 forks source link

UnicastMessage patch #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Attached is a patch for the ModbusTransport UnicastMessage method.

The patch provides the following:

 * lock added to solve multi-threading issues.
 * Only retries for SlaveException when it receives SLAVE BUSY exception codes.
 * Now retries due to FormatException.

Original issue reported on code.google.com by mccle...@googlemail.com on 12 Jun 2008 at 11:22

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch, have a look at the trunk to ensure you agree with my 
modifications.

Original comment by sja...@gmail.com on 13 Jun 2008 at 9:36