How to add nrf cloud LTE modem

Hi All! 

I am using a hologram NB-IoT sim card in nrf9160DK. And want to connect it /send data to nrf cloud. I have activated the sim from the hologram website. When I tried to add the nrf9160Dk in nrf cloud as an LTE device it gives me a 40412 error.LED # 3 is continuously blinking. I read all the related issues but still fail to add the LTE device. The only issue I assume is about the NB-IOT hologram sim. Is it supported by the nrf9160DK modem?. The country I am using this hardware is Pakistan.

Thanks & Regards,

Muhammad Usman

  • Hi Muhammad,

    nRF9160DK is compatible with the LTE-M/NB-IoT network just like a 5G phone need to connect with a 5G compatible network.

    Please try to confirm with Hologram. Cat-M1 and NB-IoT coverage – Hologram

    You can also play AT client sample to do a simple connection test with LTE Link Monitor.

    Remember to go through the following document first. Getting started with nRF9160 DK — nRF Connect SDK 2.0.0 documentation (nordicsemi.com)

    Best regards,

    Charlie

  • Hi @ Charlie!

    Thank you for the response! Hologram Support team is saying NB-iot is upported in your region.

    I tried your instructions and got the following results. as mentioned in the image .

    Led # 1 is continously blinking.

    Can you please help me in this regard ?

    Thank you!

  • Hi Muhammad,

    Sorry for the late reply.

    Looks like the device still has problems contacting with local NB-IoT network.

    1) Can you share the full log file by clicking OPEN LOG FILE on the bottom of LTE Link Monitor APP?

    2) Can you program the application nrf9160dk_fw_2022-06-02_880c82db\img_app_bl\nrf9160dk_serial_lte_modem_2022-06-02_880c82db.hex and run the following commands? Please remember to enable Automatic requests in SETTINGS of LTE Link Monitor. I expect to see its log file as well.

    AT+CFUN=4
    AT+CFUN?
    AT%XSYSTEMMODE=0,1,0,0
    AT+CFUN?
    AT+CFUN=1
    AT+CEREG?

    Best regards,

    Charlie

  • Hi  

    Sorry for the late response! 

    I attached the log file after uploading the .hex file you mentioned!

    2022-08-16T10:47:13.967Z DEBUG Application data folder: C:\Users\dell\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2022-08-16T10:47:14.120Z DEBUG App pc-nrfconnect-linkmonitor v2.0.1 official
    2022-08-16T10:47:14.121Z DEBUG App path: C:\Users\dell\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2022-08-16T10:47:14.121Z DEBUG nRFConnect 3.11.1, required by the app is (^3.8.0)
    2022-08-16T10:47:14.121Z DEBUG nRFConnect path: C:\Users\dell\AppData\Local\Programs\nrfconnect\resources\app.asar
    2022-08-16T10:47:14.121Z DEBUG HomeDir: C:\Users\dell
    2022-08-16T10:47:14.121Z DEBUG TmpDir: C:\Users\dell\AppData\Local\Temp
    2022-08-16T10:47:14.123Z INFO Using nrf-device-lib-js version: 0.4.11
    2022-08-16T10:47:14.124Z INFO Using nrf-device-lib version: 0.11.8
    2022-08-16T10:47:14.124Z INFO Using nrfjprog DLL version: 10.15.4
    2022-08-16T10:47:14.124Z INFO Using JLink version: JLink_V7.70 
    2022-08-16T10:47:14.125Z INFO Installed JLink version does not match the provided version (V7.58b)
    2022-08-16T11:06:15.867Z INFO Modem port is opened
    2022-08-16T11:06:15.884Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:06:18.071Z DEBUG modem >> AT
    2022-08-16T11:06:19.082Z ERROR Error: 'AT
    ' timed out
    2022-08-16T11:06:21.837Z DEBUG modem >> AT
    2022-08-16T11:06:22.837Z ERROR Error: 'AT
    ' timed out
    2022-08-16T11:06:22.840Z DEBUG modem >> AT
    2022-08-16T11:06:23.842Z ERROR Error: 'AT
    ' timed out
    2022-08-16T11:06:28.542Z DEBUG modem >> AT
    2022-08-16T11:06:29.545Z ERROR Error: 'AT
    ' timed out
    2022-08-16T11:06:31.711Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:06:32.714Z ERROR Error: 'AT+CFUN?
    ' timed out
    2022-08-16T11:06:47.052Z INFO Modem port is opened
    2022-08-16T11:06:47.057Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:06:47.072Z DEBUG modem << +CFUN: 0
    2022-08-16T11:06:47.074Z DEBUG modem << 
    2022-08-16T11:06:47.075Z DEBUG modem << OK
    2022-08-16T11:06:49.271Z DEBUG modem >> AT
    2022-08-16T11:06:49.283Z DEBUG modem << OK
    2022-08-16T11:06:50.821Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:06:50.835Z DEBUG modem << +CFUN: 0
    2022-08-16T11:06:50.847Z DEBUG modem << OK
    2022-08-16T11:07:03.550Z DEBUG modem >> AT
    2022-08-16T11:07:03.563Z DEBUG modem << OK
    2022-08-16T11:09:03.857Z INFO Modem port is opened
    2022-08-16T11:09:03.862Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:09:03.879Z DEBUG modem << +CFUN: 0
    2022-08-16T11:09:03.882Z DEBUG modem << OK
    2022-08-16T11:09:24.908Z DEBUG modem >> AT+COPS=?
    2022-08-16T11:09:24.925Z DEBUG modem << ERROR
    2022-08-16T11:09:24.927Z ERROR Network search failed: Error: AT+COPS=?
     failed
    2022-08-16T11:09:36.244Z DEBUG modem >> AT
    2022-08-16T11:09:36.258Z DEBUG modem << OK
    2022-08-16T11:09:41.251Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:09:41.265Z DEBUG modem << +CFUN: 0
    2022-08-16T11:09:41.280Z DEBUG modem << OK
    2022-08-16T11:09:54.722Z DEBUG modem >> AT%XSYSTEMMODE=0,1,0,0
    2022-08-16T11:09:54.738Z DEBUG modem << OK
    2022-08-16T11:10:03.812Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:10:03.828Z DEBUG modem << +CFUN: 0
    2022-08-16T11:10:03.841Z DEBUG modem << OK
    2022-08-16T11:10:07.883Z DEBUG modem >> AT+CFUN=1
    2022-08-16T11:10:07.923Z DEBUG modem << OK
    2022-08-16T11:10:22.459Z DEBUG modem >> AT+CEREG?
    2022-08-16T11:10:22.468Z DEBUG modem << +CEREG: 0,4
    2022-08-16T11:10:22.489Z DEBUG modem << OK
    

    I am using Hologram NB-IOT sim

    Thank you so much for the response and help!

    Best regards,

    Muhammad Usman

  • Hi Muhammad,

    I assume you have enabled Automatic requests in SETTINGS of LTE Link Monitor.

    Could you run the same commands and then run "AT+CFUN?" at last to trigger the Automatic requests? It should give more information like the following log.

    2022-08-16T11:33:15.458Z DEBUG modem >> AT+CFUN?
    2022-08-16T11:33:15.473Z DEBUG modem << +CFUN: 1
    2022-08-16T11:33:15.477Z DEBUG modem << OK
    2022-08-16T11:33:15.481Z DEBUG modem >> AT+CGSN=1
    2022-08-16T11:33:15.489Z DEBUG modem << +CGSN: "351358815320657"
    2022-08-16T11:33:15.491Z DEBUG modem << 
    2022-08-16T11:33:15.492Z DEBUG modem << OK
    2022-08-16T11:33:15.497Z DEBUG modem >> AT+CGMI
    2022-08-16T11:33:15.505Z DEBUG modem << Nordic Semiconductor ASA
    2022-08-16T11:33:15.507Z DEBUG modem << 
    2022-08-16T11:33:15.508Z DEBUG modem << OK
    2022-08-16T11:33:15.510Z DEBUG modem >> AT+CGMM
    2022-08-16T11:33:15.519Z DEBUG modem << nRF9160-SICA
    2022-08-16T11:33:15.522Z DEBUG modem << OK
    2022-08-16T11:33:15.524Z DEBUG modem >> AT+CGMR
    2022-08-16T11:33:15.531Z DEBUG modem << mfw_nrf9160_1.3.2
    2022-08-16T11:33:15.533Z DEBUG modem << 
    2022-08-16T11:33:15.534Z DEBUG modem << OK
    2022-08-16T11:33:15.535Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.3.2] SerNr: 351358815320657
    2022-08-16T11:33:15.536Z DEBUG modem >> AT+CEMODE?
    2022-08-16T11:33:15.549Z DEBUG modem << +CEMODE: 2
    2022-08-16T11:33:15.550Z DEBUG modem << OK
    2022-08-16T11:33:15.554Z DEBUG modem >> AT%XCBAND=?
    2022-08-16T11:33:15.570Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,18,19,20,25,26,28,66)
    2022-08-16T11:33:15.572Z DEBUG modem << 
    2022-08-16T11:33:15.573Z DEBUG modem << OK
    2022-08-16T11:33:15.577Z DEBUG modem >> AT+CMEE?
    2022-08-16T11:33:15.592Z DEBUG modem << +CMEE: 1
    2022-08-16T11:33:15.594Z DEBUG modem << 
    2022-08-16T11:33:15.594Z DEBUG modem << OK
    2022-08-16T11:33:15.598Z DEBUG modem >> AT+CNEC?
    2022-08-16T11:33:15.614Z DEBUG modem << +CNEC: 24
    2022-08-16T11:33:15.615Z DEBUG modem << OK
    2022-08-16T11:33:15.618Z DEBUG modem >> AT+CGEREP?
    2022-08-16T11:33:15.632Z DEBUG modem << +CGEREP: 1,0
    2022-08-16T11:33:15.633Z DEBUG modem << OK
    2022-08-16T11:33:15.635Z DEBUG modem >> AT+CIND=1,1,1
    2022-08-16T11:33:15.648Z DEBUG modem << OK
    2022-08-16T11:33:15.651Z DEBUG modem >> AT+CEREG=5
    2022-08-16T11:33:15.664Z DEBUG modem << OK
    2022-08-16T11:33:15.667Z DEBUG modem >> AT+CEREG?
    2022-08-16T11:33:15.685Z DEBUG modem << +CEREG: 5,1,"7789","031B4300",7,,,"00001010","11000001"
    2022-08-16T11:33:15.687Z DEBUG modem << OK
    2022-08-16T11:33:15.691Z DEBUG modem >> AT+COPS=3,2
    2022-08-16T11:33:15.701Z DEBUG modem << OK
    2022-08-16T11:33:15.703Z DEBUG modem >> AT+COPS?
    2022-08-16T11:33:15.715Z DEBUG modem << +COPS: 0,2,"24201",7
    2022-08-16T11:33:15.716Z DEBUG modem << OK
    2022-08-16T11:33:15.721Z DEBUG modem >> AT%XCBAND
    2022-08-16T11:33:15.732Z DEBUG modem << %XCBAND: 20
    2022-08-16T11:33:15.733Z DEBUG modem << OK
    2022-08-16T11:33:15.737Z DEBUG modem >> AT+CGDCONT?
    2022-08-16T11:33:15.758Z DEBUG modem << +CGDCONT: 0,"IPV4V6","telenor.smart","10.7.143.49 2A02:2121:060A:893E:0000:0000:4C2F:3043",0,0
    2022-08-16T11:33:15.759Z DEBUG modem << 
    2022-08-16T11:33:15.759Z DEBUG modem << OK
    2022-08-16T11:33:15.766Z DEBUG modem >> AT+CGACT?
    2022-08-16T11:33:15.782Z DEBUG modem << +CGACT: 0,1
    2022-08-16T11:33:15.783Z DEBUG modem << OK
    2022-08-16T11:33:15.787Z DEBUG modem >> AT%CESQ=1
    2022-08-16T11:33:15.802Z DEBUG modem << OK
    2022-08-16T11:33:15.804Z DEBUG modem >> AT+CESQ
    2022-08-16T11:33:15.815Z DEBUG modem << +CESQ: 99,99,255,255,20,63
    2022-08-16T11:33:15.816Z DEBUG modem << OK
    2022-08-16T11:33:15.820Z DEBUG modem >> AT%XSIM=1
    2022-08-16T11:33:15.833Z DEBUG modem << OK
    2022-08-16T11:33:15.835Z DEBUG modem >> AT%XSIM?
    2022-08-16T11:33:15.843Z DEBUG modem << %XSIM: 1
    2022-08-16T11:33:15.848Z DEBUG modem << 
    2022-08-16T11:33:15.850Z DEBUG modem << OK
    2022-08-16T11:33:15.854Z DEBUG modem >> AT+CPIN?
    2022-08-16T11:33:15.866Z DEBUG modem << +CPIN: READY
    2022-08-16T11:33:15.867Z DEBUG modem << OK
    2022-08-16T11:33:15.870Z DEBUG modem >> AT+CPINR="SIM PIN"
    2022-08-16T11:33:15.889Z DEBUG modem << +CPINR: "SIM PIN",3
    2022-08-16T11:33:15.891Z DEBUG modem << OK
    2022-08-16T11:33:15.898Z DEBUG modem >> AT+CIMI
    2022-08-16T11:33:15.915Z DEBUG modem << 242016001371427
    2022-08-16T11:33:15.916Z DEBUG modem << 
    2022-08-16T11:33:15.917Z DEBUG modem << OK
    2022-08-16T11:33:15.918Z INFO IMSIdentity: 242016001371427
    2022-08-16T11:33:30.793Z DEBUG modem << %CESQ: 255,0,255,0
    

    Best regards,

    Charlie

Related