Close or reset a serial port
Hello,
Currently I have a code that opens a serial port in linux and sends data on it.
When I execute the code for a second time, It gets stuck because I'm unable to close the port.
Is there any shell script or C program using which I can close serial port? Im using Qt 4.7.4. The close(); command is not doing the job.
|