Skip to content

hyx-work/modbus-mqtt-bridge

Repository files navigation

modbus-mqtt-bridge

Manage the Modbus RTU slave through MQTT Broker.

For the configuration file, please check with config.json.

Requirements

  • libmosquitto - MQTT client library
  • libmodbus - Modbus library
  • GCC + Make - GNU C Compiler and build automation tool

Compile and Run

make
./bridge-mb-mqtt
or
./bridge-mb-mqtt-c path/to/config/jsfile

Refer

  1. https://github.com/nskygit/mqtt4modbus

如果本项目对您有所帮助,请打赏在下,不胜感激^_^

打赏

dQH1M9.png

本人微信

About

modbus RTU to mqtt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages