Skip to content

Jacajack/liblightmodbus

Repository files navigation

A lightweight, header-only, hardware-agnostic Modbus RTU/TCP library

GitHub Build Status Coveralls branch Donate

Liblightmodbus is a lightweight, highly configurable, hardware-agnostic Modbus RTU/TCP library written in C99.

Features

  • Modbus RTU and TCP support
  • Header-only library - very easy to integrate
  • Independent from the hardware layer
  • Callback-based operation
  • User-defined memory allocator support (static memory allocation is possible)
  • Support for custom Modbus functions; 01, 02, 03, 04, 05, 06, 15, 16 and 22 are implemented by default.
  • A (very) experimental C++ interface
  • ESP-IDF component

Check the online documentation for more information.

Support

If you face any problems, please refer to the docs first. If you can't find answer to your question there, please open an issue. Hopefully this will help to form some kind of a FAQ list. If you want to help - you can contribute on Github or donate. Both donations and contributions are very welcome ❤️

Getting started