Awesome Open Source
Awesome Open Source

A lightweight, 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
  • Independent from the hardware layer
  • Modular structure helps to minimize the resource usage
  • 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 technical 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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C (276,465
Cross Platform (3,287
Lightweight (1,373
Communication (786
Avr (729
Modbus (297
Related Projects