Thanks
I will try
All the best

From: [email protected] [mailto:[email protected]] On 
Behalf Of Dave Hylands
Sent: Thursday, January 16, 2014 6:49 PM
To: [email protected]
Subject: Re: [beagleboard] Serial port C / C++ lib

Hi Bogan,

On Thu, Jan 16, 2014 at 5:35 AM, Bogdan Teodorescu 
<[email protected]<mailto:[email protected]>> 
wrote:
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.

I have a C++ SerialPort class in the following files:
https://github.com/dhylands/projects/blob/master/common/SerialPort.h
https://github.com/dhylands/projects/blob/master/common/posix/SerialPort.cpp
https://github.com/dhylands/projects/blob/master/common/mingw/SerialPort.cpp
The file in the posix directory is for linux. The file in the mingw directory 
is for win32.
I also have some generic linux serial test code here:
https://github.com/dhylands/projects/tree/master/host/sertest
https://github.com/dhylands/projects/tree/master/host/sertest-select
I've never coded for Modbus, so I don't know if there is missing functionality 
or not.

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to