Support Forums
SERIAL OUTPUT COMMAND : AT Command Modem

Hi,
I'm trying to convert one of the serial command to the data taker command.
Kindly advise if my translation command is wrong.

Serial Command is :-
AT+CMGS=<+60174365685><CR><message><CTRL-Z>

If convert it to data taker command, it should be :-
2SERIAL("{AT+CMGS=+60174365685^M}{TESTING^Z}")

Is it correct ?

Regards,
WanRosli

Hi, I&#039;m trying to convert one of the serial command to the data taker command. Kindly advise if my translation command is wrong. Serial Command is :- AT+CMGS=&lt;+60174365685&gt;&lt;CR&gt;&lt;message&gt;&lt;CTRL-Z&gt; If convert it to data taker command, it should be :- 2SERIAL(&quot;{AT+CMGS=+60174365685^M}{TESTING^Z}&quot;) Is it correct ? Regards, WanRosli

Hi wanrosli,

Here is the complete string to send an SMS:

1$=+6145678912
2SERIAL("{AT+CMGF=1\013}\w[500]{AT+CMGS=\034%s[1$]\034\013}{Testing SMS}{\026\013}\e")

Best regards,
Rudy Gunawan

Hi wanrosli, Here is the complete string to send an SMS: 1$=+6145678912 2SERIAL(&quot;{AT+CMGF=1\\013}\\w[500]{AT+CMGS=\\034%s[1$]\\034\\013}{Testing SMS}{\\026\\013}\\e&quot;) Best regards, Rudy Gunawan
12
2
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft