connycommy / liblightmodbus

A cross-platform, lightweight Modbus RTU library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A lightweight, cross-platform Modbus library

The GPL license Travis CI Coveralls


Liblightmodbus on launchpad...

liblightmodbus is a very lightweight, highly configurable, platform-independent Modbus RTU library.

Features

  • Minimal resources usage
  • Relatively easy to use
  • Supports all basic Modbus functions and allows users to define thier own Modbus function handlers
  • You can pick specific modules, you want to be included during customized build process
  • Supports register/coil access callback functions

Currently supported functions include: 01, 02, 03, 04, 05, 06, 15, 16 and 22. Check out the online documentation for more technical information and user guide.

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

Platforms on which liblightmodbus is known to run

  • 8-bit AVR (ATmega 8, ATmega 328, etc.)
  • STM32 ARM (STM32F103, STM32L151, etc.)
  • Raspberry Pi
  • i386, amd64
  • PowerPC

PPA

On Ubuntu/Debian liblightmodbus can be obtained from PPA (Personal Package Archive).

This is how to install it:

  • 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

About

A cross-platform, lightweight Modbus RTU library

License:GNU General Public License v3.0


Languages

Language:C 95.1%Language:CMake 4.6%Language:Shell 0.3%