Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What modbus library should I use for modbus protocol for GCC

Tags:

gcc

modbus

We are building a product, which requires modbus communication (both rs-485 and TCP/IP). The code has to run on an embedded device which has Linux running on it. We have following criteria for the selecting the library that we would be using.

  1. It has to be opensource, since we are opensource geeks.

  2. We would give this product to our users and what their application would be we are not aware, hence it has to complete implementation of the modbus protocol.

  3. Wide user base: What we believe is that greater the users of the code, more the stability of the code.

I came across two such libraries:

http://www.freemodbus.org

and

libmodbus

Are there any more modbus libraries. Please suggest with pros and cons

like image 861
Chaitannya Avatar asked Oct 25 '22 10:10

Chaitannya


1 Answers

I'd suggest libmodbus, it works well and is cross platform.

http://www.libmodbus.org

like image 86
xmr Avatar answered Nov 08 '22 12:11

xmr