Hello
I want to use BBB to read serial devices with serial Modbus protocol. Is there a library to include in C/C++ code to read/write from serial port (actually
USB adapter ttyUSB0), better a Modbus library for the serial port.
Thanks a lot
Bogdan
Hi,
I want to use BBB to read serial devices with serial Modbus protocol. Is
there a library to include in C/C++ code to read/write from serial port
(actually
USB adapter ttyUSB0), better a Modbus library for the serial port.
We use libmodbus supporting MODBUS-RTU and -TCP: http://libmodbus.org/
Cross-Compiling it for ARM works fine with (tweak it for your own toolchain):
./configure --host=arm-angstrom-linux-gnueabi --build=x86_64 ...