Qt serial port programming ctrl commands not working
Unsolved
Independent Developers
-
wrote on 8 May 2018, 06:38 last edited by Kesav 5 Aug 2018, 06:39
Hi,
I am new to Qt serial programming and i would like to write the ctrl commands like 'Ctrl+D' or 'Ctrl+Z' over serial port to the device which is connected in my PC.
I have tried following syntaxes but didnt work.- serialport.write("04\r\n");
2.serialport.write("\x04");
Can anyone help me on this?
Regards
Kesav - serialport.write("04\r\n");
-
Hi,
What are these command for ?
-
Hi,
I am new to Qt serial programming and i would like to write the ctrl commands like 'Ctrl+D' or 'Ctrl+Z' over serial port to the device which is connected in my PC.
I have tried following syntaxes but didnt work.- serialport.write("04\r\n");
2.serialport.write("\x04");
Can anyone help me on this?
Regards
Kesavwrote on 9 May 2018, 14:01 last edited by@Kesav are you sure the device is receiving the data you sent?
- serialport.write("04\r\n");
1/3