Issue setting up SIM on Thingy:91 / adding device on nRF Cloud

Hello,

I have been following the steps in Exercise 1 of Lesson 1 of the Cellular IoT Fundamentals course. I have a Thingy:91. I have followed the steps so far

- flashed the modem firmware (1.3.5)

- programmed the application firmware (Asset Tracker v2)

- made an nRF Cloud account and added the iBasis SIM 

- I have run the instructions in Cellular Monitor. After a lot of trial and error I managed to get to this stage, where supposedly everything is working. 

However, in nRF Cloud, when I go to add the device using IMEI in the format nrf-123456789012345, I get "There was an error adding your device: No device found for this id. The device has not yet been just-in-time provisioned." The device continues to blink in green three times with a short pause in between.

Looking at the troubleshooting steps for this error code:

  1. Verify the values and try again. For Nordic Semiconductor products, please see the solution for nRF Code 40411, above. <- done, it's nrf- + a 15-digit code
  2. Ensure that the device's SIM card or eSIM is activated and functioning. If using an iBasis SIM card that is packaged with a Nordic Semiconductor product such as a Development Kit, activate the card on nrfcloud.com and then (re-)boot the device to connect. <- I have successfully activated the SIM followed by a reboot
  3. Check the LED status indicators to ensure the device indicates it has connected. <- unclear what this means
  4. (Re-)flash the latest modem firmware. <- I have flashed the modem firmware
  5. Flash new device certificates obtained from the CreateDeviceCertificateendpoint. <- not sure how to do this or whether it would help?
  6. Move to a location with a better LTE connection. <- Cellular Monitor indicates an LTE connection

I've attached the Wireshark capture file.241120 Thingy 91 Wireshark.pcapng

Any ideas?

Parents
  • Some more output from Modem Shell - it looks like it briefly connects and then disconnects. No idea whether it's a problem with the SIM. I tried setting the PDP context manually with 

    AT+CGDCONT=0,"IP","iBASIS.iot"

    which produces the below output

    Network registration status: searching
    Currently active system mode: LTE-M
    LTE cell changed: ID: 128864662, Tracking area: 4288
    RRC mode: Connected
    PDN event: PDP context 0 activated
    Modem domain event: Search done
    Network registration status: Connected - roaming
    PDN event: PDP context 0 deactivated
    Network registration status: searching
    RRC mode: Idle
    Modem config for system mode: LTE-M
    Modem config for LTE preference: No preference, automatically selected by the modem
    Currently active system mode: LTE-M
    Modem FW version:      mfw_nrf9160_1.3.5
    Device ID:             nrf-350457794443123
    link_api_xmonitor_read failed, result: ret -77
    Currently active system mode: None
    Could not parse dns str for cid 0, err: -22
    PDP context info 1:
      CID:                0
      PDN ID:             0
      PDP context active: no
      PDP type:           IP
      APN:                iBASIS.iot
      IPv4 address:       0.0.0.0
      IPv6 address:       ::
      IPv4 DNS address:   0.0.0.0, 0.0.0.0
      IPv6 DNS address:   ::, ::
    LTE cell changed: ID: -1, Tracking area: -1

Reply
  • Some more output from Modem Shell - it looks like it briefly connects and then disconnects. No idea whether it's a problem with the SIM. I tried setting the PDP context manually with 

    AT+CGDCONT=0,"IP","iBASIS.iot"

    which produces the below output

    Network registration status: searching
    Currently active system mode: LTE-M
    LTE cell changed: ID: 128864662, Tracking area: 4288
    RRC mode: Connected
    PDN event: PDP context 0 activated
    Modem domain event: Search done
    Network registration status: Connected - roaming
    PDN event: PDP context 0 deactivated
    Network registration status: searching
    RRC mode: Idle
    Modem config for system mode: LTE-M
    Modem config for LTE preference: No preference, automatically selected by the modem
    Currently active system mode: LTE-M
    Modem FW version:      mfw_nrf9160_1.3.5
    Device ID:             nrf-350457794443123
    link_api_xmonitor_read failed, result: ret -77
    Currently active system mode: None
    Could not parse dns str for cid 0, err: -22
    PDP context info 1:
      CID:                0
      PDN ID:             0
      PDP context active: no
      PDP type:           IP
      APN:                iBASIS.iot
      IPv4 address:       0.0.0.0
      IPv6 address:       ::
      IPv4 DNS address:   0.0.0.0, 0.0.0.0
      IPv6 DNS address:   ::, ::
    LTE cell changed: ID: -1, Tracking area: -1

Children
No Data
Related