This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 DK Connecting problems with nRF Cloud

Hello, I tried to set up my nRF9160 with this tutorial and there is a problem:

https://www.youtube.com/watch?v=jZQcmU3KIMY&t=216s

According to the tutorial, LED 3 and the LED 4 should be blinking after 3 minutes, what means that the board is connected to the nRF Cloud.
However on my nRF9160, the LED 4  never starts blinking, even if I wait 10 minutes longer than required.
I tried to push the reset button a few times, I turned the nRF9160 on and off a few times and I also started the "Add LTE Device" on nRF Cloud a few times.

But LED 4 still remains dark.

There were 2 things different compared to the tutorial video:


1) The Sim Card Registration worked fine, but when I came to the window in the picture below, I had an IMEI, but I found no PIN. So, I tried the option without a pin (Red mark in the picture).

Maybe I need a PIN, but where do I get it? I tried to insert every possible number I found on my nRF9160, but none of them worked. 

I have already installed the latest firmware update for the nRF9160 successfully. So what did I do wrong? Or how can I finally connect the nRF9160 to the nRF Cloud?

- Thanks for your answers

- Bergmann

Parents
  • Hi Bergmann, 

    I have already installed the latest firmware update for the nRF9160 successfully

    You have updated the modem firmware to the latest version that is found here?

    I assume that you are using a iBasis SIM, since you activated it through the nRF Cloud site. Where are you based? Have you verified that you have LTE-M coverage in your area(see this page)?

    Best regards

    Bjørn

  • Ok, the country where I am based isn't in that list.
    So I might need a Sim Card of local provider. :)

    Thanks for your answer!

  • I suspect it is because your SIM card only supports NB-IoT and the current example you're running is for connecting to LTE-M. 

    This example supports NB-IoT: nrf91dk_asset_tracker_nbiot.hex

  • Same error again:

    2019-10-03T04:11:58.152Z INFO Application data folder: C:\Users\Benjamin\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2019-10-03T04:11:58.423Z DEBUG App pc-nrfconnect-linkmonitor v1.1.1 official
    2019-10-03T04:11:58.424Z DEBUG App path: C:\Users\Benjamin\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2019-10-03T04:11:58.424Z DEBUG nRFConnect 3.2.0 is supported by the app (^3.2.0)
    2019-10-03T04:11:58.425Z DEBUG nRFConnect path: C:\Users\Benjamin\AppData\Local\Programs\nrfconnect\resources\app.asar
    2019-10-03T04:11:58.425Z DEBUG HomeDir: C:\Users\Benjamin
    2019-10-03T04:11:58.425Z DEBUG TmpDir: C:\Users\Benjamin\AppData\Local\Temp
    2019-10-03T04:12:09.797Z INFO Modem port is opened
    2019-10-03T04:12:09.825Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-10-03T04:12:09.945Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-10-03T04:12:09.953Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.023Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-10-03T04:12:10.064Z DEBUG modem << +CGSN: "352656100037459"\x0D\x0A
    2019-10-03T04:12:10.078Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.102Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-10-03T04:12:10.152Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-10-03T04:12:10.172Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.196Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-10-03T04:12:10.223Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-10-03T04:12:10.233Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.254Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-10-03T04:12:10.278Z DEBUG modem << mfw_nrf9160_1.0.1\x0D\x0A
    2019-10-03T04:12:10.288Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.293Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.1] SerNr: 352656100037459
    2019-10-03T04:12:10.310Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-10-03T04:12:10.339Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-10-03T04:12:10.348Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.403Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-10-03T04:12:10.446Z DEBUG modem << %XCBAND: (1,3,5,8)\x0D\x0A
    2019-10-03T04:12:10.463Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.518Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-10-03T04:12:10.558Z DEBUG modem << +CMEE: 0\x0D\x0A
    2019-10-03T04:12:10.565Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.582Z DEBUG modem >> AT+CMEE=1\x0D\x0A
    2019-10-03T04:12:10.631Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.643Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-10-03T04:12:10.690Z DEBUG modem << +CNEC: 0\x0D\x0A
    2019-10-03T04:12:10.701Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.732Z DEBUG modem >> AT+CNEC=24\x0D\x0A
    2019-10-03T04:12:10.754Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.771Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-10-03T04:12:10.798Z DEBUG modem << +CGEREP: 0,0\x0D\x0A
    2019-10-03T04:12:10.806Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.824Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-10-03T04:12:10.845Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.869Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-10-03T04:12:10.891Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.912Z DEBUG modem >> AT+CGEREP=1\x0D\x0A
    2019-10-03T04:12:10.937Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.952Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-10-03T04:12:10.975Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:10.990Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-10-03T04:12:11.013Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.036Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-10-03T04:12:11.056Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",9\x0D\x0A
    2019-10-03T04:12:11.062Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.116Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-10-03T04:12:11.152Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.162Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-03T04:12:11.192Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-10-03T04:12:11.201Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.235Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-10-03T04:12:11.261Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.285Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-10-03T04:12:11.313Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-10-03T04:12:11.320Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.374Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-10-03T04:12:11.401Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-10-03T04:12:11.419Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.453Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-10-03T04:12:11.493Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-10-03T04:12:11.500Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.535Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-10-03T04:12:11.555Z DEBUG modem << 901405710000106\x0D\x0A
    2019-10-03T04:12:11.561Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:11.568Z INFO IMSIdentity: 901405710000106
    2019-10-03T04:12:16.215Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-10-03T04:12:16.267Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-10-03T04:12:16.291Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.345Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-10-03T04:12:16.409Z DEBUG modem << +CGSN: "352656100037459"\x0D\x0A
    2019-10-03T04:12:16.416Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.425Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-10-03T04:12:16.489Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-10-03T04:12:16.504Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.511Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-10-03T04:12:16.539Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-10-03T04:12:16.545Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.582Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-10-03T04:12:16.619Z DEBUG modem << mfw_nrf9160_1.0.1\x0D\x0A
    2019-10-03T04:12:16.625Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.639Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.1] SerNr: 352656100037459
    2019-10-03T04:12:16.656Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-10-03T04:12:16.698Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-10-03T04:12:16.706Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.756Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-10-03T04:12:16.808Z DEBUG modem << %XCBAND: (1,3,5,8)\x0D\x0A
    2019-10-03T04:12:16.817Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.877Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-10-03T04:12:16.927Z DEBUG modem << +CMEE: 1\x0D\x0A
    2019-10-03T04:12:16.936Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:16.965Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-10-03T04:12:16.988Z DEBUG modem << +CNEC: 24\x0D
    2019-10-03T04:12:17.017Z DEBUG modem << \x0A
    2019-10-03T04:12:17.022Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.049Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-10-03T04:12:17.079Z DEBUG modem << +CGEREP: 1,0\x0D\x0A
    2019-10-03T04:12:17.087Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.092Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-10-03T04:12:17.127Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.151Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-10-03T04:12:17.176Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.205Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-10-03T04:12:17.240Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",9\x0D\x0A
    2019-10-03T04:12:17.246Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.297Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-10-03T04:12:17.326Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.355Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-03T04:12:17.384Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-10-03T04:12:17.389Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.424Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-10-03T04:12:17.450Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.471Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-10-03T04:12:17.500Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-10-03T04:12:17.512Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.545Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-10-03T04:12:17.576Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-10-03T04:12:17.582Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.632Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-10-03T04:12:17.672Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-10-03T04:12:17.678Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.713Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-10-03T04:12:17.748Z DEBUG modem << 901405710000106\x0D\x0A
    2019-10-03T04:12:17.753Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-03T04:12:17.756Z INFO IMSIdentity: 901405710000106
    2019-10-03T04:12:27.364Z DEBUG modem << [00:00:21.664,062] \x1B[0m<dbg> lte_lc.at_handler: recv: %CESQ: 56,2\x0D\x0A
    2019-10-03T04:12:27.457Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:12:27.491Z DEBUG modem << [00:00:21.670,837] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 2,"3AAC","01375F66",9\x0D\x0A
    2019-10-03T04:12:27.503Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:12:29.366Z DEBUG modem << [00:00:23.665,435] \x1B[0m<dbg> lte_lc.at_handler: recv: +CGEV: ME PDN ACT 0,0\x0D\x0A
    2019-10-03T04:12:29.369Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:12:29.396Z DEBUG modem << [00:00:23.673,095] \x1B[0m<dbg> lte_lc.at_handler: recv: +CNEC_ESM: 50,0\x0D\x0A
    2019-10-03T04:12:29.401Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:12:29.430Z DEBUG modem << [00:00:23.680,114] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 5,"3AAC","01375F66",9\x0D\x0A
    2019-10-03T04:12:29.434Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:12:29.437Z DEBUG modem << Connected to LTE network\x0D\x0A
    2019-10-03T04:12:29.440Z DEBUG modem << [00:00:23.691,009] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: getaddrinfo failed 22\x1B[0m\x0D\x0A
    2019-10-03T04:12:29.444Z DEBUG modem << cloud_connect failed: 22\x0D\x0A
    2019-10-03T04:12:29.447Z DEBUG modem << LTE link disconnect\x0D\x0A
    2019-10-03T04:12:29.894Z DEBUG modem << Shutdown modem\x0D\x0A
    2019-10-03T04:12:29.925Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2643-g4ebad02e3e27 *****\x0D\x0A
    2019-10-03T04:12:29.935Z DEBUG modem << Flash region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-03T04:12:29.942Z DEBUG modem << 00 0x00000 0x08000 \x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:29.955Z DEBUG modem << 01 0x08000 0x10000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:29.959Z DEBUG modem << 02 0x10000 0x18000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:29.966Z DEBUG modem << 03 0x18000 0x20000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:29.971Z DEBUG modem << 04 0x20000 0x28000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.008Z DEBUG modem << 05 0x28000 0x30000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.013Z DEBUG modem << 06 0x30000 0x38000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.031Z DEBUG modem << 07 0x38000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.038Z DEBUG modem << 08 0x40000 0x48000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.055Z DEBUG modem << 09 0x48000 0x50000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.065Z DEBUG modem << 10 0x50000 0x58000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.069Z DEBUG modem << 11 0x58000 0x60000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.074Z DEBUG modem << 12 0x60000 0x68000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.078Z DEBUG modem << 13 0x68000 0x70000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.084Z DEBUG modem << 14 0x70000 0x78000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.091Z DEBUG modem << 15 0x78000 0x80000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.096Z DEBUG modem << 16 0x80000 0x88000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.102Z DEBUG modem << 17 0x88000 0x90000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.108Z DEBUG modem << 18 0x90000 0x98000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.114Z DEBUG modem << 19 0x98000 0xa0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.124Z DEBUG modem << 20 0xa0000 0xa8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.174Z DEBUG modem << 21 0xa8000 0xb0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.178Z DEBUG modem << 22 0xb0000 0xb8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.182Z DEBUG modem << 23 0xb8000 0xc0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.185Z DEBUG modem << 24 0xc0000 0xc8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.188Z DEBUG modem << 25 0xc8000 0xd0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.191Z DEBUG modem << 26 0xd0000 0xd8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.195Z DEBUG modem << 27 0xd8000 0xe0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.201Z DEBUG modem << 28 0xe0000 0xe8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.210Z DEBUG modem << 29 0xe8000 0xf0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.214Z DEBUG modem << 30 0xf0000 0xf8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.217Z DEBUG modem << 31 0xf8000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.219Z DEBUG modem << Non-secure callable region 0 placed in flash region 0 with size 32.\x0D\x0A\x0D\x0A\x0D\x0A
    2019-10-03T04:12:30.224Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-03T04:12:30.230Z DEBUG modem << 00 0x00000 0x02000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.241Z DEBUG modem << 01 0x02000 0x04000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.247Z DEBUG modem << 02 0x04000 0x06000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.249Z DEBUG modem << 03 0x06000 0x08000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.252Z DEBUG modem << 04 0x08000 0x0a000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.255Z DEBUG modem << 05 0x0a000 0x0c000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.257Z DEBUG modem << 06 0x0c000 0x0e000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.263Z DEBUG modem << 07 0x0e000 0x10000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.266Z DEBUG modem << 08 0x10000 0x12000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.268Z DEBUG modem << 09 0x12000 0x14000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.274Z DEBUG modem << 10 0x14000 0x16000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.277Z DEBUG modem << 11 0x16000 0x18000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.281Z DEBUG modem << 12 0x18000 0x1a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.286Z DEBUG modem << 13 0x1a000 0x1c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.291Z DEBUG modem << 14 0x1c000 0x1e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.295Z DEBUG modem << 15 0x1e000 0x20000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.299Z DEBUG modem << 16 0x20000 0x22000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.302Z DEBUG modem << 17 0x22000 0x24000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.305Z DEBUG modem << 18 0x24000 0x26000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.307Z DEBUG modem << 19 0x26000 0x28000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.310Z DEBUG modem << 20 0x28000 0x2a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.313Z DEBUG modem << 21 0x2a000 0x2c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.315Z DEBUG modem << 22 0x2c000 0x2e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.317Z DEBUG modem << 23 0x2e000 0x30000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.321Z DEBUG modem << 24 0x30000 0x32000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.324Z DEBUG modem << 25 0x32000 0x34000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.328Z DEBUG modem << 26 0x34000 0x36000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.331Z DEBUG modem << 27 0x36000 0x38000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.333Z DEBUG modem << 28 0x38000 0x3a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.335Z DEBUG modem << 29 0x3a000 0x3c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.338Z DEBUG modem << 30 0x3c000 0x3e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:30.340Z DEBUG modem << 31 0x3e000 0x40000\x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2019-10-03T04:12:30.343Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2019-10-03T04:12:30.345Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.351Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.353Z DEBUG modem << 02 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.413Z DEBUG modem << 03 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.417Z DEBUG modem << 04 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.419Z DEBUG modem << 05 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2019-10-03T04:12:30.423Z DEBUG modem << 06 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.426Z DEBUG modem << 07 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.429Z DEBUG modem << 08 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.432Z DEBUG modem << 09 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.434Z DEBUG modem << 10 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.439Z DEBUG modem << 11 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.441Z DEBUG modem << 12 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.445Z DEBUG modem << 13 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.449Z DEBUG modem << 14 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.452Z DEBUG modem << 15 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.454Z DEBUG modem << 16 NRF_WDT              Secure\x09\x09SKIP\x0D\x0A
    2019-10-03T04:12:30.457Z DEBUG modem << 17 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.460Z DEBUG modem << 18 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.463Z DEBUG modem << 19 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.465Z DEBUG modem << 20 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.467Z DEBUG modem << 21 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.470Z DEBUG modem << 22 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:30.472Z DEBUG modem << 23 NRF_REGULATORS       Secure\x09\x09SKIP\x0D\x0A\x0D\x0A
    2019-10-03T04:12:30.477Z DEBUG modem << SPM: NS image at 0xc000\x0D\x0A
    2019-10-03T04:12:30.480Z DEBUG modem << SPM: NS MSP at 0x2002c478\x0D\x0A
    2019-10-03T04:12:30.487Z DEBUG modem << SPM: NS reset vector at 0x127a9\x0D\x0A
    2019-10-03T04:12:30.489Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2019-10-03T04:12:31.943Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2643-g4ebad02e3e27 *****\x0D\x0A
    2019-10-03T04:12:31.977Z DEBUG modem << [00:00:01.721,282] \x1B[0m<dbg> nrf9160_gps.init: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A
    2019-10-03T04:12:31.982Z DEBUG modem << Asset tracker started\x0D\x0A
    2019-10-03T04:12:31.986Z DEBUG modem << [00:00:01.732,421] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100037459\x1B[0m\x0D\x0A
    2019-10-03T04:12:31.988Z DEBUG modem << [00:00:01.741,699] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100037459/shadow\x1B[0m\x0D\x0A
    2019-10-03T04:12:32.026Z DEBUG modem << [00:00:01.753,417] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: $aws/things/nrf-352656100037459/shadow/get/accepted\x1B[0m\x0D\x0A
    2019-10-03T04:12:32.061Z DEBUG modem << [00:00:01.765,991] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100037459/shadow/get/rejected\x1B[0m\x0D\x0A
    2019-10-03T04:12:32.065Z DEBUG modem << [00:00:01.778,594] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100037459/shadow/update/delta\x1B[0m\x0D\x0A
    2019-10-03T04:12:32.069Z DEBUG modem << [00:00:01.791,534] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100037459/shadow/update\x1B[0m\x0D\x0A
    2019-10-03T04:12:32.111Z DEBUG modem << [00:00:01.803,436] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100037459/shadow/get\x1B[0m\x0D\x0A
    2019-10-03T04:12:32.116Z DEBUG modem << Connecting to LTE network. This may take several minutes.\x0D\x0A
    2019-10-03T04:12:32.120Z DEBUG modem << [00:00:01.821,838] \x1B[0m<inf> lte_lc: Using legacy LTE PCO mode...\x1B[0m\x0D\x0A
    2019-10-03T04:12:32.123Z DEBUG modem << [00:00:01.828,277] \x1B[0m<dbg> lte_lc.w_lte_lc_connect: Network mode: AT%XSYSTEMMODE=0,1,1,0\x1B[0m\x0D\x0A
    2019-10-03T04:12:47.854Z DEBUG modem << [00:00:17.616,302] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 2,"3AAC","01375F66",9,0,0,"11100000","11100000"\x0D\x0A
    2019-10-03T04:12:47.859Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:12:49.861Z DEBUG modem << [00:00:19.617,614] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 5,"3AAC","01375F66",9,,,"11100000","01011111"\x0D\x0A
    2019-10-03T04:12:49.867Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:12:49.940Z DEBUG modem << Connected to LTE network\x0D\x0A
    2019-10-03T04:12:49.948Z DEBUG modem << [00:00:19.630,706] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: getaddrinfo failed 22\x1B[0m\x0D\x0A
    2019-10-03T04:12:49.959Z DEBUG modem << cloud_connect failed: 22\x0D\x0A
    2019-10-03T04:12:49.968Z DEBUG modem << LTE link disconnect\x0D\x0A
    2019-10-03T04:12:50.386Z DEBUG modem << Shutdown modem\x0D\x0A
    2019-10-03T04:12:50.431Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2643-g4ebad02e3e27 *****\x0D\x0A
    2019-10-03T04:12:50.434Z DEBUG modem << Flash region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-03T04:12:50.443Z DEBUG modem << 00 0x00000 0x08000 \x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.449Z DEBUG modem << 01 0x08000 0x10000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.454Z DEBUG modem << 02 0x10000 0x18000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.459Z DEBUG modem << 03 0x18000 0x20000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.462Z DEBUG modem << 04 0x20000 0x28000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.474Z DEBUG modem << 05 0x28000 0x30000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.476Z DEBUG modem << 06 0x30000 0x38000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.480Z DEBUG modem << 07 0x38000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.485Z DEBUG modem << 08 0x40000 0x48000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.541Z DEBUG modem << 09 0x48000 0x50000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.548Z DEBUG modem << 10 0x50000 0x58000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.554Z DEBUG modem << 11 0x58000 0x60000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.559Z DEBUG modem << 12 0x60000 0x68000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.564Z DEBUG modem << 13 0x68000 0x70000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.571Z DEBUG modem << 14 0x70000 0x78000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.591Z DEBUG modem << 15 0x78000 0x80000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.604Z DEBUG modem << 16 0x80000 0x88000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.608Z DEBUG modem << 17 0x88000 0x90000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.611Z DEBUG modem << 18 0x90000 0x98000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.614Z DEBUG modem << 19 0x98000 0xa0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.617Z DEBUG modem << 20 0xa0000 0xa8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.619Z DEBUG modem << 21 0xa8000 0xb0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.623Z DEBUG modem << 22 0xb0000 0xb8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.625Z DEBUG modem << 23 0xb8000 0xc0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.629Z DEBUG modem << 24 0xc0000 0xc8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.631Z DEBUG modem << 25 0xc8000 0xd0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.633Z DEBUG modem << 26 0xd0000 0xd8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.688Z DEBUG modem << 27 0xd8000 0xe0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.696Z DEBUG modem << 28 0xe0000 0xe8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.700Z DEBUG modem << 29 0xe8000 0xf0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.705Z DEBUG modem << 30 0xf0000 0xf8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.709Z DEBUG modem << 31 0xf8000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.711Z DEBUG modem << Non-secure callable region 0 placed in flash region 0 with size 32.\x0D\x0A\x0D\x0A\x0D\x0A
    2019-10-03T04:12:50.714Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-03T04:12:50.717Z DEBUG modem << 00 0x00000 0x02000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.721Z DEBUG modem << 01 0x02000 0x04000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.726Z DEBUG modem << 02 0x04000 0x06000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.728Z DEBUG modem << 03 0x06000 0x08000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.735Z DEBUG modem << 04 0x08000 0x0a000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.738Z DEBUG modem << 05 0x0a000 0x0c000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.741Z DEBUG modem << 06 0x0c000 0x0e000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.743Z DEBUG modem << 07 0x0e000 0x10000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.745Z DEBUG modem << 08 0x10000 0x12000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.749Z DEBUG modem << 09 0x12000 0x14000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.753Z DEBUG modem << 10 0x14000 0x16000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.758Z DEBUG modem << 11 0x16000 0x18000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.764Z DEBUG modem << 12 0x18000 0x1a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.768Z DEBUG modem << 13 0x1a000 0x1c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.772Z DEBUG modem << 14 0x1c000 0x1e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.775Z DEBUG modem << 15 0x1e000 0x20000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.779Z DEBUG modem << 16 0x20000 0x22000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.782Z DEBUG modem << 17 0x22000 0x24000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.784Z DEBUG modem << 18 0x24000 0x26000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.787Z DEBUG modem << 19 0x26000 0x28000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.789Z DEBUG modem << 20 0x28000 0x2a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.791Z DEBUG modem << 21 0x2a000 0x2c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.794Z DEBUG modem << 22 0x2c000 0x2e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.797Z DEBUG modem << 23 0x2e000 0x30000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.801Z DEBUG modem << 24 0x30000 0x32000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.803Z DEBUG modem << 25 0x32000 0x34000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.806Z DEBUG modem << 26 0x34000 0x36000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.808Z DEBUG modem << 27 0x36000 0x38000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.813Z DEBUG modem << 28 0x38000 0x3a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.816Z DEBUG modem << 29 0x3a000 0x3c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.818Z DEBUG modem << 30 0x3c000 0x3e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:12:50.822Z DEBUG modem << 31 0x3e000 0x40000\x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2019-10-03T04:12:50.824Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2019-10-03T04:12:50.827Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.830Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.833Z DEBUG modem << 02 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.836Z DEBUG modem << 03 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.839Z DEBUG modem << 04 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.843Z DEBUG modem << 05 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2019-10-03T04:12:50.845Z DEBUG modem << 06 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.912Z DEBUG modem << 07 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.915Z DEBUG modem << 08 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.918Z DEBUG modem << 09 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.923Z DEBUG modem << 10 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.928Z DEBUG modem << 11 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.935Z DEBUG modem << 12 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.939Z DEBUG modem << 13 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.944Z DEBUG modem << 14 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.947Z DEBUG modem << 15 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.950Z DEBUG modem << 16 NRF_WDT              Secure\x09\x09SKIP\x0D\x0A
    2019-10-03T04:12:50.955Z DEBUG modem << 17 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.962Z DEBUG modem << 18 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.965Z DEBUG modem << 19 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.969Z DEBUG modem << 20 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.973Z DEBUG modem << 21 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.976Z DEBUG modem << 22 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:12:50.980Z DEBUG modem << 23 NRF_REGULATORS       Secure\x09\x09SKIP\x0D\x0A\x0D\x0A
    2019-10-03T04:12:50.984Z DEBUG modem << SPM: NS image at 0xc000\x0D\x0A
    2019-10-03T04:12:50.986Z DEBUG modem << SPM: NS MSP at 0x2002c478\x0D\x0A
    2019-10-03T04:12:50.989Z DEBUG modem << SPM: NS reset vector at 0x127a9\x0D\x0A
    2019-10-03T04:12:50.991Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2019-10-03T04:12:51.060Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2643-g4ebad02e3e27 *****\x0D\x0A
    2019-10-03T04:12:51.106Z DEBUG modem << [00:00:00.341,125] \x1B[0m<dbg> nrf9160_gps.init: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.109Z DEBUG modem << Asset tracker started\x0D\x0A
    2019-10-03T04:12:51.160Z DEBUG modem << [00:00:00.352,264] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100037459\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.165Z DEBUG modem << [00:00:00.361,541] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100037459/shadow\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.168Z DEBUG modem << [00:00:00.373,229] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: $aws/things/nrf-352656100037459/shadow/get/accepted\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.173Z DEBUG modem << [00:00:00.385,833] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100037459/shadow/get/rejected\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.221Z DEBUG modem << [00:00:00.398,406] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100037459/shadow/update/delta\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.226Z DEBUG modem << [00:00:00.411,346] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100037459/shadow/update\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.229Z DEBUG modem << [00:00:00.423,248] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100037459/shadow/get\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.233Z DEBUG modem << Connecting to LTE network. This may take several minutes.\x0D\x0A
    2019-10-03T04:12:51.237Z DEBUG modem << [00:00:00.441,558] \x1B[0m<inf> lte_lc: Using legacy LTE PCO mode...\x1B[0m\x0D\x0A
    2019-10-03T04:12:51.241Z DEBUG modem << [00:00:00.447,998] \x1B[0m<dbg> lte_lc.w_lte_lc_connect: Network mode: AT%XSYSTEMMODE=0,1,1,0\x1B[0m\x0D\x0A
    2019-10-03T04:13:08.340Z DEBUG modem << [00:00:17.616,546] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 2,"3AAC","01375F66",9,0,0,"11100000","11100000"\x0D\x0A
    2019-10-03T04:13:08.344Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-03T04:13:09.701Z DEBUG modem << [00:00:18.977,844] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 5,"3AAC","01375F66",9,,,"11100000","01011111"\x0D\x0A
    2019-10-03T04:13:09.713Z DEBUG modem << \x1B[0m\x0D
    2019-10-03T04:13:09.755Z DEBUG modem << Connected to LTE network\x0D\x0A
    2019-10-03T04:13:09.758Z DEBUG modem << [00:00:18.990,905] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: getaddrinfo failed 22\x1B[0m\x0D\x0A
    2019-10-03T04:13:09.762Z DEBUG modem << cloud_connect failed: 22\x0D\x0A
    2019-10-03T04:13:09.765Z DEBUG modem << LTE link disconnect\x0D\x0A
    2019-10-03T04:13:11.576Z DEBUG modem << Shutdown modem\x0D\x0A
    2019-10-03T04:13:11.617Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2643-g4ebad02e3e27 *****\x0D\x0A
    2019-10-03T04:13:11.620Z DEBUG modem << Flash region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-03T04:13:11.623Z DEBUG modem << 00 0x00000 0x08000 \x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.627Z DEBUG modem << 01 0x08000 0x10000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.631Z DEBUG modem << 02 0x10000 0x18000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.633Z DEBUG modem << 03 0x18000 0x20000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.637Z DEBUG modem << 04 0x20000 0x28000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.642Z DEBUG modem << 05 0x28000 0x30000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.648Z DEBUG modem << 06 0x30000 0x38000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.659Z DEBUG modem << 07 0x38000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.774Z DEBUG modem << 08 0x40000 0x48000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.787Z DEBUG modem << 09 0x48000 0x50000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.794Z DEBUG modem << 10 0x50000 0x58000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.799Z DEBUG modem << 11 0x58000 0x60000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.816Z DEBUG modem << 12 0x60000 0x68000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.821Z DEBUG modem << 13 0x68000 0x70000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.825Z DEBUG modem << 14 0x70000 0x78000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.833Z DEBUG modem << 15 0x78000 0x80000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.838Z DEBUG modem << 16 0x80000 0x88000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.846Z DEBUG modem << 17 0x88000 0x90000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.850Z DEBUG modem << 18 0x90000 0x98000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.853Z DEBUG modem << 19 0x98000 0xa0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.855Z DEBUG modem << 20 0xa0000 0xa8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.859Z DEBUG modem << 21 0xa8000 0xb0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.865Z DEBUG modem << 22 0xb0000 0xb8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.869Z DEBUG modem << 23 0xb8000 0xc0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.876Z DEBUG modem << 24 0xc0000 0xc8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.886Z DEBUG modem << 25 0xc8000 0xd0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.889Z DEBUG modem << 26 0xd0000 0xd8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.891Z DEBUG modem << 27 0xd8000 0xe0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.969Z DEBUG modem << 28 0xe0000 0xe8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.974Z DEBUG modem << 29 0xe8000 0xf0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.982Z DEBUG modem << 30 0xf0000 0xf8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.987Z DEBUG modem << 31 0xf8000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:11.990Z DEBUG modem << Non-secure callable region 0 placed in flash region 0 with size 32.\x0D\x0A\x0D\x0A\x0D\x0A
    2019-10-03T04:13:11.997Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-03T04:13:12.000Z DEBUG modem << 00 0x00000 0x02000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.002Z DEBUG modem << 01 0x02000 0x04000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.004Z DEBUG modem << 02 0x04000 0x06000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.006Z DEBUG modem << 03 0x06000 0x08000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.009Z DEBUG modem << 04 0x08000 0x0a000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.011Z DEBUG modem << 05 0x0a000 0x0c000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.014Z DEBUG modem << 06 0x0c000 0x0e000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.016Z DEBUG modem << 07 0x0e000 0x10000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.018Z DEBUG modem << 08 0x10000 0x12000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.020Z DEBUG modem << 09 0x12000 0x14000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.023Z DEBUG modem << 10 0x14000 0x16000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.025Z DEBUG modem << 11 0x16000 0x18000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.027Z DEBUG modem << 12 0x18000 0x1a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.031Z DEBUG modem << 13 0x1a000 0x1c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.034Z DEBUG modem << 14 0x1c000 0x1e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.036Z DEBUG modem << 15 0x1e000 0x20000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.038Z DEBUG modem << 16 0x20000 0x22000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.042Z DEBUG modem << 17 0x22000 0x24000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.044Z DEBUG modem << 18 0x24000 0x26000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.047Z DEBUG modem << 19 0x26000 0x28000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.050Z DEBUG modem << 20 0x28000 0x2a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.052Z DEBUG modem << 21 0x2a000 0x2c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.054Z DEBUG modem << 22 0x2c000 0x2e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.059Z DEBUG modem << 23 0x2e000 0x30000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.062Z DEBUG modem << 24 0x30000 0x32000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.065Z DEBUG modem << 25 0x32000 0x34000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.067Z DEBUG modem << 26 0x34000 0x36000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.069Z DEBUG modem << 27 0x36000 0x38000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.072Z DEBUG modem << 28 0x38000 0x3a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.074Z DEBUG modem << 29 0x3a000 0x3c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.076Z DEBUG modem << 30 0x3c000 0x3e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-03T04:13:12.078Z DEBUG modem << 31 0x3e000 0x40000\x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2019-10-03T04:13:12.081Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2019-10-03T04:13:12.083Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.085Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.087Z DEBUG modem << 02 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.090Z DEBUG modem << 03 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.092Z DEBUG modem << 04 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.094Z DEBUG modem << 05 NRF_UARTE2           Secure\x09\x09SKIP\x0D\x0A
    2019-10-03T04:13:12.097Z DEBUG modem << 06 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.100Z DEBUG modem << 07 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.102Z DEBUG modem << 08 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.104Z DEBUG modem << 09 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.106Z DEBUG modem << 10 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.109Z DEBUG modem << 11 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.111Z DEBUG modem << 12 NRF_PWM0             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.113Z DEBUG modem << 13 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.115Z DEBUG modem << 14 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.120Z DEBUG modem << 15 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.123Z DEBUG modem << 16 NRF_WDT              Secure\x09\x09SKIP\x0D\x0A
    2019-10-03T04:13:12.125Z DEBUG modem << 17 NRF_IPC              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.127Z DEBUG modem << 18 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.130Z DEBUG modem << 19 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.132Z DEBUG modem << 20 NRF_EGU1             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.134Z DEBUG modem << 21 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.136Z DEBUG modem << 22 NRF_GPIOTE1          Non-Secure\x09OK\x0D\x0A
    2019-10-03T04:13:12.139Z DEBUG modem << 23 NRF_REGULATORS       Secure\x09\x09SKIP\x0D\x0A\x0D\x0A
    2019-10-03T04:13:12.142Z DEBUG modem << SPM: NS image at 0xc000\x0D\x0A
    2019-10-03T04:13:12.144Z DEBUG modem << SPM: NS MSP at 0x2002c478\x0D\x0A
    2019-10-03T04:13:12.147Z DEBUG modem << SPM: NS reset vector at 0x127a9\x0D\x0A
    2019-10-03T04:13:12.150Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2019-10-03T04:13:12.244Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2643-g4ebad02e3e27 *****\x0D\x0A
    2019-10-03T04:13:12.309Z DEBUG modem << [00:00:00.341,247] \x1B[0m<dbg> nrf9160_gps.init: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.371Z DEBUG modem << Asset tracker started\x0D\x0A
    2019-10-03T04:13:12.375Z DEBUG modem << [00:00:00.352,386] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100037459\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.380Z DEBUG modem << [00:00:00.361,663] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100037459/shadow\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.383Z DEBUG modem << [00:00:00.373,382] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: $aws/things/nrf-352656100037459/shadow/get/accepted\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.385Z DEBUG modem << [00:00:00.385,955] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100037459/shadow/get/rejected\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.441Z DEBUG modem << [00:00:00.398,529] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100037459/shadow/update/delta\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.444Z DEBUG modem << [00:00:00.411,468] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100037459/shadow/update\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.448Z DEBUG modem << [00:00:00.423,339] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100037459/shadow/get\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.451Z DEBUG modem << Connecting to LTE network. This may take several minutes.\x0D\x0A
    2019-10-03T04:13:12.453Z DEBUG modem << [00:00:00.441,650] \x1B[0m<inf> lte_lc: Using legacy LTE PCO mode...\x1B[0m\x0D\x0A
    2019-10-03T04:13:12.456Z DEBUG modem << [00:00:00.448,089] \x1B[0m<dbg> lte_lc.w_lte_lc_connect: Network mode: AT%XSYSTEMMODE=0,1,1,0\x1B[0m\x0D\x0A
    2019-10-03T04:13:16.703Z INFO Modem port is closed
    

    It gets the error 22 every time when it trys to connect to nRF Cloud.

    Thanks for your answers!

  • Hi, I think I've found the answer but you might not like it.

    I suspect the DNS resolve is failing because the network you're on does not support it. A solution presented in this ticket is to add the following to prj.conf in the asset tracker example

    CONFIG_NRF_CLOUD_STATIC_IPV4_ADDR=<ip_address>

    CONFIG_LTE_LEGACY_PCO_MODE=y

    CONFIG_NRF_CLOUD_STATIC_IPV4=y

    CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y

    and make sure this config is set to n (CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=n). 

    You can find the IP address to nRF Cloud here: 

    https://whatismyipaddress.com/hostname-ip 

    with the nRF cloud host: a2n7tk1kp18wix-ats.iot.us-east-1.amazonaws.com

    Then you can add one of the IP-addresses in the prj.conf file.

    Note that these IPs can change, so you may need to update this if you want to prototype with nRF Cloud.

    Let me know if this works!

    Best regards,

    Heidi

  • Am I doing this right?: 

    I open the prj.conf file in the editor, add the lines to the bottom of the file and save it.

    Then I try to load the asset tracker in the Segger Embedded Studio, there is an error message:

    Loading solution asset_tracker.emProject
    Executing load commands
    cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=C:/Maturaprojekt/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns -HC:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/SES/arm_segger_embedded_studio_v418_win_x86_nordic/html/configure_nordic_project_menuconfig.py
    -- Using application from 'C:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker'
    Zephyr version: 1.14.99
    -- Selected BOARD nrf9160_pca10090
    -- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.6.0", minimum required is "0.5.6")
    -- Cache files will be written to: C:\Users\Benjamin Bergmann\AppData\Local/.cache/zephyr
    USING OUT OF TREE BOARD
    -- Loading C:/Maturaprojekt/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying C:/Maturaprojekt_Oktober/ncs/zephyr/dts/common/common.dts
    
    C:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker/prj.conf:61: warning: malformed string literal in assignment to NRF_CLOUD_STATIC_IPV4_ADDR (defined at ..\nrf\subsys\net\lib\nrf_cloud\Kconfig:17). Assignment ignored.
    Parsing Kconfig tree in C:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker/Kconfig
    Loading C:/Maturaprojekt/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig as base
    Merging C:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker/prj.conf
    
    C:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker/prj.conf:64: warning: attempt to assign the value 'y' to the undefined symbol LTE_NETWORK_MODE_NBIOT_GPS
    
    C:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker/prj.conf:65: warning: attempt to assign the value 'n' to the undefined symbol LTE_NETWORK_MODE_LTE_M_GPS
    
    warning: BSD_LIBRARY (defined at ..\nrf\lib\bsdlib\Kconfig:8) has direct dependencies TRUSTED_EXECUTION_NONSECURE with value n, but is currently being y-selected by the following symbols:
    - MODEM_INFO (defined at ..\nrf\lib\modem_info\Kconfig:7), with value y, direct dependencies "y" (value: y)
    
    Error: Aborting due to non-whitelisted Kconfig warning
    'C:/Maturaprojekt_Oktober/ncs/nrf/applications/asset_tracker/prj.conf:61: warning: malformed string
    literal in assignment to NRF_CLOUD_STATIC_IPV4_ADDR (defined at
    ..\nrf\subsys\net\lib\nrf_cloud\Kconfig:17). Assignment ignored.'. Note: If this warning doesn't
    point to an actual problem, you can add it to the whitelist at the top of
    C:/Maturaprojekt_Oktober/ncs/zephyr/scripts/kconfig/kconfig.py.
    
    CMake Error at C:/Maturaprojekt_Oktober/ncs/zephyr/cmake/kconfig.cmake:200 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/Maturaprojekt_Oktober/ncs/zephyr/cmake/app/boilerplate.cmake:529 (include)
    CMakeLists.txt:11 (include)
    
    
    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)

    If I load the asset_tracker without changing the prj.conf file, it loads and runs without errors. Do I have to change something else too? 

    Thanks for your answers!

  • The configurations I gave you are only defined on the master branch of ncs, not the v1.0.0 tag. Make sure you're on the master branch when building. 

Reply Children
  • So do I have to setup the SDK again, but this time with 

    git checkout master

    command instead of 

    git checkout v1.0.0

    ? Or does I have to change the 

    west init -m github.com/.../fw-nrfconnect-nrf

    command?

    Or how do I get to the master branch?

    Thanks for your answers! 

  • To get to the master branch just run 

    git checkout master
    west update
  • OK, adding the 4 lines 

    CONFIG_LTE_LEGACY_PCO_MODE=y
    CONFIG_NRF_CLOUD_STATIC_IPV4=y
    CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y
    CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=n

    to the prj.conf file worked and I could flash the nrf with it for a test.

    When I add the line 

    CONFIG_NRF_CLOUD_STATIC_IPV4_ADDR=52.87.36.155

    to the other lines in the prj.conf then I get this error message:

    Loading solution asset_tracker.emProject
    Executing load commands
    cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=C:/Maturaprojekt_Master/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns -HC:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/SES/arm_segger_embedded_studio_v418_win_x86_nordic/html/configure_nordic_project_menuconfig.py
    -- Using application from 'C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker'
    Zephyr version: 2.0.99
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.6.2", minimum required is "0.6.0")
    -- Cache files will be written to: C:\Users\Benjamin Bergmann\AppData\Local/.cache/zephyr
    USING OUT OF TREE BOARD
    -- Loading C:/Maturaprojekt_Master/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    -- Overlaying C:/Maturaprojekt_Master/ncs/zephyr/dts/common/common.dts
    Device tree configuration written to C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/zephyr/include/generated/generated_dts_board.conf
    
    C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker/prj.conf:90: warning: malformed string literal in assignment to NRF_CLOUD_STATIC_IPV4_ADDR (defined at C:/Maturaprojekt_Master/ncs/nrf\subsys\net\lib\nrf_cloud/Kconfig:17). Assignment ignored.
    Parsing Kconfig tree in C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker/Kconfig
    C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker\src/ui/Kconfig:27: WARNING: dt_str_val is deprecated.
    C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker\src/ui/Kconfig:31: WARNING: dt_int_val is deprecated.
    Loaded configuration 'C:/Maturaprojekt_Master/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig'
    Merged configuration 'C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker/prj.conf'
    
    Error: Aborting due to non-whitelisted Kconfig warning
    'C:/Maturaprojekt_Master/ncs/nrf/applications/asset_tracker/prj.conf:90: warning: malformed string
    literal in assignment to NRF_CLOUD_STATIC_IPV4_ADDR (defined at
    C:/Maturaprojekt_Master/ncs/nrf\subsys\net\lib\nrf_cloud/Kconfig:17). Assignment ignored.'. Note: If
    this warning doesn't point to an actual problem, you can add it to the whitelist at the top of
    C:/Maturaprojekt_Master/ncs/zephyr/scripts/kconfig/kconfig.py.
    
    CMake Error at C:/Maturaprojekt_Master/ncs/zephyr/cmake/kconfig.cmake:223 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/Maturaprojekt_Master/ncs/zephyr/cmake/app/boilerplate.cmake:560 (include)
    CMakeLists.txt:11 (include)
    
    
    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)
     

    Is it right, that I use the first IP here?:

    Or do I have to use some of the other listed IPs?

  • Hi, you need " " around the IP address, so

    CONFIG_NRF_CLOUD_STATIC_IPV4_ADDR="52.87.36.155"

  • Thanks! Now I flashed the program on the nrf and I got 

    cloud_connect failed: -111 

    2019-10-10T17:09:30.343Z INFO Application data folder: C:\Users\Benjamin Bergmann\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2019-10-10T17:09:30.417Z DEBUG App pc-nrfconnect-linkmonitor v1.1.1 official
    2019-10-10T17:09:30.417Z DEBUG App path: C:\Users\Benjamin Bergmann\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2019-10-10T17:09:30.417Z DEBUG nRFConnect 3.2.0 is supported by the app (^3.2.0)
    2019-10-10T17:09:30.417Z DEBUG nRFConnect path: C:\Users\Benjamin Bergmann\AppData\Local\Programs\nrfconnect\resources\app.asar
    2019-10-10T17:09:30.417Z DEBUG HomeDir: C:\Users\Benjamin Bergmann
    2019-10-10T17:09:30.417Z DEBUG TmpDir: C:\Users\BENJAM~1\AppData\Local\Temp
    2019-10-10T17:09:38.996Z INFO Modem port is opened
    2019-10-10T17:09:39.003Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-10-10T17:09:39.009Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-10-10T17:09:39.011Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.037Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-10-10T17:09:39.043Z DEBUG modem << +CGSN: "352656100037459"\x0D\x0A
    2019-10-10T17:09:39.044Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.049Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-10-10T17:09:39.056Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-10-10T17:09:39.057Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.060Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-10-10T17:09:39.070Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-10-10T17:09:39.072Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.075Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-10-10T17:09:39.083Z DEBUG modem << mfw_nrf9160_1.0.1\x0D\x0A
    2019-10-10T17:09:39.084Z DEBUG modem << OK\x0D
    2019-10-10T17:09:39.086Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.1] SerNr: 352656100037459
    2019-10-10T17:09:39.088Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-10-10T17:09:39.093Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-10-10T17:09:39.094Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.104Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-10-10T17:09:39.113Z DEBUG modem << %XCBAND: (1,3,5,8)\x0D\x0A
    2019-10-10T17:09:39.115Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.125Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-10-10T17:09:39.131Z DEBUG modem << +CMEE: 0\x0D\x0A
    2019-10-10T17:09:39.132Z DEBUG modem << OK\x0D
    2019-10-10T17:09:39.135Z DEBUG modem >> AT+CMEE=1\x0D\x0A
    2019-10-10T17:09:39.139Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.141Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-10-10T17:09:39.149Z DEBUG modem << +CNEC: 0\x0D\x0A
    2019-10-10T17:09:39.151Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.154Z DEBUG modem >> AT+CNEC=24\x0D\x0A
    2019-10-10T17:09:39.158Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.161Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-10-10T17:09:39.168Z DEBUG modem << +CGEREP: 0,0\x0D\x0A
    2019-10-10T17:09:39.169Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.172Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-10-10T17:09:39.185Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.189Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-10-10T17:09:39.209Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.213Z DEBUG modem >> AT+CGEREP=1\x0D\x0A
    2019-10-10T17:09:39.225Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.229Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-10-10T17:09:39.241Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.244Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-10-10T17:09:39.257Z DEBUG modem << OK\x0D
    2019-10-10T17:09:39.259Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-10-10T17:09:39.275Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",9\x0D\x0A
    2019-10-10T17:09:39.276Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.284Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-10-10T17:09:39.296Z DEBUG modem << OK\x0D
    2019-10-10T17:09:39.301Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-10T17:09:39.317Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-10-10T17:09:39.318Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.323Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-10-10T17:09:39.334Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.337Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-10-10T17:09:39.350Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-10-10T17:09:39.351Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.357Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-10-10T17:09:39.370Z DEBUG modem << +CPIN: READY\x0D
    2019-10-10T17:09:39.371Z DEBUG modem << \x0A
    2019-10-10T17:09:39.372Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.377Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-10-10T17:09:39.398Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-10-10T17:09:39.399Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.403Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-10-10T17:09:39.416Z DEBUG modem << 901405710000106\x0D\x0A
    2019-10-10T17:09:39.417Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:39.418Z INFO IMSIdentity: 901405710000106
    2019-10-10T17:09:55.910Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-10T17:09:55.924Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-10-10T17:09:55.926Z DEBUG modem << \x0A
    2019-10-10T17:09:55.927Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:56.911Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-10T17:09:56.927Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-10-10T17:09:56.937Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:57.262Z DEBUG modem << [00:00:20.707,275] \x1B[0m<dbg> lte_lc.at_handler: recv: %CESQ: 57,2\x0D\x0A
    2019-10-10T17:09:57.272Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-10T17:09:57.274Z DEBUG modem << [00:00:20.714,050] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 2,"3AAC","01375F66",9\x0D\x0A
    2019-10-10T17:09:57.275Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-10T17:09:57.909Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-10T17:09:57.919Z DEBUG modem << +CESQ: 99,99,255,255,255,57\x0D\x0A
    2019-10-10T17:09:57.920Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:58.909Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-10T17:09:58.918Z DEBUG modem << +CESQ: 99,99,255,255,255,57\x0D\x0A
    2019-10-10T17:09:58.919Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:09:59.248Z DEBUG modem << [00:00:22.692,626] \x1B[0m<dbg> lte_lc.at_handler: recv: +CGEV: ME PDN ACT 0,0\x0D\x0A
    2019-10-10T17:09:59.250Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-10T17:09:59.255Z DEBUG modem << [00:00:22.700,286] \x1B[0m<dbg> lte_lc.at_handler: recv: +CNEC_ESM: 50,0\x0D\x0A
    2019-10-10T17:09:59.257Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-10T17:09:59.264Z DEBUG modem << [00:00:22.707,305] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 5,"3AAC","01375F66",9\x0D\x0A
    2019-10-10T17:09:59.265Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-10T17:09:59.271Z DEBUG modem << Connected to LTE network\x0D\x0A
    2019-10-10T17:09:59.275Z DEBUG modem << [00:00:22.717,987] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: IPv4 Address 52.206.68.39\x1B[0m\x0D\x0A
    2019-10-10T17:10:10.552Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-10-10T17:10:10.556Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-10-10T17:10:10.560Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.562Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-10-10T17:10:10.569Z DEBUG modem << +CGSN: "352656100037459"\x0D\x0A
    2019-10-10T17:10:10.570Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.573Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-10-10T17:10:10.578Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-10-10T17:10:10.580Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.582Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-10-10T17:10:10.590Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-10-10T17:10:10.591Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.593Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-10-10T17:10:10.598Z DEBUG modem << mfw_nrf9160_1.0.1\x0D\x0A
    2019-10-10T17:10:10.600Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.601Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.1] SerNr: 352656100037459
    2019-10-10T17:10:10.606Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-10-10T17:10:10.610Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-10-10T17:10:10.611Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.614Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-10-10T17:10:10.621Z DEBUG modem << %XCBAND: (1,3,5,8)\x0D\x0A
    2019-10-10T17:10:10.621Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.625Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-10-10T17:10:10.629Z DEBUG modem << +CMEE: 1\x0D\x0A
    2019-10-10T17:10:10.630Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.632Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-10-10T17:10:10.638Z DEBUG modem << +CNEC: 24\x0D\x0A
    2019-10-10T17:10:10.639Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.641Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-10-10T17:10:10.646Z DEBUG modem << +CGEREP: 1,0\x0D\x0A
    2019-10-10T17:10:10.647Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.652Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-10-10T17:10:10.657Z DEBUG modem << OK\x0D
    2019-10-10T17:10:10.660Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-10-10T17:10:10.664Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.670Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-10-10T17:10:10.676Z DEBUG modem << +CEREG: 2,5,"3AAC","01375F66",9\x0D\x0A
    2019-10-10T17:10:10.677Z DEBUG modem << OK\x0D\x0A
    2019-10-10T17:10:10.682Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2019-10-10T17:10:10.690Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.693Z DEBUG modem >> AT+COPS?\x0D\x0A
    2019-10-10T17:10:10.698Z DEBUG modem << +COPS: 0,2,"23203",9\x0D\x0A
    2019-10-10T17:10:10.705Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.710Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2019-10-10T17:10:10.715Z DEBUG modem << %XCBAND: 8\x0D\x0A
    2019-10-10T17:10:10.716Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.725Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-10-10T17:10:10.739Z DEBUG modem << +CGDCONT: 0,"IP","alliot.nbiot.at","10.16.0.226",0,0\x0D\x0A
    2019-10-10T17:10:10.740Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.746Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-10-10T17:10:10.755Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2019-10-10T17:10:10.756Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.760Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-10-10T17:10:10.764Z DEBUG modem << OK\x0D\x0A
    2019-10-10T17:10:10.770Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-10-10T17:10:10.775Z DEBUG modem << +CESQ: 99,99,255,255,255,57\x0D
    2019-10-10T17:10:10.776Z DEBUG modem << \x0A
    2019-10-10T17:10:10.777Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.781Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-10-10T17:10:10.791Z DEBUG modem << OK\x0D\x0A
    2019-10-10T17:10:10.794Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-10-10T17:10:10.798Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-10-10T17:10:10.799Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.807Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-10-10T17:10:10.812Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-10-10T17:10:10.814Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.825Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-10-10T17:10:10.839Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-10-10T17:10:10.840Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.844Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-10-10T17:10:10.848Z DEBUG modem << 901405710000106\x0D\x0A
    2019-10-10T17:10:10.854Z DEBUG modem << OK\x0D\x0A\x00
    2019-10-10T17:10:10.855Z INFO IMSIdentity: 901405710000106
    2019-10-10T17:10:16.533Z DEBUG modem << cloud_connect failed: -111\x0D\x0A
    2019-10-10T17:10:16.542Z DEBUG modem << LTE link disconnect\x0D\x0A
    2019-10-10T17:10:17.089Z DEBUG modem << Shutdown modem\x0D\x0A
    2019-10-10T17:10:17.103Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2647-gd6e67554cfeb *****\x0D\x0A
    2019-10-10T17:10:17.106Z DEBUG modem << Flash region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-10T17:10:17.108Z DEBUG modem << 00 0x00000 0x08000 \x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.111Z DEBUG modem << 01 0x08000 0x10000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.114Z DEBUG modem << 02 0x10000 0x18000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.122Z DEBUG modem << 03 0x18000 0x20000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.123Z DEBUG modem << 04 0x20000 0x28000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.125Z DEBUG modem << 05 0x28000 0x30000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.127Z DEBUG modem << 06 0x30000 0x38000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.130Z DEBUG modem << 07 0x38000 0x40000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.138Z DEBUG modem << 08 0x40000 0x48000 \x09Non-Secure\x09rwxl\x0D
    2019-10-10T17:10:17.139Z DEBUG modem << 09 0x48000 0x50000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.141Z DEBUG modem << 10 0x50000 0x58000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.142Z DEBUG modem << 11 0x58000 0x60000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.146Z DEBUG modem << 12 0x60000 0x68000 \x09Non-Secure\x09rwxl\x0D
    2019-10-10T17:10:17.154Z DEBUG modem << 13 0x68000 0x70000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.156Z DEBUG modem << 14 0x70000 0x78000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.157Z DEBUG modem << 15 0x78000 0x80000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.159Z DEBUG modem << 16 0x80000 0x88000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.163Z DEBUG modem << 17 0x88000 0x90000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.166Z DEBUG modem << 18 0x90000 0x98000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.173Z DEBUG modem << 19 0x98000 0xa0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.174Z DEBUG modem << 20 0xa0000 0xa8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.176Z DEBUG modem << 21 0xa8000 0xb0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.178Z DEBUG modem << 22 0xb0000 0xb8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.181Z DEBUG modem << 23 0xb8000 0xc0000 \x09Non-Secure\x09rwxl\x0D
    2019-10-10T17:10:17.190Z DEBUG modem << 24 0xc0000 0xc8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.192Z DEBUG modem << 25 0xc8000 0xd0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.193Z DEBUG modem << 26 0xd0000 0xd8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.195Z DEBUG modem << 27 0xd8000 0xe0000 \x09Non-Secure\x09rwxl\x0D
    2019-10-10T17:10:17.199Z DEBUG modem << 28 0xe0000 0xe8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.205Z DEBUG modem << 29 0xe8000 0xf0000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.206Z DEBUG modem << 30 0xf0000 0xf8000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.209Z DEBUG modem << 31 0xf8000 0x100000 \x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.214Z DEBUG modem << Non-secure callable region 0 placed in flash region 0 with size 32.\x0D\x0A\x0D\x0A
    2019-10-10T17:10:17.386Z DEBUG modem << SRAM region\x09\x09Domain\x09\x09Permissions\x0D\x0A
    2019-10-10T17:10:17.398Z DEBUG modem << 00 0x00000 0x02000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.399Z DEBUG modem << 01 0x02000 0x04000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.401Z DEBUG modem << 02 0x04000 0x06000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.403Z DEBUG modem << 03 0x06000 0x08000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.404Z DEBUG modem << 04 0x08000 0x0a000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.405Z DEBUG modem << 05 0x0a000 0x0c000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.406Z DEBUG modem << 06 0x0c000 0x0e000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.408Z DEBUG modem << 07 0x0e000 0x10000\x09Secure\x09\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.411Z DEBUG modem << 08 0x10000 0x12000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.415Z DEBUG modem << 09 0x12000 0x14000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.424Z DEBUG modem << 10 0x14000 0x16000\x09Non-Secure\x09rwxl\x0D
    2019-10-10T17:10:17.425Z DEBUG modem << 11 0x16000 0x18000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.426Z DEBUG modem << 12 0x18000 0x1a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.428Z DEBUG modem << 13 0x1a000 0x1c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.430Z DEBUG modem << 14 0x1c000 0x1e000\x09Non-Secure\x09rwxl\x0D
    2019-10-10T17:10:17.439Z DEBUG modem << 15 0x1e000 0x20000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.441Z DEBUG modem << 16 0x20000 0x22000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.442Z DEBUG modem << 17 0x22000 0x24000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.444Z DEBUG modem << 18 0x24000 0x26000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.446Z DEBUG modem << 19 0x26000 0x28000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.449Z DEBUG modem << 20 0x28000 0x2a000\x09Non-Secure\x09rwxl\x0D
    2019-10-10T17:10:17.457Z DEBUG modem << 21 0x2a000 0x2c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.458Z DEBUG modem << 22 0x2c000 0x2e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.459Z DEBUG modem << 23 0x2e000 0x30000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.462Z DEBUG modem << 24 0x30000 0x32000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.465Z DEBUG modem << 25 0x32000 0x34000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.475Z DEBUG modem << 26 0x34000 0x36000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.476Z DEBUG modem << 27 0x36000 0x38000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.477Z DEBUG modem << 28 0x38000 0x3a000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.479Z DEBUG modem << 29 0x3a000 0x3c000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.481Z DEBUG modem << 30 0x3c000 0x3e000\x09Non-Secure\x09rwxl\x0D\x0A
    2019-10-10T17:10:17.491Z DEBUG modem << 31 0x3e000 0x40000\x09Non-Secure\x09rwxl\x0D\x0A\x0D\x0A
    2019-10-10T17:10:17.492Z DEBUG modem << Peripheral\x09\x09Domain\x09\x09Status\x0D\x0A
    2019-10-10T17:10:17.493Z DEBUG modem << 00 NRF_P0               Non-Secure\x09OK\x0D
    2019-10-10T17:10:17.494Z DEBUG modem << 01 NRF_CLOCK            Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.497Z DEBUG modem << 02 NRF_RTC1             Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.507Z DEBUG modem << 03 NRF_NVMC             Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.508Z DEBUG modem << 04 NRF_UARTE1           Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.509Z DEBUG modem << 05 NRF_UARTE2           Secure\x09\x09SKIP\x0D
    2019-10-10T17:10:17.511Z DEBUG modem << 06 NRF_TWIM2            Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.514Z DEBUG modem << 07 NRF_SPIM3            Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.524Z DEBUG modem << 08 NRF_TIMER0           Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.525Z DEBUG modem << 09 NRF_TIMER1           Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.526Z DEBUG modem << 10 NRF_TIMER2           Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.528Z DEBUG modem << 11 NRF_SAADC            Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.531Z DEBUG modem << 12 NRF_PWM0             Non-Secure\x09OK\x0D
    2019-10-10T17:10:17.540Z DEBUG modem << 13 NRF_PWM1             Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.541Z DEBUG modem << 14 NRF_PWM2             Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.542Z DEBUG modem << 15 NRF_PWM3             Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.545Z DEBUG modem << 16 NRF_WDT              Secure\x09\x09SKIP\x0D\x0A
    2019-10-10T17:10:17.548Z DEBUG modem << 17 NRF_IPC              Non-Secure\x09OK\x0D
    2019-10-10T17:10:17.556Z DEBUG modem << 18 NRF_VMC              Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.557Z DEBUG modem << 19 NRF_FPU              Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.559Z DEBUG modem << 20 NRF_EGU1             Non-Secure\x09OK\x0D
    2019-10-10T17:10:17.562Z DEBUG modem << 21 NRF_EGU2             Non-Secure\x09OK\x0D\x0A
    2019-10-10T17:10:17.565Z DEBUG modem << 22 NRF_GPIOTE1          Non-Secure\x09OK\x0D
    2019-10-10T17:10:17.572Z DEBUG modem << 23 NRF_REGULATORS       Secure\x09\x09SKIP\x0D\x0A\x0D\x0A
    2019-10-10T17:10:17.573Z DEBUG modem << SPM: NS image at 0xc000\x0D\x0A
    2019-10-10T17:10:17.574Z DEBUG modem << SPM: NS MSP at 0x2002c568\x0D\x0A
    2019-10-10T17:10:17.576Z DEBUG modem << SPM: NS reset vector at 0x14771\x0D\x0A
    2019-10-10T17:10:17.580Z DEBUG modem << SPM: prepare to jump to Non-Secure image.\x0D\x0A
    2019-10-10T17:10:19.302Z DEBUG modem << ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-2647-gd6e67554cfeb *****\x0D\x0A
    2019-10-10T17:10:19.317Z DEBUG modem << [00:00:01.721,862] \x1B[0m<dbg> nrf9160_gps.init: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.318Z DEBUG modem << Asset tracker started\x0D\x0A
    2019-10-10T17:10:19.323Z DEBUG modem << [00:00:01.732,971] \x1B[0m<dbg> nrf_cloud_transport.nct_client_id_get: client_id = nrf-352656100037459\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.340Z DEBUG modem << [00:00:01.742,218] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_base_topic: $aws/things/nrf-352656100037459/shadow\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.347Z DEBUG modem << [00:00:01.753,936] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: accepted_topic: $aws/things/nrf-352656100037459/shadow/get/accepted\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.359Z DEBUG modem << [00:00:01.766,479] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: rejected_topic: $aws/things/nrf-352656100037459/shadow/get/rejected\x1B[0m\x0D
    2019-10-10T17:10:19.373Z DEBUG modem << [00:00:01.779,052] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_delta_topic: $aws/things/nrf-352656100037459/shadow/update/delta\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.390Z DEBUG modem << [00:00:01.791,992] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: update_topic: $aws/things/nrf-352656100037459/shadow/update\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.396Z DEBUG modem << [00:00:01.803,863] \x1B[0m<dbg> nrf_cloud_transport.nct_topics_populate: shadow_get_topic: $aws/things/nrf-352656100037459/shadow/get\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.407Z DEBUG modem << Connecting to LTE network. This may take several minutes.\x0D\x0A
    2019-10-10T17:10:19.409Z DEBUG modem << [00:00:01.822,082] \x1B[0m<inf> lte_lc: Using legacy LTE PCO mode...\x1B[0m\x0D\x0A
    2019-10-10T17:10:19.423Z DEBUG modem << [00:00:01.828,521] \x1B[0m<dbg> lte_lc.w_lte_lc_connect: Network mode: AT%XSYSTEMMODE=0,1,1,0\x1B[0m\x0D\x0A
    2019-10-10T17:10:38.228Z DEBUG modem << [00:00:20.636,810] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 2,"3AAC","01375F66",9,0,0,"11100000","11100000"\x0D\x0A
    2019-10-10T17:10:38.238Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-10T17:10:41.493Z DEBUG modem << [00:00:23.902,160] \x1B[0m<dbg> lte_lc.at_handler: recv: +CEREG: 5,"3AAC","01375F66",9,,,"11100000","01011111"\x0D\x0A
    2019-10-10T17:10:41.500Z DEBUG modem << \x1B[0m\x0D\x0A
    2019-10-10T17:10:41.501Z DEBUG modem << Connected to LTE network\x0D\x0A
    2019-10-10T17:10:41.505Z DEBUG modem << [00:00:23.915,008] \x1B[0m<dbg> nrf_cloud_transport.nct_connect: IPv4 Address 52.206.68.39\x1B[0m\x0D\x0A
    

    Everytime, when I search a ip adress with your link (https://whatismyipaddress.com/hostname-ip)
    the IP address of the a2n7tk1kp18wix-ats.iot.us-east-1.amazonaws.com changes. Is this normal? 

    And do you have an idea what the problem could be?

    Thanks for your answers!

Related