<?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 to read the SMS centre number on the SIM card using AT command on the nRF9160?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52241/how-to-read-the-sms-centre-number-on-the-sim-card-using-at-command-on-the-nrf9160</link><description>To be able to SMS we need the SMSC number stored in the SIM card. 
 I did not find an AT command to read this, so I gues we need to use the +CSIM or +CRSM? 
 Regards, 
 Frode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Sep 2019 10:23:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52241/how-to-read-the-sms-centre-number-on-the-sim-card-using-at-command-on-the-nrf9160" /><item><title>RE: How to read the SMS centre number on the SIM card using AT command on the nRF9160?</title><link>https://devzone.nordicsemi.com/thread/211182?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 10:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d11fbb8-3acb-4587-ba4a-c40a5b8c73d1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Great to hear, Frode!&lt;/p&gt;
&lt;p&gt;&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><item><title>RE: How to read the SMS centre number on the SIM card using AT command on the nRF9160?</title><link>https://devzone.nordicsemi.com/thread/211181?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 10:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:329c8aa3-2940-4fb5-9c7b-63bb78e1a5af</guid><dc:creator>stensaa</dc:creator><description>&lt;p&gt;Thanks, we got passed on the tests using the +CRSM to read the SMSC from the SIM card.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Frode&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read the SMS centre number on the SIM card using AT command on the nRF9160?</title><link>https://devzone.nordicsemi.com/thread/210381?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 11:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0e42197-dc13-4b23-a429-d485327aac0a</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;
&lt;p&gt;You can fetch the SMSC using AT+CRSM:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+CRSM=178,28482,1,4,0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The return is this on my telenor sim card:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;+CRSM: 144,0,&amp;quot;54454C454E4F52FFFFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF06917409001200FFFFFFFFFFFFFFFF&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This data format is described in &amp;quot;3GPP TS 31.102 version 15.1.0 Release 15&amp;quot;, chapter 4.2.27:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a2f5d97613b443029d4b069e055cf788/pastedimage1568806903805v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The alpha identifier is variable in length. As the &amp;quot;Service Centre address&amp;quot; is defined in the middle of the read out format (length of string - 15 bytes, 12 bytes long), you have to start counting from the end:&lt;/p&gt;
&lt;p&gt;54454C454E4F52FFFFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF&lt;em&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;06917409001200FFFFFFFFFF&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;FFFFFF&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><item><title>RE: How to read the SMS centre number on the SIM card using AT command on the nRF9160?</title><link>https://devzone.nordicsemi.com/thread/210142?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 13:11:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a4dd83f-189c-40c1-a67a-69b551ca696b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;not all telecom vendors require SMSC when sending/receiving sms. In the case you&amp;#39;re linking to, the SMSC is omitted.&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><item><title>RE: How to read the SMS centre number on the SIM card using AT command on the nRF9160?</title><link>https://devzone.nordicsemi.com/thread/210141?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 13:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a457666b-d8e1-4f10-9992-0217b5696595</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Frode,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m checking internally on this matter, and key personnel for answering such questions are not available right now. I&amp;#39;ll update you as soon as I hear something, most likely by tomorrow.&lt;/p&gt;
&lt;p&gt;&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><item><title>RE: How to read the SMS centre number on the SIM card using AT command on the nRF9160?</title><link>https://devzone.nordicsemi.com/thread/210122?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 12:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e317437b-c1b0-464c-bf31-d44b93a38196</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hello Frode,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;have a look at this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/41755/sending-sms-using-at_client-example"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/41755/sending-sms-using-at_client-example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;- David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>