<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How is SMS processed, when it is received?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57348/how-is-sms-processed-when-it-is-received</link><description>What happens if I read an SMS data from a modem a while, let&amp;#39;s say 10min, after the modem receives the SMS? 
 Does it keep the SMS message inside? What if several SMS messages are received by the modem? 
 process 
 1. Open a socket 2. Send &amp;quot;AT+CNMI=3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Feb 2020 08:42:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57348/how-is-sms-processed-when-it-is-received" /><item><title>RE: How is SMS processed, when it is received?</title><link>https://devzone.nordicsemi.com/thread/232746?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 08:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18d55fbf-bf85-4a95-a771-ac78b8de5eb4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="yusuke217"]I wrote my understanding. Is this correct?&lt;br /&gt;1. Sending SMS is completed when a modem receives it and MCU part reads the message by polling a socket&lt;br /&gt;2. Once the MCU part receives it, the modem part sends ACK to the network and the server side finishes one SMS-sending operation.&lt;br /&gt;3. After an SMS is sent, the server side sends the next SMS.&lt;br /&gt;4. SMS-sending operation isn&amp;#39;t finish unless the server receives ACK. This means the operation isn&amp;#39;t finished unless MCU reads an SMS.&lt;br /&gt;5. Multiple SMS messages are not sent at the same time.[/quote]
&lt;p&gt;This looks correct.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is SMS processed, when it is received?</title><link>https://devzone.nordicsemi.com/thread/232629?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 15:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e10108d4-1df3-4475-96cd-37637c28d6bf</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi Hakon. Thank you for your explanation. I got some insight&lt;br /&gt;I wrote my understanding. Is this correct?&lt;br /&gt;1. Sending SMS is completed when a modem receives it and MCU part reads the message by polling a socket&lt;br /&gt;2. Once the MCU part receives it, the modem part sends ACK to the network and the server side finishes one SMS-sending operation.&lt;br /&gt;3. After an SMS is sent, the server side sends the next SMS.&lt;br /&gt;4. SMS-sending operation isn&amp;#39;t finish unless the server receives ACK. This means the operation isn&amp;#39;t finished unless MCU reads an SMS.&lt;br /&gt;5. Multiple SMS messages are not sent at the same time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is SMS processed, when it is received?</title><link>https://devzone.nordicsemi.com/thread/232574?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 13:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a59d8e1d-836f-4a3d-8cc2-eb39d4606e6b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Does it keep the SMS message inside? What if several SMS messages are received by the modem?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The modem receives, and when you poll the socket and read the data (ie: consume the packet), the memory will be free&amp;#39;d. Its not free&amp;#39;d until the application (at_cmd driver for instance) actually reads the packet.&lt;/p&gt;
&lt;p&gt;In the case where you sleep, in PSM or eDRX, the network will cache any incoming SMS for you, and send it to you when you&amp;#39;re doing a tracking area update (TAU).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>