billgates2000
Newbie level 1
Hi,
I'm trying to use a GSM modem to send SMSs using AT commands, through putty or Microsoft's Hyperterminal client. The GSM modem is connected to COM1. I managed to make this work, so there are no problems with the hardware or connectivity. The problem is that I need this to be done in only one line of code (so that I can easily enclose it in batch files etc). So as soon as I connect to the modem using putty, I would like the following to be entered as one command:
AT+CMGW="91234567"<CR>Text of message.<Ctrl+z>
How can this be done? How can I tell putty or the Hyperterminal client to recognise <CR> as a carriage return and <Ctrl+z> as they key combination of Ctrl & Z?
I'm trying to use a GSM modem to send SMSs using AT commands, through putty or Microsoft's Hyperterminal client. The GSM modem is connected to COM1. I managed to make this work, so there are no problems with the hardware or connectivity. The problem is that I need this to be done in only one line of code (so that I can easily enclose it in batch files etc). So as soon as I connect to the modem using putty, I would like the following to be entered as one command:
AT+CMGW="91234567"<CR>Text of message.<Ctrl+z>
How can this be done? How can I tell putty or the Hyperterminal client to recognise <CR> as a carriage return and <Ctrl+z> as they key combination of Ctrl & Z?