I'm trying to send a SMS using AT command and I need to execute "Ctrl + Z" action after writing the message content.
I tried using the "x1A" and "u001A" but they're not working.
Here is the code that I'm using:
"AT+CMGS=\"$phoneNumber\"\r\n$message\\x1A"
To add more information I'm trying to automate the procedure of sending SMS in quectel modem:
AT+CMGS=[,] text is specified <Ctrl+Z/ESC>
I want to send "Ctrl+Z" by command not pressing the keys.