{"id":847,"date":"2020-03-07T14:06:08","date_gmt":"2020-03-07T13:06:08","guid":{"rendered":"https:\/\/mobiletidings.com\/?p=847"},"modified":"2020-06-17T18:14:59","modified_gmt":"2020-06-17T17:14:59","slug":"sending-a-flash-sms-message","status":"publish","type":"post","link":"https:\/\/techsofar.com\/sending-a-flash-sms-message\/","title":{"rendered":"Sending A Flash SMS Message (Complete Guide)"},"content":{"rendered":"

So far I\u2019ve show how to send a text message in PDU mode. There is nothing special about this. There are a number of things you can do in PDU mode, that you can\u2019t do in text mode.<\/p>\n

A first example is a flash SMS message.<\/p>\n

A flash SMS message is an SMS message that, instead of being stored in the SIM or memory of the receiving phone, pops-up on the receiving phone\u2019s screen, without the user taking any action. When dismissed the message is usually gone.<\/p>\n

Here is an example AT command to send a flash SMS message in PDU mode:<\/p>\n

\n
AT+CMGS=28<crlf>\r\n> 0001010B915121551532F40010104190991D9EA341EDF27C1E3E9743<Ctrl-Z><\/pre>\n<\/div>\n
Here is what the individual octets represent:<\/div>\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Size<\/strong><\/td>\nValue<\/strong><\/td>\nDescription<\/strong><\/td>\n<\/tr>\n
1 octet<\/td>\n00<\/td>\nWe don\u2019t supply a SMSC number.<\/td>\n<\/tr>\n
1 octet<\/td>\n01<\/td>\nPDU type and options. This is a plain SUBMIT-PDU.<\/td>\n<\/tr>\n
1 octet<\/td>\n01<\/td>\nOur message reference.<\/td>\n<\/tr>\n
1 octet<\/td>\n0B<\/td>\nSize of the destination telephone number (in digits)<\/td>\n<\/tr>\n
1 octet<\/td>\n91<\/td>\nInternational numbering plan.<\/td>\n<\/tr>\n
6 octets<\/td>\n5121551532f4<\/td>\nThis represents the destination and it translates to 1 512 555 1234<\/td>\n<\/tr>\n
1 octet<\/td>\n00<\/td>\nProtocol identifier.<\/td>\n<\/tr>\n
1 octet<\/td>\n10<\/td>\nData Coding Scheme. This is the value that causes the message to be a flash message as opposed to a standard SMS.<\/td>\n<\/tr>\n
1 octet<\/td>\n10<\/td>\nUser Data Length or payload size (in characters).<\/td>\n<\/tr>\n
16 septets<\/td>\n4190991D9E
\nA341EDF27C
\n1E3E9743<\/td>\n
The payload, also known as User Data. In this case, it is just GSM encoded text.
\nThis particular string represents \u201cA flash message!\u201d\u201d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

A more elaborate explanation of the GSM encoding<\/a> and other fields is giving in a previous post in this series.<\/p>\n","protected":false},"excerpt":{"rendered":"So far I\u2019ve show how to send a text message in PDU mode. There is nothing special about…\n","protected":false},"author":2,"featured_media":848,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/techsofar.com\/wp-content\/uploads\/2020\/03\/flash-sms.jpg","_links":{"self":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts\/847"}],"collection":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/comments?post=847"}],"version-history":[{"count":0,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts\/847\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/media\/848"}],"wp:attachment":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/media?parent=847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/categories?post=847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/tags?post=847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}