4 releases (breaking)

new 0.4.0 Apr 21, 2025
0.3.0 Jun 26, 2024
0.2.0 Mar 5, 2024
0.1.3 Feb 29, 2024

#7 in #tokio-modbus


Used in modbus-mapping

MIT license

33KB
723 lines

Macros to derive the modbus-mapping traits


modbus-mapping

An API for Modbus Register Mapppings based on tokio-modbus

Docs.rs crates.io

Repo URL

Usage

Check examples folder for usage.

The device and client examples pair is to be run at the same time in two different terminals. The RTU examples assume that virtual serial port has been created beforehand

socat -d -d pty,raw,echo=0,link=/tmp/ttys001 pty,raw,echo=0,link=/tmp/ttys002

Development

Check justfile.

Dependencies

~195–630KB
~15K SLoC