Releases: grid-x/modbus
Releases · grid-x/modbus
v1.4
v1.3
What's Changed
- Fix staticcheck findings (yoda questions, result not used) by @andig in #58
- Simplify logger implementation by @andig in #71
- Use embedded fields directly by @andig in #67
- Validate length of read result against request by @andig in #53
- Bump to Go version 1.21 by @hnicolaysen in #83
- Fix races in unit-tests by @srebhan in #82
- Implement Modbus UDP by @StefanNienhuis in #85
- Enhanced Logging Interface by @ValentinMontmirail in #80
- Return data of too large responses by @srebhan in #81
- Return to minimal logger interface by @andig in #88
- Modbus Cli // Add support for int16 and int32 types by @mochaibi in #92
- Simplify settings timeouts by @andig in #91
- Simplify and reduce allocations by @andig in #94
- feat(tcp): support modbus tls over tcp by @joschahenningsen in #95
- Prevent falsy comparison against nil
net.Conn
by @antoineco in #96 - Allow disabling connection caching in TCP client handler by @antoineco in #101
- feat!: implement cancelation across clients by @joschahenningsen in #102
- fix: Update .goreleaser.yaml to v2 by @joschahenningsen in #103
New Contributors
- @srebhan made their first contribution in #82
- @StefanNienhuis made their first contribution in #85
- @ValentinMontmirail made their first contribution in #80
- @mochaibi made their first contribution in #92
- @joschahenningsen made their first contribution in #95
Full Changelog: v1.2...v1.3
modbus-cli v1.1
v1.1
What's Changed
- fix: flush read buffer before writing request by @guelfey in #36
- chore: bump build image to go 1.15 by @philippfranke in #37
- fix(ci): enable --init for docker run by @jhedev in #38
- feat(cmd/modbus-cli): support coil read by @frzifus in #39
- feat: add property based tests for encoding/decoding by @jhedev in #33
- Add connect delay by @andig in #44
- Use current go idioms by @andig in #43
- fix: print original function code for exceptions by @guelfey in #47
- fix: retry reading query response on transaction id mismatch by @guelfey in #49
- feat(tcpclient): added skipping of transaction mismatches by more than one packet by @Carelo in #51
- Wrap open error with device name for context by @andig in #54
- Use time.Since by @andig in #57
- Fix Modbus-CLI for WriteMultipleRegisters by @tretmar in #61
- feat(cmd/modbus-cli): support writing single coil by @frzifus in #42
- feat(modbus-cli): add option to print out different encoding options by @tretmar in #62
New Contributors
- @guelfey made their first contribution in #36
- @philippfranke made their first contribution in #37
- @Carelo made their first contribution in #51
- @tretmar made their first contribution in #61
Full Changelog: v1.0...v1.1
modbus-cli v1.0
First release version of the Modbus-cli tool. All binaries were built statically.
Usage of ./modbus-cli:
-address string
Example: tcp://127.0.0.1:502, rtu:///dev/ttyUSB0 (default "tcp://127.0.0.1:502")
-filename string
-fn-code int
fn (default 3)
-ignore-crc
ignore crc
-log-frame
prints received and send modbus frame to stdout
-order-exec-bigendian
t: big, f: little (default true)
-order-parse-bigendian
t: big, f: little (default true)
-quantity int
register quantity, length in bytes (default 2)
-register int
(default -1)
-rs485-delayRtsAfterSend duration
Delay rts after send
-rs485-delayRtsBeforeSend duration
Delay rts before send
-rs485-enable
enables rs485 cfg
-rs485-rtsHighAfterSend
Allow rts high after send
-rs485-rtsHighDuringSend
Allow rts high during send
-rs485-rxDuringTx
Allow bidirectional rx during tx
-rtu-baudrate int
Symbol rate, e.g.: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400 (default 2400)
-rtu-databits int
5, 6, 7 or 8 (default 8)
-rtu-parity string
Parity: N - None, E - Even, O - Odd (default "E")
-rtu-stopbits int
1 or 2 (default 1)
-slaveID int
Is used for intra-system routing purpose, typically for serial connections, TCP default 0xFF (default 1)
-tcp-timeout-link-recovery duration
Link timeout (default 20s)
-tcp-timeout-protocol-recovery duration
Proto timeout (default 20s)
-timeout duration
Modbus connection timeout (default 20s)
-type-exec string
(default "uint16")
-type-parse string
(default "raw")
-write-value float
(default 1.7976931348623157e+308)