nrf9160 modem get stuck in LTE seaching

Hello,

for some days now, my modem is unable to connect to the network, it gets stuck in searching and i don't know why?. I am using an eSIM card from iBasis and i am trying to connect over LTE-M or NB-Iot to the californium server, but it just gets stuck.

Note: The modem hasn't been doing this in the past, it just started getting stuck some days ago until now

Can someone please help me .

2021-11-04T10:28:46.891Z INFO Application data folder: C:\Users\tcheced\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
2021-11-04T10:28:46.971Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
2021-11-04T10:28:46.971Z DEBUG App path: C:\Users\tcheced\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
2021-11-04T10:28:46.971Z DEBUG nRFConnect 3.8.0 is not supported by the app (^3.8.0)
2021-11-04T10:28:46.971Z DEBUG nRFConnect path: C:\Users\tcheced\AppData\Local\Programs\nrfconnect\resources\app.asar
2021-11-04T10:28:46.971Z DEBUG HomeDir: C:\Users\tcheced
2021-11-04T10:28:46.971Z DEBUG TmpDir: C:\Users\tcheced\AppData\Local\Temp
2021-11-04T10:28:50.873Z INFO Modem port is opened
2021-11-04T10:28:55.793Z DEBUG modem << *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
2021-11-04T10:28:55.807Z DEBUG modem << Flash regionsDomainPermissions
2021-11-04T10:28:55.811Z DEBUG modem << 00 01 0x00000 0x10000 Securerwxl
2021-11-04T10:28:55.814Z DEBUG modem << 02 31 0x10000 0x100000 Non-Securerwxl
2021-11-04T10:28:55.815Z DEBUG modem << Non-secure callable region 0 placed in flash region 1 with size 32.
2021-11-04T10:28:55.859Z DEBUG modem << SRAM regionDomainPermissions
2021-11-04T10:28:55.862Z DEBUG modem << 00 07 0x00000 0x10000 Securerwxl
2021-11-04T10:28:55.866Z DEBUG modem << 08 31 0x10000 0x40000 Non-Securerwxl
2021-11-04T10:28:55.868Z DEBUG modem << PeripheralDomainStatus
2021-11-04T10:28:55.872Z DEBUG modem << 00 NRF_P0               Non-SecureOK
2021-11-04T10:28:55.879Z DEBUG modem << 01 NRF_CLOCK            Non-SecureOK
2021-11-04T10:28:55.881Z DEBUG modem << 02 NRF_RTC0             Non-SecureOK
2021-11-04T10:28:55.888Z DEBUG modem << 03 NRF_RTC1             Non-SecureOK
2021-11-04T10:28:55.890Z DEBUG modem << 04 NRF_NVMC             Non-SecureOK
2021-11-04T10:28:55.897Z DEBUG modem << 05 NRF_UARTE1           Non-SecureOK
2021-11-04T10:28:55.900Z DEBUG modem << 06 NRF_UARTE2           SecureSKIP
2021-11-04T10:28:55.905Z DEBUG modem << 07 NRF_TWIM2            Non-SecureOK
2021-11-04T10:28:55.908Z DEBUG modem << 08 NRF_SPIM3            Non-SecureOK
2021-11-04T10:28:55.913Z DEBUG modem << 09 NRF_TIMER0           Non-SecureOK
2021-11-04T10:28:55.918Z DEBUG modem << 10 NRF_TIMER1           Non-SecureOK
2021-11-04T10:28:55.920Z DEBUG modem << 11 NRF_TIMER2           Non-SecureOK
2021-11-04T10:28:55.922Z DEBUG modem << 12 NRF_SAADC            Non-SecureOK
2021-11-04T10:28:55.930Z DEBUG modem << 13 NRF_PWM0             Non-SecureOK
2021-11-04T10:28:55.931Z DEBUG modem << 14 NRF_PWM1             Non-SecureOK
2021-11-04T10:28:55.933Z DEBUG modem << 15 NRF_PWM2             Non-SecureOK
2021-11-04T10:28:55.934Z DEBUG modem << 16 NRF_PWM3             Non-SecureOK
2021-11-04T10:28:55.939Z DEBUG modem << 17 NRF_WDT              Non-SecureOK
2021-11-04T10:28:55.943Z DEBUG modem << 18 NRF_IPC              Non-SecureOK
2021-11-04T10:28:55.948Z DEBUG modem << 19 NRF_VMC              Non-SecureOK
2021-11-04T10:28:55.950Z DEBUG modem << 20 NRF_FPU              Non-SecureOK
2021-11-04T10:28:55.958Z DEBUG modem << 21 NRF_EGU1             Non-SecureOK
2021-11-04T10:28:55.968Z DEBUG modem << 22 NRF_EGU2             Non-SecureOK
2021-11-04T10:28:55.970Z DEBUG modem << 23 NRF_DPPIC            Non-SecureOK
2021-11-04T10:28:55.971Z DEBUG modem << 24 NRF_REGULATORS       Non-SecureOK
2021-11-04T10:28:55.980Z DEBUG modem << 25 NRF_PDM              Non-SecureOK
2021-11-04T10:28:55.981Z DEBUG modem << 26 NRF_I2S              Non-SecureOK
2021-11-04T10:28:55.986Z DEBUG modem << 27 NRF_GPIOTE1          Non-SecureOK
2021-11-04T10:28:55.987Z DEBUG modem << SPM: NS image at 0x10000
2021-11-04T10:28:55.988Z DEBUG modem << SPM: NS MSP at 0x2001e3a0
2021-11-04T10:28:55.989Z DEBUG modem << SPM: NS reset vector at 0x147f1
2021-11-04T10:28:55.991Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
2021-11-04T10:28:56.215Z DEBUG modem << *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
2021-11-04T10:28:56.227Z DEBUG modem <<  CoAP/UDP sample started..
2021-11-04T10:28:56.230Z DEBUG modem << Verbindung zum LTE-Netz wird hergestellt
2021-11-04T10:28:56.234Z DEBUG modem << Das kann ein paar Minuten dauern..
2021-11-04T10:28:56.355Z DEBUG modem << Mit LTE-Netz verbunden
2021-11-04T10:28:57.540Z DEBUG modem << +CEREG: 2,"63AE","01A3F802",7
2021-11-04T10:28:57.555Z DEBUG modem << LTE veränderte Zelle: Zelle ID: 27523074, Tracking area: 25518
2021-11-04T10:28:57.557Z DEBUG modem << Active LTE Modus: LTE-M

