Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

259
Views
Test and log serial port commands with qt in a virtual serial port

I have a program written in c++/QT communicating with external devices via the serial port. Now I want to log what the program is writing, and what receiving, but without interfering with the program. Thus I wanted to create a virtual serial port connecting the logging program and the original program, while the logging program is connected to the real serial port. That would enable two things: Logging of the commands without interfering, and enabling a test mode, where the logging program just writes values back without being connected to a real serial port.
My problem is: When using socat, I run in the problem described here. When using tty0tty, I get a compilation error described here.
Thus, what can I do in order to place a logging program in between the original program and the serial port? The original program uses QSerialPortInfo in order to get the available serial ports, rendering socat useless.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!