{"id":3630,"date":"2013-05-14T04:25:27","date_gmt":"2013-05-14T11:25:27","guid":{"rendered":"http:\/\/m2msupport.net\/m2msupport\/?page_id=3630"},"modified":"2018-03-03T17:59:17","modified_gmt":"2018-03-04T01:59:17","slug":"atcmgs-send-sms-message","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atcmgs-send-sms-message\/","title":{"rendered":"AT+CMGS &#8211; Send SMS Message in Text or PDU Mode"},"content":{"rendered":"<p><strong>See <a href=\"http:\/\/m2msupport.net\/m2msupport\/sms-at-commands\/\">SMS Tutorial<\/a><br \/>\n<\/strong><br \/>\nWith <a href=\"http:\/\/m2msupport.net\/m2msupport\/module-tester\/\">Online AT Command Tester<\/a> tool,, you can view\/list\/delete SMS messages stored on the device. You can also send SMS message to a mobile device.<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2013\/05\/sms.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3632\" title=\"sms\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/send_sms.PNG\" alt=\"SMS send message\" width=\"645\" height=\"682\" \/><\/a><\/p>\n<p>SMS messages can be sent in text mode or PDU mode. To determine thw current configuration,<br \/>\n<strong><br \/>\nAT+CMGS &#8211; Text Mode<\/strong><br \/>\n\/\/SMS message is set for Text Mode<br \/>\nAT+CMGF?<br \/>\n+CMGF: 1<br \/>\nOK<\/p>\n<p>\/\/In text mode, the format to send SMS is<br \/>\nAT+CMGS=&#8221;858xxxxxxx&#8221;<br \/>\n&gt; Test Message with AT Command Tester\u001a<br \/>\n+CMGS: 20<br \/>\nOK<\/p>\n<p><strong>AT+CMGS &#8211; PDU Mode<\/strong><br \/>\n\/\/SMS message is set for PDU Mode<br \/>\nAT+CMGF?<br \/>\n+CMGF: 0<br \/>\nOK<\/p>\n<p>\/\/Format to send SMS message in PDU mode,<br \/>\nHere is an example of sending SMS in PDU mode<br \/>\nAT+CMGS=24<br \/>\n&gt;079179521201009511FF0B917962543940F20008001400410042004300440045<br \/>\n+CMGS: 128<br \/>\nOK<\/p>\n<p><strong>Fields of SMS PDU message format<\/strong><br \/>\nPDU message format<br \/>\nLength of SMSC information &#8211;<br \/>\nType of address of SMSC<br \/>\nSMSC number<br \/>\nFirst octet of SMS-DELIVER messager<br \/>\nLength of teh sender address<br \/>\nSender Number<br \/>\nProtocol indentifier<br \/>\nData encoding scheme<br \/>\nTime stamp<br \/>\nLength of user data<br \/>\nUser data<\/p>\n","protected":false},"excerpt":{"rendered":"<p>See SMS Tutorial With Online AT Command Tester tool,, you can view\/list\/delete SMS messages stored on the device. You can also send SMS message to a mobile device. SMS messages can be sent in text mode or PDU mode. To &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atcmgs-send-sms-message\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"atcommands.php","meta":{"footnotes":""},"class_list":["post-3630","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=3630"}],"version-history":[{"count":15,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3630\/revisions"}],"predecessor-version":[{"id":16303,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/3630\/revisions\/16303"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=3630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}