BR,

Cedric

Parents
  • Hi,

     

    Could you try to connect with at_client firmware, in combination with LTE Link Monitor (from nRF Connect for Desktop) and issue these commands?

    AT+CEREG=5
    AT+CFUN=1
    AT+CFUN?

     

    Let it run for 10 minutes and post the log here.

     

    Kind regards,

    Håkon

  • Hi Hakon,

    Thanks for your reply.

    Here is what i got:

    2021-11-04T12:08:09.686Z INFO Application data folder: C:\Users\tcheced\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2021-11-04T12:08:09.780Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
    2021-11-04T12:08:09.780Z DEBUG App path: C:\Users\tcheced\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2021-11-04T12:08:09.780Z DEBUG nRFConnect 3.8.0 is not supported by the app (^3.8.0)
    2021-11-04T12:08:09.780Z DEBUG nRFConnect path: C:\Users\tcheced\AppData\Local\Programs\nrfconnect\resources\app.asar
    2021-11-04T12:08:09.780Z DEBUG HomeDir: C:\Users\tcheced
    2021-11-04T12:08:09.780Z DEBUG TmpDir: C:\Users\tcheced\AppData\Local\Temp
    2021-11-04T12:08:12.255Z INFO Modem port is opened
    2021-11-04T12:08:17.250Z DEBUG modem << *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    2021-11-04T12:08:17.274Z DEBUG modem << Flash regionsDomainPermissions
    2021-11-04T12:08:17.283Z DEBUG modem << 00 01 0x00000 0x10000 Securerwxl
    2021-11-04T12:08:17.290Z DEBUG modem << 02 31 0x10000 0x100000 Non-Securerwxl
    2021-11-04T12:08:17.296Z DEBUG modem << Non-secure callable region 0 placed in flash region 1 with size 32.
    2021-11-04T12:08:17.316Z DEBUG modem << SRAM regionDomainPermissions
    2021-11-04T12:08:17.322Z DEBUG modem << 00 07 0x00000 0x10000 Securerwxl
    2021-11-04T12:08:17.334Z DEBUG modem << 08 31 0x10000 0x40000 Non-Securerwxl
    2021-11-04T12:08:17.337Z DEBUG modem << PeripheralDomainStatus
    2021-11-04T12:08:17.341Z DEBUG modem << 00 NRF_P0               Non-SecureOK
    2021-11-04T12:08:17.352Z DEBUG modem << 01 NRF_CLOCK            Non-SecureOK
    2021-11-04T12:08:17.355Z DEBUG modem << 02 NRF_RTC0             Non-SecureOK
    2021-11-04T12:08:17.357Z DEBUG modem << 03 NRF_RTC1             Non-SecureOK
    2021-11-04T12:08:17.361Z DEBUG modem << 04 NRF_NVMC             Non-SecureOK
    2021-11-04T12:08:17.373Z DEBUG modem << 05 NRF_UARTE1           Non-SecureOK
    2021-11-04T12:08:17.384Z DEBUG modem << 06 NRF_UARTE2           SecureSKIP
    2021-11-04T12:08:17.387Z DEBUG modem << 07 NRF_TWIM2            Non-SecureOK
    2021-11-04T12:08:17.391Z DEBUG modem << 08 NRF_SPIM3            Non-SecureOK
    2021-11-04T12:08:17.395Z DEBUG modem << 09 NRF_TIMER0           Non-SecureOK
    2021-11-04T12:08:17.399Z DEBUG modem << 10 NRF_TIMER1           Non-SecureOK
    2021-11-04T12:08:17.401Z DEBUG modem << 11 NRF_TIMER2           Non-SecureOK
    2021-11-04T12:08:17.402Z DEBUG modem << 12 NRF_SAADC            Non-SecureOK
    2021-11-04T12:08:17.403Z DEBUG modem << 13 NRF_PWM0             Non-SecureOK
    2021-11-04T12:08:17.405Z DEBUG modem << 14 NRF_PWM1             Non-SecureOK
    2021-11-04T12:08:17.414Z DEBUG modem << 15 NRF_PWM2             Non-SecureOK
    2021-11-04T12:08:17.417Z DEBUG modem << 16 NRF_PWM3             Non-SecureOK
    2021-11-04T12:08:17.418Z DEBUG modem << 17 NRF_WDT              Non-SecureOK
    2021-11-04T12:08:17.422Z DEBUG modem << 18 NRF_IPC              Non-SecureOK
    2021-11-04T12:08:17.423Z DEBUG modem << 19 NRF_VMC              Non-SecureOK
    2021-11-04T12:08:17.425Z DEBUG modem << 20 NRF_FPU              Non-SecureOK
    2021-11-04T12:08:17.426Z DEBUG modem << 21 NRF_EGU1             Non-SecureOK
    2021-11-04T12:08:17.432Z DEBUG modem << 22 NRF_EGU2             Non-SecureOK
    2021-11-04T12:08:17.433Z DEBUG modem << 23 NRF_DPPIC            Non-SecureOK
    2021-11-04T12:08:17.439Z DEBUG modem << 24 NRF_REGULATORS       Non-SecureOK
    2021-11-04T12:08:17.442Z DEBUG modem << 25 NRF_PDM              Non-SecureOK
    2021-11-04T12:08:17.447Z DEBUG modem << 26 NRF_I2S              Non-SecureOK
    2021-11-04T12:08:17.449Z DEBUG modem << 27 NRF_GPIOTE1          Non-SecureOK
    2021-11-04T12:08:17.450Z DEBUG modem << SPM: NS image at 0x10000
    2021-11-04T12:08:17.451Z DEBUG modem << SPM: NS MSP at 0x2001c788
    2021-11-04T12:08:17.452Z DEBUG modem << SPM: NS reset vector at 0x12ead
    2021-11-04T12:08:17.454Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
    2021-11-04T12:08:17.637Z DEBUG modem << *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    2021-11-04T12:08:17.642Z DEBUG modem << The AT host sample started
    2021-11-04T12:08:37.953Z DEBUG modem >> AT+CEREG=5
    2021-11-04T12:08:37.964Z DEBUG modem << OK
    2021-11-04T12:08:58.768Z DEBUG modem >> AT+CFUN=1
    2021-11-04T12:08:58.809Z DEBUG modem << OK
    2021-11-04T12:09:00.059Z DEBUG modem << +CEREG: 2,"63AE","01A3F802",7
    2021-11-04T12:09:09.246Z DEBUG modem >> AT+CFUN?
    2021-11-04T12:09:09.258Z DEBUG modem << +CFUN: 1
    2021-11-04T12:09:09.266Z DEBUG modem << OK
    2021-11-04T12:27:10.011Z DEBUG modem << +CEREG: 5,"63AE","01A3F802",7,,,"11100000","11100000"
    

    Best regards,

    Cedric

  • Hi,

     

    ced27 said:

    I got a response from iBasis and that is what they said, i quote: "The eSIM in the kit is meant as a test sim card, so you will not be able to connect it over the internet"

    what does that mean for me?

    I am not sure what iBasis means here, you should ask them for a clarification.

    Do you have a solder-able eSIM, or a "normal" nano SIM card like this (ie. the same that comes with the nRF9160 DK)?

     

    ced27 said:
    Here is what i got:

    This shows that you have two networks available in your area, but which one were you successfully connected to in the previous log (where it took 20 minutes)?

     

    Kind regards,

    Håkon

  • Do you have a solder-able eSIM, or a "normal" nano SIM card like this (ie. the same that comes with the nRF9160 DK)?

    I am using the normal nano SIM card, that came with the nRF9160 DK

    My SIM card hat the EID: 8949320005262167085

    This shows that you have two networks available in your area, but which one were you successfully connected to in the previous log (where it took 20 minutes)?

     

    It was Telekom Deutschland GmbH

  • Hi,

     

    I had a chat with our local sales director in your area. If you have a iBasis, it should roam towards Telefonica, which should be reported back with mcc/mnc 262 03. The reception can be spotty in some areas, so you should consider getting a Arkessa sim in addition, which roams towards other network providers as well.

     

    If you log into nrfcloud, you should be able to see the status of your SIM card in the cloud view, under "sim cards" - could you check if this still shows that you have data left?

     

    Kind regards,

    Håkon

  • I had a chat with our local sales director in your area. If you have a iBasis, it should roam towards Telefonica, which should be reported back with mcc/mnc 262 03. The reception can be spotty in some areas, so you should consider getting a Arkessa sim in addition, which roams towards other network providers as well.

    Thanks for your suggestions.

    If you log into nrfcloud, you should be able to see the status of your SIM card in the cloud view, under "sim cards" - could you check if this still shows that you have data left?

    i still have like 0.22Mb left. Here is a screenshot:

    Do you think is because of that? if yes, what can i do, buy Data i suppose?

  • Hi,

     

    It seems that you're out of data, yes. You can buy more if you click the "buy data" button.

     

    Kind regards,

    Håkon

