Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encode WriteMultipleRegistersRequest using
values
length (#102)
Encode the "Byte Count" field of a WriteMultipleRegistersRequest using the length of the `values` bytes rather than multiplying `quantity` by 2. This allows the request to be used with non-standard Modbus implementations e.g. those that use 32-bit registers instead of the standard 16-bit registers.
- Loading branch information