You are on page 1of 2

How To: Send and Receive SMS messages with GSM/GPRS modems

641c firmware revision


Send Eam!"e: Send SMS message to another SMS com!ati#"e device:
at$cmgf%1 (set to text mode)
OK
at$c!ms%&SM&'&SM& (set memory storage when writing and sending SMS messages)
+CPMS: 0,50,0,50
OK
at$cmgs%&(6)**()(*6& (send message to the number se!i"ied in #uotes)
$ TEST message +,E- ( %ye message a"ter the $ symbo& and hit 'C%() + *$ to send the message)
+CM+S: 5,
OK
Receive Eam!"e 1: Receive SMS messages in tet mode #. saving to S/M memor. ,otification via
$0MT/ 1nso"icted res!onse code:
at$cmgf%1 (set to text mode)
OK
at$csms%2 (set to Phase -)
+CSMS: -,-,-
OK
at$cnmi%*'1'2'2'2 (set to dis&ay +CM%. indi!ation when SMS is re!ei/ed)
OK
at$c!ms%&SM&'&SM& (set the read and write storage o" SMS to S.M)
+CPMS: 0,50,0,50
OK
+CM%.: 0SM0,- (indi!ation that message was re!ei/ed and stored to S.M &o!ation -)
at$cmgr%1 (read message stored in &o!ation -)
+CM+(: 0(1C 23(1450,0+-678,,686,70,,0079089-6,-8:55:,,+000
%1S%-
OK
at$cmgd%1 (de&ete message that is stored in &o!ation -)
OK
Receive Eam!"e *: Receive SMS message in tet mode #. direct". ro1ting the received message to
the TE thro1gh the seria" !ort 1sing Phase *:
at$cmgf%1 (set to text mode)
OK
at$csms%2 (set to Phase ,)
+CSMS: -,-,-
OK
at$cnmi%*'*'2'2'2 (set to re!ei/e SMS and route dire!t&y to %1)
OK
+CM%: 0+-678,,686,70,,0079089-6,-8:5::-;+000 (message re!ei/ed and dire!t&y routed to %1)
%1S%,
Receive Eam!"e ): Receive SMS message in tet mode #. direct". ro1ting the received message to
the TE thro1gh the seria" !ort 1sing Phase *$:
at$cmgf%1 (set to text mode)
OK
at$csms%1 (set to Phase ,+)
+CSMS: -,-,-
OK
at$cnmi%*'*'2'2'2 (set to re!ei/e SMS and route dire!t&y to %1)
OK
+CM%: 0+-678,,686,70,,0079089-6,-<:0-:-6+000 (message re!ei/ed and dire!t&y routed to %1)
%1S%8
at$cnma (a!=now&edge that message has been re!ei/ed)
OK

You might also like