• Stars
    star
    279
  • Rank 147,967 (Top 3 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created over 8 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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