mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
mbpoll: Modbus command line interface
mbpoll is a command line interface to Modbus RTU & TCP, it is based on libmodbus Signed-off-by: Jens Wagner <jens@wagner2013.de>
This commit is contained in:
committed by
Josef Schlehofer
parent
9044134aa2
commit
3c55123696
37
utils/mbpoll/Makefile
Normal file
37
utils/mbpoll/Makefile
Normal file
@@ -0,0 +1,37 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mbpoll
|
||||
PKG_VERSION:=1.5.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/epsilonrt/mbpoll/archive/refs/tags/v$(PKG_VERSION).tar.gz?
|
||||
PKG_HASH:=7d960cd4459b5f7c2412abc51aba93a20b6114fd75d1de412b1e540cfb63bfec
|
||||
|
||||
PKG_MAINTAINER:=Jens Wagner <jens@wagner2013.de>
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/mbpoll
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Command line utility to communicate with Modbus slaves (RTU/TCP)
|
||||
URL:=https://epsilonrt.fr/
|
||||
DEPENDS:=+libmodbus
|
||||
endef
|
||||
|
||||
define Package/mbpoll/description
|
||||
mbpoll is a command line utility to communicate with Modbus slaves
|
||||
(RTU/TCP). It can handle discrete inputs, binary outputs (coils),
|
||||
input registers and write output registers (holding registers)
|
||||
endef
|
||||
|
||||
define Package/mbpoll/install
|
||||
$(INSTALL_DIR) $(1)/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mbpoll $(1)/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mbpoll))
|
||||
Reference in New Issue
Block a user