Hi, how are you?
this is a Ubuntu 16.04.2 LTS; I need to log data from 2 serial ports at same time.
I have 2 C++ small script (attached) to log data from ttySAC0 and ttySAC2 to a 2 separate files.
if i run both at same time, data in saved file is corrupted (and i need to run at same time).
ttySAC0 run at 115200bps and ttySAC2 at 230400 bps.
Need to implement threads or other similar to fix this issue.
Thanks, regards
of course you need to use thread. two for reading data, one for storing reading to the file. I am expert on it
Relevant Skills and Experience
15 years experiences o c++ and robotics project
Proposed Milestones
$50 USD - project delivery
$50 USD in 1 day
4.9 (22 reviews)
5.0
5.0
6 freelancers are bidding on average $40 USD for this job
hi Mr,
I would love improve my skills and get the chance to work in this project, I have an experience with serial communication using c and c++, uart protocol.