I'm sending AT-Command to gsm modem through serial port.
At the end of the AT-Command I have to terminate the command with Ctrl+z
How would I do that in serial port?
try this
(char)26
detail on ascii of char-z
Send the ASCII character 0x1A.
Have a look at the ASCII code table
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With