Reply Children
  • It seems that you're out of data, yes. You can buy more if you click the "buy data" button.

    Hi ,

    i have found that my modem get stuck in searching not because i am out of data. Despite the fact that I bought some data,  i still got the same issue. What do you think will be the appropriate solution?

    As soon as i get a connection to the server and that a DTLS handshake has been done and my payload was sent, the connection to the server will then be stopped and the cycle continuous. How can i make sure, that the connection to server stays?

    Best regards,

    Cedric

  • Hi,

     

    ced27 said:

    i have found that my modem get stuck in searching not because i am out of data. Despite the fact that I bought some data,  i still got the same issue. What do you think will be the appropriate solution?

    As soon as i get a connection to the server and that a DTLS handshake has been done and my payload was sent, the connection to the server will then be stopped and the cycle continuous. How can i make sure, that the connection to server stays?

    Is this due to the network connectivity, or the connection to the server?

    Is the communication still unstable with other samples, like mqtt_simple?

     

    Kind regards,

    Håkon

  • Hi Hakon,

    Thanks for your reply.

    Is this due to the network connectivity, or the connection to the server?

    I think it is due to the network NAT timeout. Can that be the case? what do you think?

    Is the communication still unstable with other samples, like mqtt_simple?

    Yes, the same think with udp_sample and coap_sample.

    Best regards,

    Cedric

  • Hi Cedric,

     

    both coap and the udp sample are UDP based, while the latter one only sends data.

    Could you try a TCP based sample to see if it has specific issues? A log would be great to see as well.

     

    Kind regards,

    Håkon

  • Could you try a TCP based sample to see if it has specific issues? A log would be great to see as well.

    2021-11-09T13:21:26.831Z INFO Application data folder: C:\Users\tcheced\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2021-11-09T13:21:26.925Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
    2021-11-09T13:21:26.925Z DEBUG App path: C:\Users\tcheced\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2021-11-09T13:21:26.925Z DEBUG nRFConnect 3.8.0 is not supported by the app (^3.8.0)
    2021-11-09T13:21:26.925Z DEBUG nRFConnect path: C:\Users\tcheced\AppData\Local\Programs\nrfconnect\resources\app.asar
    2021-11-09T13:21:26.925Z DEBUG HomeDir: C:\Users\tcheced
    2021-11-09T13:21:26.925Z DEBUG TmpDir: C:\Users\tcheced\AppData\Local\Temp
    2021-11-09T13:22:32.600Z INFO Modem port is opened
    2021-11-09T13:22:32.673Z DEBUG modem >> AT+CFUN?
    2021-11-09T13:22:32.890Z DEBUG modem << +CFUN: 1
    2021-11-09T13:22:32.905Z DEBUG modem << OK
    2021-11-09T13:22:32.957Z DEBUG modem >> AT+CGSN=1
    2021-11-09T13:22:33.039Z DEBUG modem << +CGSN: "352656109498967"
    2021-11-09T13:22:33.044Z DEBUG modem << OK
    2021-11-09T13:22:33.057Z DEBUG modem >> AT+CGMI
    2021-11-09T13:22:33.111Z DEBUG modem << Nordic Semiconductor ASA
    2021-11-09T13:22:33.117Z DEBUG modem << OK
    2021-11-09T13:22:33.184Z DEBUG modem >> AT+CGMM
    2021-11-09T13:22:33.280Z DEBUG modem << nRF9160-SICA
    2021-11-09T13:22:33.283Z DEBUG modem << OK
    2021-11-09T13:22:33.294Z DEBUG modem >> AT+CGMR
    2021-11-09T13:22:33.359Z DEBUG modem << mfw_nrf9160_1.3.0
    2021-11-09T13:22:33.363Z DEBUG modem << OK
    2021-11-09T13:22:33.367Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.3.0] SerNr: 352656109498967
    2021-11-09T13:22:33.373Z DEBUG modem >> AT+CEMODE?
    2021-11-09T13:22:33.410Z DEBUG modem << +CEMODE: 0
    2021-11-09T13:22:33.428Z DEBUG modem << OK
    2021-11-09T13:22:33.448Z DEBUG modem >> AT%XCBAND=?
    2021-11-09T13:22:33.510Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,19,20,25,26,28,66)
    2021-11-09T13:22:33.514Z DEBUG modem << OK
    2021-11-09T13:22:33.560Z DEBUG modem >> AT+CMEE?
    2021-11-09T13:22:33.594Z DEBUG modem << +CMEE: 0
    2021-11-09T13:22:33.633Z DEBUG modem << OK
    2021-11-09T13:22:33.659Z DEBUG modem >> AT+CMEE=1
    2021-11-09T13:22:33.684Z DEBUG modem << OK
    2021-11-09T13:22:33.714Z DEBUG modem >> AT+CNEC?
    2021-11-09T13:22:33.743Z DEBUG modem << +CNEC: 0
    2021-11-09T13:22:33.746Z DEBUG modem << OK
    2021-11-09T13:22:33.754Z DEBUG modem >> AT+CNEC=24
    2021-11-09T13:22:33.792Z DEBUG modem << OK
    2021-11-09T13:22:33.797Z DEBUG modem >> AT+CGEREP?
    2021-11-09T13:22:33.849Z DEBUG modem << +CGEREP: 0,0
    2021-11-09T13:22:33.852Z DEBUG modem << OK
    2021-11-09T13:22:33.858Z DEBUG modem >> AT+CGDCONT?
    2021-11-09T13:22:33.896Z DEBUG modem << +CGDCONT: 0,"IP","IBASIS.IOT","10.160.77.123",0,0
    2021-11-09T13:22:33.900Z DEBUG modem << OK
    2021-11-09T13:22:33.929Z DEBUG modem >> AT+CGACT?
    2021-11-09T13:22:33.961Z DEBUG modem << +CGACT: 0,1
    2021-11-09T13:22:33.970Z DEBUG modem << OK
    2021-11-09T13:22:34.004Z DEBUG modem >> AT+CGEREP=1
    2021-11-09T13:22:34.053Z DEBUG modem << OK
    2021-11-09T13:22:34.060Z DEBUG modem >> AT+CIND=1,1,1
    2021-11-09T13:22:34.082Z DEBUG modem << OK
    2021-11-09T13:22:34.135Z DEBUG modem >> AT+CEREG=5
    2021-11-09T13:22:34.221Z DEBUG modem << OK
    2021-11-09T13:22:34.243Z DEBUG modem >> AT+CEREG?
    2021-11-09T13:22:34.282Z DEBUG modem << +CEREG: 5,5,"1269","01147567",9,,,"11100000","00101100"
    2021-11-09T13:22:34.296Z DEBUG modem << OK
    2021-11-09T13:22:34.328Z DEBUG modem >> AT+COPS=3,2
    2021-11-09T13:22:34.365Z DEBUG modem << OK
    2021-11-09T13:22:34.378Z DEBUG modem >> AT+COPS?
    2021-11-09T13:22:34.427Z DEBUG modem << +COPS: 0,2,"26203",9
    2021-11-09T13:22:34.431Z DEBUG modem << OK
    2021-11-09T13:22:34.488Z DEBUG modem >> AT%XCBAND
    2021-11-09T13:22:34.557Z DEBUG modem << %XCBAND: 20
    2021-11-09T13:22:34.560Z DEBUG modem << OK
    2021-11-09T13:22:34.584Z DEBUG modem >> AT+CGDCONT?
    2021-11-09T13:22:34.642Z DEBUG modem << +CGDCONT: 0,"IP","IBASIS.IOT","10.160.77.123",0,0
    2021-11-09T13:22:34.646Z DEBUG modem << OK
    2021-11-09T13:22:34.670Z DEBUG modem >> AT+CGACT?
    2021-11-09T13:22:34.704Z DEBUG modem << +CGACT: 0,1
    2021-11-09T13:22:34.735Z DEBUG modem << OK
    2021-11-09T13:22:34.748Z DEBUG modem >> AT%CESQ=1
    2021-11-09T13:22:34.771Z DEBUG modem << OK
    2021-11-09T13:22:34.775Z DEBUG modem >> AT+CESQ
    2021-11-09T13:22:34.842Z DEBUG modem << +CESQ: 99,99,255,255,19,82
    2021-11-09T13:22:34.845Z DEBUG modem << OK
    2021-11-09T13:22:34.866Z DEBUG modem >> AT%XSIM=1
    2021-11-09T13:22:34.916Z DEBUG modem << OK
    2021-11-09T13:22:34.932Z DEBUG modem >> AT%XSIM?
    2021-11-09T13:22:34.973Z DEBUG modem << %XSIM: 1
    2021-11-09T13:22:34.977Z DEBUG modem << OK
    2021-11-09T13:22:35.006Z DEBUG modem >> AT+CPIN?
    2021-11-09T13:22:35.033Z DEBUG modem << +CPIN: READY
    2021-11-09T13:22:35.038Z DEBUG modem << OK
    2021-11-09T13:22:35.085Z DEBUG modem >> AT+CPINR="SIM PIN"
    2021-11-09T13:22:35.132Z DEBUG modem << +CPINR: "SIM PIN",3
    2021-11-09T13:22:35.148Z DEBUG modem << OK
    2021-11-09T13:22:35.193Z DEBUG modem >> AT+CIMI
    2021-11-09T13:22:35.225Z DEBUG modem << 204080813630311
    2021-11-09T13:22:35.228Z DEBUG modem << OK
    2021-11-09T13:22:35.230Z INFO IMSIdentity: 204080813630311
    2021-11-09T13:22:42.363Z DEBUG modem << %CESQ: 82,4,19,2
    2021-11-09T13:23:38.025Z DEBUG modem << *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    2021-11-09T13:23:38.031Z DEBUG modem << Flash regionsDomainPermissions
    2021-11-09T13:23:38.033Z DEBUG modem << 00 01 0x00000 0x10000 Securerwxl
    2021-11-09T13:23:38.035Z DEBUG modem << 02 31 0x10000 0x100000 Non-Securerwxl
    2021-11-09T13:23:38.049Z DEBUG modem << Non-secure callable region 0 placed in flash region 1 with size 32.
    2021-11-09T13:23:38.092Z DEBUG modem << SRAM regionDomainPermissions
    2021-11-09T13:23:38.101Z DEBUG modem << 00 07 0x00000 0x10000 Securerwxl
    2021-11-09T13:23:38.103Z DEBUG modem << 08 31 0x10000 0x40000 Non-Securerwxl
    2021-11-09T13:23:38.112Z DEBUG modem << PeripheralDomainStatus
    2021-11-09T13:23:38.115Z DEBUG modem << 00 NRF_P0               Non-SecureOK
    2021-11-09T13:23:38.117Z DEBUG modem << 01 NRF_CLOCK            Non-SecureOK
    2021-11-09T13:23:38.119Z DEBUG modem << 02 NRF_RTC0             Non-SecureOK
    2021-11-09T13:23:38.120Z DEBUG modem << 03 NRF_RTC1             Non-SecureOK
    2021-11-09T13:23:38.123Z DEBUG modem << 04 NRF_NVMC             Non-SecureOK
    2021-11-09T13:23:38.135Z DEBUG modem << 05 NRF_UARTE1           Non-SecureOK
    2021-11-09T13:23:38.137Z DEBUG modem << 06 NRF_UARTE2           SecureSKIP
    2021-11-09T13:23:38.138Z DEBUG modem << 07 NRF_TWIM2            Non-SecureOK
    2021-11-09T13:23:38.152Z DEBUG modem << 08 NRF_SPIM3            Non-SecureOK
    2021-11-09T13:23:38.154Z DEBUG modem << 09 NRF_TIMER0           Non-SecureOK
    2021-11-09T13:23:38.159Z DEBUG modem << 10 NRF_TIMER1           Non-SecureOK
    2021-11-09T13:23:38.165Z DEBUG modem << 11 NRF_TIMER2           Non-SecureOK
    2021-11-09T13:23:38.169Z DEBUG modem << 12 NRF_SAADC            Non-SecureOK
    2021-11-09T13:23:38.184Z DEBUG modem << 13 NRF_PWM0             Non-SecureOK
    2021-11-09T13:23:38.188Z DEBUG modem << 14 NRF_PWM1             Non-SecureOK
    2021-11-09T13:23:38.190Z DEBUG modem << 15 NRF_PWM2             Non-SecureOK
    2021-11-09T13:23:38.193Z DEBUG modem << 16 NRF_PWM3             Non-SecureOK
    2021-11-09T13:23:38.195Z DEBUG modem << 17 NRF_WDT              Non-SecureOK
    2021-11-09T13:23:38.195Z DEBUG modem << 18 NRF_IPC              Non-SecureOK
    2021-11-09T13:23:38.196Z DEBUG modem << 19 NRF_VMC              Non-SecureOK
    2021-11-09T13:23:38.197Z DEBUG modem << 20 NRF_FPU              Non-SecureOK
    2021-11-09T13:23:38.197Z DEBUG modem << 21 NRF_EGU1             Non-SecureOK
    2021-11-09T13:23:38.203Z DEBUG modem << 22 NRF_EGU2             Non-SecureOK
    2021-11-09T13:23:38.204Z DEBUG modem << 23 NRF_DPPIC            Non-SecureOK
    2021-11-09T13:23:38.207Z DEBUG modem << 24 NRF_REGULATORS       Non-SecureOK
    2021-11-09T13:23:38.213Z DEBUG modem << 25 NRF_PDM              Non-SecureOK
    2021-11-09T13:23:38.215Z DEBUG modem << 26 NRF_I2S              Non-SecureOK
    2021-11-09T13:23:38.218Z DEBUG modem << 27 NRF_GPIOTE1          Non-SecureOK
    2021-11-09T13:23:38.219Z DEBUG modem << SPM: NS image at 0x10000
    2021-11-09T13:23:38.220Z DEBUG modem << SPM: NS MSP at 0x20019bb8
    2021-11-09T13:23:38.231Z DEBUG modem << SPM: NS reset vector at 0x13d75
    2021-11-09T13:23:38.233Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
    2021-11-09T13:23:38.412Z DEBUG modem << *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    2021-11-09T13:23:39.425Z DEBUG modem << [00:00:00.212,127] [0m<inf> mqtt_simple: The MQTT simple sample started[0m
    2021-11-09T13:23:39.500Z DEBUG modem << [00:00:00.212,158] [0m<inf> mqtt_simple: Disabling PSM and eDRX[0m
    2021-11-09T13:23:39.502Z DEBUG modem << [00:00:00.219,299] [0m<inf> mqtt_simple: LTE Link Connecting...[0m
    2021-11-09T13:24:45.350Z DEBUG modem << +CEREG: 2,"63AE","01A3F802",7
    2021-11-09T13:24:45.391Z DEBUG modem << +CSCON: 1
    2021-11-09T13:24:48.321Z DEBUG modem << +CEREG: 5,"63AE","01A3F802",7,,,"11100000","11100000"
    2021-11-09T13:24:48.328Z DEBUG modem >> AT+COPS=3,2
    2021-11-09T13:24:48.333Z DEBUG modem << OK
    2021-11-09T13:24:48.338Z DEBUG modem >> AT+COPS?
    2021-11-09T13:24:48.357Z DEBUG modem << +COPS: 0,2,"26201",7
    2021-11-09T13:24:48.358Z DEBUG modem << OK
    2021-11-09T13:24:48.371Z DEBUG modem >> AT%XCBAND
    2021-11-09T13:24:48.377Z DEBUG modem << %XCBAND: 3
    2021-11-09T13:24:48.378Z DEBUG modem << OK
    2021-11-09T13:24:48.394Z DEBUG modem >> AT+CGDCONT?
    2021-11-09T13:24:48.411Z DEBUG modem << +CGDCONT: 0,"IP","ibasis.iot","10.160.77.170",0,0
    2021-11-09T13:24:48.413Z DEBUG modem << OK
    2021-11-09T13:24:48.435Z DEBUG modem >> AT+CGACT?
    2021-11-09T13:24:48.447Z DEBUG modem << +CGACT: 0,1
    2021-11-09T13:24:48.455Z DEBUG modem << OK
    2021-11-09T13:24:49.328Z DEBUG modem << [00:01:10.120,025] [0m<inf> mqtt_simple: LTE Link Connected![0m
    2021-11-09T13:24:49.336Z DEBUG modem << [00:01:10.469,512] [0m<inf> mqtt_simple: IPv4 Address found 137.135.83.217[0m
    2021-11-09T13:24:49.344Z DEBUG modem << [00:01:10.470,245] [0m<dbg> mqtt_simple.client_id_get: client_id = nrf-352656109498967[0m
    2021-11-09T13:24:49.357Z DEBUG modem << [00:01:11.093,505] [0m<inf> mqtt_simple: MQTT client connected[0m
    2021-11-09T13:24:49.361Z DEBUG modem << [00:01:11.093,505] [0m<inf> mqtt_simple: Subscribing to: my/subscribe/topic len 18[0m
    2021-11-09T13:24:50.623Z DEBUG modem << [00:01:11.414,520] [0m<inf> mqtt_simple: SUBACK packet id: 1234[0m
    2021-11-09T13:24:50.630Z DEBUG modem << [00:01:12.078,552] [0m<inf> mqtt_simple: MQTT PUBLISH result=0 len=350[0m
    2021-11-09T13:24:50.639Z DEBUG modem << [00:01:12.078,552] [1;31m<err> mqtt_simple: publish_get_payload failed: -122[0m
    2021-11-09T13:24:50.645Z DEBUG modem << [00:01:12.078,582] [0m<inf> mqtt_simple: Disconnecting MQTT client...[0m
    2021-11-09T13:24:50.661Z DEBUG modem << [00:01:12.079,650] [0m<inf> mqtt_simple: MQTT client disconnected: 0[0m
    2021-11-09T13:24:50.663Z DEBUG modem << [00:01:12.079,711] [1;31m<err> mqtt_simple: ERROR: mqtt_live: -128[0m
    2021-11-09T13:24:50.679Z DEBUG modem << [00:01:12.079,711] [0m<inf> mqtt_simple: Disconnecting MQTT client...[0m
    2021-11-09T13:24:50.694Z DEBUG modem << [00:01:12.079,742] [1;31m<err> mqtt_simple: Could not disconnect MQTT client: -128[0m
    2021-11-09T13:24:50.696Z DEBUG modem << [00:01:12.079,742] [0m<inf> mqtt_simple: Reconnecting in 60 seconds...[0m
    2021-11-09T13:25:02.709Z DEBUG modem << +CSCON: 0
    

    The LTE search is now faster, if you ask me why i have no idea.

    The next issue is just that i can't connect to the server yet?

Related