Home > Blockchain >  open , write and read on ttys (comport or serial port) in linux by cpp
open , write and read on ttys (comport or serial port) in linux by cpp

Time:10-30

i want to get available com ports in Linux (ttys) and write array in one of them by c console app . i read this question Read 0 bytes after writing to /dev/ttyS0 i want a sample like this in cpp

CodePudding user response:

this is full sample : linux-serial-ports-using-c-cpp

  • Related