nrf9161 lwm2m SIM card PIN enter

Hello, I just receive a nRF9161 Development kit and I'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 environment and flow is well implemented and really easy to use!). I was able to generate a new app "branching" the LWM2M Client sample code. The app builds and flashes without any problem.

I got my second SIM from my cellphone operator and I insert it into the nRF9161_DK board. I first checked that the DK was able to connect to the network by flashing the serial modem application. I'm able to connect to the network after having entered the SIM PIN code (AT+CPIN=XXXX)...

Once I was certain that everything was working well I flashed the LWM2M Client application (properly configured as described on your doc for using the public coaps://leshan.eclipseprojects.io:568).

Now the question: I can't see any hock, comment or place where I can enter the SIM PIN CODE. How do I enter the SIM PIN code in the LWM2M Client Sample ?

Any suggestion about how to enter the PIN in the LWM2M client application ?

Regards, Joel

Parents
  • Hi Joel, 

    Did you test with the SIM cards provided with the nRF9161DK?

    I got my second SIM from my cellphone operator and I insert it into the nRF9161_DK board.

    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? 

    Kind regards,
    Øyvind

  • Hello, the SIM is a "second SIM" 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,...

    Unfortunately there is no mean to remove the PIN. Is there any way to enter a PIN (lwm2m client) without using the AT commands ?

    As mentioned, once the PIN has been entered the nRF9161 is connecting properly to the internet ... therefore the SIM is working properly...

    Joel

Reply
  • Hello, the SIM is a "second SIM" 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,...

    Unfortunately there is no mean to remove the PIN. Is there any way to enter a PIN (lwm2m client) without using the AT commands ?

    As mentioned, once the PIN has been entered the nRF9161 is connecting properly to the internet ... therefore the SIM is working properly...

    Joel

Children
Related