/liblightmodbus

A cross-platform, lightweight Modbus RTU library

Primary LanguageCGNU General Public License v3.0GPL-3.0

A lightweight, cross-platform Modbus library

The GPL license Travis CI Coveralls

More build results...
Library on launchpad...

liblightmodbus is a very lightweight, platform-independent Modbus RTU library. It is developed mainly with thought of embedded targets, but it is meant for personal computers as well.

Features

  • Minimal resources usage
  • Relatively easy to use
  • Supports all basic Modbus functions
  • Library can be installed as a deb package on computer
  • You can pick modules, that you want to be built

Currently supported functions include: 01, 02, 03, 04, 05, 06, 15, 16 and 22. Check wiki and docs for more technical information.

If you need help - email me. If you want to help - contribute here, on Github. All contributions are welcome!

PPA

liblightmodbus can be obtained from PPA (Personal Package Archive).

This is how to install it (if you run Ubuntu):

  • Add PPA to your system - sudo add-apt-repository ppa:mrjjot/liblightmodbus
  • Update software lists - sudo apt-get update
  • Install development package - sudo apt-get install liblightmodbus-dev