diff options
| author | Martin Matuska <mm@FreeBSD.org> | 2026-08-20 01:23:34 +0000 |
|---|---|---|
| committer | Martin Matuska <mm@FreeBSD.org> | 2026-08-20 01:24:01 +0000 |
| commit | bfb155ff303f3542ea643364eb337e065628f5c2 (patch) | |
| tree | fc5e966316fa55ad7d7038be0865e93622da9368 | |
| parent | 4a25d735aaf616c23ed2131a879f3f84aeb3a4d1 (diff) | |
comms/mbpoll: New port
mbpoll is a command line utility to communicate with ModBus slave
(RTU or TCP).
mbpoll can:
read discrete inputs
read and write binary outputs (coil)
read input registers
read and write output registers (holding register)
The reading and writing registers may be in decimal, hexadecimal or
floating single precision.
| -rw-r--r-- | comms/Makefile | 1 | ||||
| -rw-r--r-- | comms/mbpoll/Makefile | 24 | ||||
| -rw-r--r-- | comms/mbpoll/distinfo | 3 | ||||
| -rw-r--r-- | comms/mbpoll/pkg-descr | 11 |
4 files changed, 39 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 573db2ee99e9..f69313a6b38d 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -97,6 +97,7 @@ SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mbelib + SUBDIR += mbpoll SUBDIR += meshcore-cli SUBDIR += mgetty+sendfax SUBDIR += minicom diff --git a/comms/mbpoll/Makefile b/comms/mbpoll/Makefile new file mode 100644 index 000000000000..1614534bda3e --- /dev/null +++ b/comms/mbpoll/Makefile @@ -0,0 +1,24 @@ +PORTNAME= mbpoll +DISTVERSIONPREFIX= v +DISTVERSION= 1.5.4 +CATEGORIES= comms + +MAINTAINER= mm@FreeBSD.org +COMMENT= Command line utility to communicate with ModBus slave (RTU/TCP) +WWW= https://github.com/epsilonrt/mbpoll + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libmodbus.so:comms/libmodbus + +USES= cmake +USE_GITHUB= yes +GH_ACCOUNT= epsilonrt + +CMAKE_ARGS+= -DLIBMODBUS_LIBRARIES="-lm -lmodbus" + +PLIST_FILES+= bin/mbpoll \ + share/man/man1/mbpoll.1.gz + +.include <bsd.port.mk> diff --git a/comms/mbpoll/distinfo b/comms/mbpoll/distinfo new file mode 100644 index 000000000000..303609dafedd --- /dev/null +++ b/comms/mbpoll/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1787188119 +SHA256 (epsilonrt-mbpoll-v1.5.4_GH0.tar.gz) = a9bcc3afa3b85b3794505d07827873ead280d96a94769d236892eb8a4fb9956f +SIZE (epsilonrt-mbpoll-v1.5.4_GH0.tar.gz) = 134802 diff --git a/comms/mbpoll/pkg-descr b/comms/mbpoll/pkg-descr new file mode 100644 index 000000000000..1a63010d3a9b --- /dev/null +++ b/comms/mbpoll/pkg-descr @@ -0,0 +1,11 @@ +mbpoll is a command line utility to communicate with ModBus slave (RTU or TCP). + +mbpoll can: + + read discrete inputs + read and write binary outputs (coil) + read input registers + read and write output registers (holding register) + +The reading and writing registers may be in decimal, hexadecimal or floating +single precision. |
