<?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>nrf9161 lwm2m SIM card PIN enter</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112774/nrf9161-lwm2m-sim-card-pin-enter</link><description>Hello, I just receive a nRF9161 Development kit and I&amp;#39;m completely new to both nRF9161 and Zephyr. 
 I want to start an evaluation project based on the nrf9161 lwm2m client sample code. I installed the 2.6.1 SDK with the VS Code plugin (the developing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 07 Jul 2024 12:25:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112774/nrf9161-lwm2m-sim-card-pin-enter" /><item><title>RE: nrf9161 lwm2m SIM card PIN enter</title><link>https://devzone.nordicsemi.com/thread/492574?ContentTypeID=1</link><pubDate>Sun, 07 Jul 2024 12:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36637938-b6f6-4e07-a0d2-a543c75e2557</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Happy to hear, Joel!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9161 lwm2m SIM card PIN enter</title><link>https://devzone.nordicsemi.com/thread/492561?ContentTypeID=1</link><pubDate>Sat, 06 Jul 2024 10:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efd0d0e4-6863-4355-a651-07cea432a5e6</guid><dc:creator>JOEBRE</dc:creator><description>&lt;p&gt;Hi, many thanks... this solved the problem. &lt;/p&gt;
&lt;p&gt;Regards, Joel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9161 lwm2m SIM card PIN enter</title><link>https://devzone.nordicsemi.com/thread/492488?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 14:10:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13190c42-f845-45d1-ae52-93e8b922a7e2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for elaborating Joel! The best place to start would be with the AT Client. This allows you to enter e.g.&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands_nrf91x1/page/REF/at_commands/security/cpin.html"&gt;&amp;nbsp;PIN code (AT+CPIN)&lt;/a&gt;&amp;nbsp;to verify the need to for a PIN. Then you can use&amp;nbsp;Facility lock &lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands_nrf91x1/page/REF/at_commands/security/clck.html"&gt;(AT+CLCK)&lt;/a&gt;&amp;nbsp;to disable the need for PIN.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;We do recommend enabling &lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands_nrf91x1/page/REF/at_commands/access_uicc/xsim.html"&gt;UICC state notification (AT%XSIM)&lt;/a&gt;&amp;nbsp;to receive messages when something is wrong with the SIM or has been removed.&lt;/p&gt;
[quote user="JOEBRE"]Unfortunately there is no mean to remove the PIN. Is there any way to enter a PIN (lwm2m client) without using the AT commands ?[/quote]
&lt;p&gt;You can send &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/nrf_modem/doc/at_interface.html"&gt;AT Commands using the Modem library&lt;/a&gt;. Have a look at &lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v2.6.1/nrf_modem/include/nrf_modem_at.h"&gt;nrf_modem_at.h&lt;/a&gt;. You can send AT commands with e.g.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;err&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;nrf_modem_at_printf&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;AT+CFUN=1&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9161 lwm2m SIM card PIN enter</title><link>https://devzone.nordicsemi.com/thread/492460?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 12:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff4dbcdb-ec62-488a-8bc6-036c01d745dd</guid><dc:creator>JOEBRE</dc:creator><description>&lt;p&gt;Hello, the SIM is a &amp;quot;second SIM&amp;quot; provided in the context of a regular flat data +voice smartphone abo. The second SIM is provided by the operator as a SIM for IOT, wearable, smartwatches,...&lt;/p&gt;
&lt;p&gt;Unfortunately there is no mean to remove the PIN. Is there any way to enter a PIN (lwm2m client) without using the AT commands ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As mentioned, once the PIN has been entered the nRF9161 is connecting properly to the internet ... therefore the SIM is working properly...&lt;/p&gt;
&lt;p&gt;Joel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9161 lwm2m SIM card PIN enter</title><link>https://devzone.nordicsemi.com/thread/492423?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 10:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:866b83ea-d868-4105-89e0-889a04c40ed5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Joel,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Did you test with the SIM cards provided with the nRF9161DK?&lt;/p&gt;
[quote user=""]I got my second SIM from my cellphone operator and I insert it into the nRF9161_DK board.[/quote]
&lt;p&gt;What kind of SIM is this? Usually a pure data SIM should not need to have PIN code entered for use. Have you tried to ask you operator if this is possible with your SIM?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>