Qt serial port programming ctrl commands not working
Unsolved
Independent Developers
-
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
Kesav@Kesav are you sure the device is receiving the data you sent?
- serialport.write("04\r\n");