Cannot receive SMS running sample sms

I built the SMS sample without changing anything. I am using a Lebara prepaid sim card. I was able to exchange SMS messages from one cellular phone to another. I checked with the sample at client in case a pin is necessary.  This is not the case according to the response of AT+CPIN

log from sms sample: 

2021-12-16T06:22:27.506Z INFO Application data folder: C:\Users\martin\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
2021-12-16T06:22:27.563Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
2021-12-16T06:22:27.563Z DEBUG App path: C:\Users\martin\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
2021-12-16T06:22:27.563Z DEBUG nRFConnect 3.9.1, required by the app is (^3.8.0)
2021-12-16T06:22:27.563Z DEBUG nRFConnect path: C:\Users\martin\AppData\Local\Programs\nrfconnect\resources\app.asar
2021-12-16T06:22:27.564Z DEBUG HomeDir: C:\Users\martin
2021-12-16T06:22:27.564Z DEBUG TmpDir: C:\Users\martin\AppData\Local\Temp
2021-12-16T06:22:32.834Z INFO Modem port is opened
2021-12-16T06:22:32.850Z DEBUG modem >> AT+CFUN?
2021-12-16T06:22:54.524Z DEBUG modem << *** Booting Zephyr OS build v2.7.0-ncs1 ***
2021-12-16T06:22:54.529Z DEBUG modem << Flash regionsDomainPermissions
2021-12-16T06:22:54.532Z DEBUG modem << 00 01 0x00000 0x10000 Securerwxl
2021-12-16T06:22:54.534Z DEBUG modem << 02 31 0x10000 0x100000 Non-Securerwxl
2021-12-16T06:22:54.540Z DEBUG modem << Non-secure callable region 0 placed in flash region 1 with size 32.
2021-12-16T06:22:54.591Z DEBUG modem << SRAM regionDomainPermissions
2021-12-16T06:22:54.594Z DEBUG modem << 00 07 0x00000 0x10000 Securerwxl
2021-12-16T06:22:54.598Z DEBUG modem << 08 31 0x10000 0x40000 Non-Securerwxl
2021-12-16T06:22:54.600Z DEBUG modem << PeripheralDomainStatus
2021-12-16T06:22:54.606Z DEBUG modem << 00 NRF_P0 Non-SecureOK
2021-12-16T06:22:54.612Z DEBUG modem << 01 NRF_CLOCK Non-SecureOK
2021-12-16T06:22:54.618Z DEBUG modem << 02 NRF_RTC0 Non-SecureOK
2021-12-16T06:22:54.620Z DEBUG modem << 03 NRF_RTC1 Non-SecureOK
2021-12-16T06:22:54.626Z DEBUG modem << 04 NRF_NVMC Non-SecureOK
2021-12-16T06:22:54.628Z DEBUG modem << 05 NRF_UARTE1 Non-SecureOK
2021-12-16T06:22:54.635Z DEBUG modem << 06 NRF_UARTE2 SecureSKIP
2021-12-16T06:22:54.640Z DEBUG modem << 07 NRF_TWIM2 Non-SecureOK
2021-12-16T06:22:54.642Z DEBUG modem << 08 NRF_SPIM3 Non-SecureOK
2021-12-16T06:22:54.647Z DEBUG modem << 09 NRF_TIMER0 Non-SecureOK
2021-12-16T06:22:54.649Z DEBUG modem << 10 NRF_TIMER1 Non-SecureOK
2021-12-16T06:22:54.650Z DEBUG modem << 11 NRF_TIMER2 Non-SecureOK
2021-12-16T06:22:54.653Z DEBUG modem << 12 NRF_SAADC Non-SecureOK
2021-12-16T06:22:54.655Z DEBUG modem << 13 NRF_PWM0 Non-SecureOK
2021-12-16T06:22:54.659Z DEBUG modem << 14 NRF_PWM1 Non-SecureOK
2021-12-16T06:22:54.661Z DEBUG modem << 15 NRF_PWM2 Non-SecureOK
2021-12-16T06:22:54.667Z DEBUG modem << 16 NRF_PWM3 Non-SecureOK
2021-12-16T06:22:54.670Z DEBUG modem << 17 NRF_WDT Non-SecureOK
2021-12-16T06:22:54.675Z DEBUG modem << 18 NRF_IPC Non-SecureOK
2021-12-16T06:22:54.677Z DEBUG modem << 19 NRF_VMC Non-SecureOK
2021-12-16T06:22:54.679Z DEBUG modem << 20 NRF_FPU Non-SecureOK
2021-12-16T06:22:54.684Z DEBUG modem << 21 NRF_EGU0 Non-SecureOK
2021-12-16T06:22:54.688Z DEBUG modem << 22 NRF_EGU1 Non-SecureOK
2021-12-16T06:22:54.694Z DEBUG modem << 23 NRF_EGU2 Non-SecureOK
2021-12-16T06:22:54.696Z DEBUG modem << 24 NRF_EGU3 Non-SecureOK
2021-12-16T06:22:54.697Z DEBUG modem << 25 NRF_EGU4 Non-SecureOK
2021-12-16T06:22:54.703Z DEBUG modem << 26 NRF_EGU5 Non-SecureOK
2021-12-16T06:22:54.704Z DEBUG modem << 27 NRF_DPPIC Non-SecureOK
2021-12-16T06:22:54.705Z DEBUG modem << 28 NRF_REGULATORS Non-SecureOK
2021-12-16T06:22:54.710Z DEBUG modem << 29 NRF_PDM Non-SecureOK
2021-12-16T06:22:54.713Z DEBUG modem << 30 NRF_I2S Non-SecureOK
2021-12-16T06:22:54.717Z DEBUG modem << 31 NRF_GPIOTE1 Non-SecureOK
2021-12-16T06:22:54.718Z DEBUG modem << SPM: NS image at 0x10000
2021-12-16T06:22:54.723Z DEBUG modem << SPM: NS MSP at 0x20018378
2021-12-16T06:22:54.724Z DEBUG modem << SPM: NS reset vector at 0x14295
2021-12-16T06:22:54.729Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
2021-12-16T06:22:54.929Z DEBUG modem << *** Booting Zephyr OS build v2.7.0-ncs1 ***
2021-12-16T06:32:54.967Z DEBUG modem << SMS sample starting
2021-12-16T06:32:54.986Z DEBUG modem << SMS sample is ready for receiving messages
2021-12-16T06:32:54.992Z DEBUG modem << SMS sending is skipped but receiving will still work.
2021-12-16T06:32:55.000Z DEBUG modem << If you wish to send SMS, please configure CONFIG_SMS_SEND_PHONE_NUMBER
2021-12-16T06:32:55.972Z DEBUG modem << [00:10:00.265,869] [0m<inf> lte_lc: Network connection attempt timed out[0m

log from AT Client 

084Z DEBUG modem << 02 NRF_RTC0 Non-SecureOK
2021-12-16T07:01:27.090Z DEBUG modem << 03 NRF_RTC1 Non-SecureOK
2021-12-16T07:01:27.095Z DEBUG modem << 04 NRF_NVMC Non-SecureOK
2021-12-16T07:01:27.096Z DEBUG modem << 05 NRF_UARTE1 Non-SecureOK
2021-12-16T07:01:27.098Z DEBUG modem << 06 NRF_UARTE2 SecureSKIP
2021-12-16T07:01:27.102Z DEBUG modem << 07 NRF_TWIM2 Non-SecureOK
2021-12-16T07:01:27.105Z DEBUG modem << 08 NRF_SPIM3 Non-SecureOK
2021-12-16T07:01:27.109Z DEBUG modem << 09 NRF_TIMER0 Non-SecureOK
2021-12-16T07:01:27.116Z DEBUG modem << 10 NRF_TIMER1 Non-SecureOK
2021-12-16T07:01:27.123Z DEBUG modem << 11 NRF_TIMER2 Non-SecureOK
2021-12-16T07:01:27.125Z DEBUG modem << 12 NRF_SAADC Non-SecureOK
2021-12-16T07:01:27.130Z DEBUG modem << 13 NRF_PWM0 Non-SecureOK
2021-12-16T07:01:27.131Z DEBUG modem << 14 NRF_PWM1 Non-SecureOK
2021-12-16T07:01:27.135Z DEBUG modem << 15 NRF_PWM2 Non-SecureOK
2021-12-16T07:01:27.141Z DEBUG modem << 16 NRF_PWM3 Non-SecureOK
2021-12-16T07:01:27.143Z DEBUG modem << 17 NRF_WDT Non-SecureOK
2021-12-16T07:01:27.148Z DEBUG modem << 18 NRF_IPC Non-SecureOK
2021-12-16T07:01:27.150Z DEBUG modem << 19 NRF_VMC Non-SecureOK
2021-12-16T07:01:27.154Z DEBUG modem << 20 NRF_FPU Non-SecureOK
2021-12-16T07:01:27.155Z DEBUG modem << 21 NRF_EGU0 Non-SecureOK
2021-12-16T07:01:27.162Z DEBUG modem << 22 NRF_EGU1 Non-SecureOK
2021-12-16T07:01:27.165Z DEBUG modem << 23 NRF_EGU2 Non-SecureOK
2021-12-16T07:01:27.169Z DEBUG modem << 24 NRF_EGU3 Non-SecureOK
2021-12-16T07:01:27.172Z DEBUG modem << 25 NRF_EGU4 Non-SecureOK
2021-12-16T07:01:27.173Z DEBUG modem << 26 NRF_EGU5 Non-SecureOK
2021-12-16T07:01:27.176Z DEBUG modem << 27 NRF_DPPIC Non-SecureOK
2021-12-16T07:01:27.178Z DEBUG modem << 28 NRF_REGULATORS Non-SecureOK
2021-12-16T07:01:27.184Z DEBUG modem << 29 NRF_PDM Non-SecureOK
2021-12-16T07:01:27.185Z DEBUG modem << 30 NRF_I2S Non-SecureOK
2021-12-16T07:01:27.190Z DEBUG modem << 31 NRF_GPIOTE1 Non-SecureOK
2021-12-16T07:01:27.191Z DEBUG modem << SPM: NS image at 0x10000
2021-12-16T07:01:27.193Z DEBUG modem << SPM: NS MSP at 0x200185f0
2021-12-16T07:01:27.194Z DEBUG modem << SPM: NS reset vector at 0x11d5d
2021-12-16T07:01:27.199Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
2021-12-16T07:01:27.403Z DEBUG modem << *** Booting Zephyr OS build v2.7.0-ncs1 ***
2021-12-16T07:01:27.411Z DEBUG modem << The AT host sample started
2021-12-16T07:01:35.143Z DEBUG modem >> AT+CFUN?
2021-12-16T07:01:35.154Z DEBUG modem << +CFUN: 0
2021-12-16T07:01:35.165Z DEBUG modem << OK
2021-12-16T07:01:39.319Z DEBUG modem >> AT+CFUN=1
2021-12-16T07:01:39.362Z DEBUG modem << OK
2021-12-16T07:01:55.828Z DEBUG modem >> AT+CPIN?
2021-12-16T07:01:55.833Z DEBUG modem << +CPIN: READY
2021-12-16T07:01:55.838Z DEBUG modem << OK
2021-12-16T07:01:55.844Z DEBUG modem >> AT+CPINR="SIM PIN"
2021-12-16T07:01:55.856Z DEBUG modem << +CPINR: "SIM PIN",3
2021-12-16T07:01:55.858Z DEBUG modem << OK

What I am missing?

  • Hello!

    It seems like you are not able to reach the network and end up in the network timeout in the connect_lte function.

    Do you know if there are any restrictions on what your type of SIM card can be used for?

    If your prepaid SIM can only be used to send SMS, I am not sure how the application would handle that.

    One thing you could try is to enable CONFIG_LTE_NETWORK_USE_FALLBACK in prj.conf, to make the application try different modes instead of giving up after the timeout.

    You can also change the value of CONFIG_LTE_NETWORK_TIMEOUT to test with different timeout durations.

    Best regards,

    Einar

  • Hello 

    I appreciate your help. The prepaid SIM is for voice and data. I have done what you suggested. It did not work out. Therefore I run at client sample to help identify the problem. The at client can not also connect to the network.  The LTE is blinking Yellow the whole time without ever connecting. Could you send me the technical specification of the iBasis sim so that I can send it to phone company? The iBasis sim is able to connect to the network. Is there a possibility to supply the pin code for the SMS sample? 

    Best regards

    Martin 

    Log with your Modifications

    021-12-17T09:38:45.343Z INFO Application data folder: C:\Users\martin\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2021-12-17T09:38:45.398Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
    2021-12-17T09:38:45.399Z DEBUG App path: C:\Users\martin\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2021-12-17T09:38:45.399Z DEBUG nRFConnect 3.9.1, required by the app is (^3.8.0)
    2021-12-17T09:38:45.399Z DEBUG nRFConnect path: C:\Users\martin\AppData\Local\Programs\nrfconnect\resources\app.asar
    2021-12-17T09:38:45.399Z DEBUG HomeDir: C:\Users\martin
    2021-12-17T09:38:45.399Z DEBUG TmpDir: C:\Users\martin\AppData\Local\Temp
    2021-12-17T09:39:06.417Z INFO Modem port is opened
    2021-12-17T09:39:06.429Z DEBUG modem >> AT+CFUN?
    2021-12-17T09:39:06.448Z DEBUG modem << +CFUN: 0
    2021-12-17T09:39:06.456Z DEBUG modem << 
    2021-12-17T09:39:06.459Z DEBUG modem << OK
    2021-12-17T09:39:16.994Z DEBUG modem << *** Booting Zephyr OS build v2.7.0-ncs1  ***
    2021-12-17T09:39:17.000Z DEBUG modem << Flash regionsDomainPermissions
    2021-12-17T09:39:17.001Z DEBUG modem << 00 01 0x00000 0x10000 Securerwxl
    2021-12-17T09:39:17.006Z DEBUG modem << 02 31 0x10000 0x100000 Non-Securerwxl
    2021-12-17T09:39:17.012Z DEBUG modem << Non-secure callable region 0 placed in flash region 1 with size 32.
    2021-12-17T09:39:17.062Z DEBUG modem << SRAM regionDomainPermissions
    2021-12-17T09:39:17.065Z DEBUG modem << 00 07 0x00000 0x10000 Securerwxl
    2021-12-17T09:39:17.068Z DEBUG modem << 08 31 0x10000 0x40000 Non-Securerwxl
    2021-12-17T09:39:17.070Z DEBUG modem << PeripheralDomainStatus
    2021-12-17T09:39:17.074Z DEBUG modem << 00 NRF_P0               Non-SecureOK
    2021-12-17T09:39:17.077Z DEBUG modem << 01 NRF_CLOCK            Non-SecureOK
    2021-12-17T09:39:17.082Z DEBUG modem << 02 NRF_RTC0             Non-SecureOK
    2021-12-17T09:39:17.084Z DEBUG modem << 03 NRF_RTC1             Non-SecureOK
    2021-12-17T09:39:17.089Z DEBUG modem << 04 NRF_NVMC             Non-SecureOK
    2021-12-17T09:39:17.092Z DEBUG modem << 05 NRF_UARTE1           Non-SecureOK
    2021-12-17T09:39:17.098Z DEBUG modem << 06 NRF_UARTE2           SecureSKIP
    2021-12-17T09:39:17.100Z DEBUG modem << 07 NRF_TWIM2            Non-SecureOK
    2021-12-17T09:39:17.101Z DEBUG modem << 08 NRF_SPIM3            Non-SecureOK
    2021-12-17T09:39:17.107Z DEBUG modem << 09 NRF_TIMER0           Non-SecureOK
    2021-12-17T09:39:17.109Z DEBUG modem << 10 NRF_TIMER1           Non-SecureOK
    2021-12-17T09:39:17.113Z DEBUG modem << 11 NRF_TIMER2           Non-SecureOK
    2021-12-17T09:39:17.120Z DEBUG modem << 12 NRF_SAADC            Non-SecureOK
    2021-12-17T09:39:17.124Z DEBUG modem << 13 NRF_PWM0             Non-SecureOK
    2021-12-17T09:39:17.127Z DEBUG modem << 14 NRF_PWM1             Non-SecureOK
    2021-12-17T09:39:17.132Z DEBUG modem << 15 NRF_PWM2             Non-SecureOK
    2021-12-17T09:39:17.134Z DEBUG modem << 16 NRF_PWM3             Non-SecureOK
    2021-12-17T09:39:17.138Z DEBUG modem << 17 NRF_WDT              Non-SecureOK
    2021-12-17T09:39:17.143Z DEBUG modem << 18 NRF_IPC              Non-SecureOK
    2021-12-17T09:39:17.148Z DEBUG modem << 19 NRF_VMC              Non-SecureOK
    2021-12-17T09:39:17.153Z DEBUG modem << 20 NRF_FPU              Non-SecureOK
    2021-12-17T09:39:17.154Z DEBUG modem << 21 NRF_EGU0             Non-SecureOK
    2021-12-17T09:39:17.155Z DEBUG modem << 22 NRF_EGU1             Non-SecureOK
    2021-12-17T09:39:17.161Z DEBUG modem << 23 NRF_EGU2             Non-SecureOK
    2021-12-17T09:39:17.162Z DEBUG modem << 24 NRF_EGU3             Non-SecureOK
    2021-12-17T09:39:17.163Z DEBUG modem << 25 NRF_EGU4             Non-SecureOK
    2021-12-17T09:39:17.164Z DEBUG modem << 26 NRF_EGU5             Non-SecureOK
    2021-12-17T09:39:17.170Z DEBUG modem << 27 NRF_DPPIC            Non-SecureOK
    2021-12-17T09:39:17.175Z DEBUG modem << 28 NRF_REGULATORS       Non-SecureOK
    2021-12-17T09:39:17.180Z DEBUG modem << 29 NRF_PDM              Non-SecureOK
    2021-12-17T09:39:17.181Z DEBUG modem << 30 NRF_I2S              Non-SecureOK
    2021-12-17T09:39:17.186Z DEBUG modem << 31 NRF_GPIOTE1          Non-SecureOK
    2021-12-17T09:39:17.192Z DEBUG modem << SPM: NS image at 0x10000
    2021-12-17T09:39:17.193Z DEBUG modem << SPM: NS MSP at 0x20018378
    2021-12-17T09:39:17.194Z DEBUG modem << SPM: NS reset vector at 0x14295
    2021-12-17T09:39:17.200Z DEBUG modem << SPM: prepare to jump to Non-Secure image.
    2021-12-17T09:39:17.399Z DEBUG modem << *** Booting Zephyr OS build v2.7.0-ncs1  ***
    2021-12-17T09:44:18.453Z DEBUG modem << [00:05:00.265,808] [0m<inf> lte_lc: Network connection attempt timed out[0m
    2021-12-17T09:44:18.476Z DEBUG modem << [00:05:00.285,003] [0m<inf> lte_lc: Using fallback network mode[0m
    2021-12-17T09:49:17.488Z DEBUG modem << SMS sample starting
    2021-12-17T09:49:17.493Z DEBUG modem << SMS sample is ready for receiving messages
    2021-12-17T09:49:17.498Z DEBUG modem << SMS sending is skipped but receiving will still work.
    2021-12-17T09:49:17.505Z DEBUG modem << If you wish to send SMS, please configure CONFIG_SMS_SEND_PHONE_NUMBER
    2021-12-17T09:49:18.492Z DEBUG modem << [00:10:00.317,535] [0m<inf> lte_lc: Network connection attempt timed out[0m
    

    log of at client 

    2021-12-17T11:28:19.568Z INFO Application data folder: C:\Users\martin\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2021-12-17T11:28:19.625Z DEBUG App pc-nrfconnect-linkmonitor v2.0.0 official
    2021-12-17T11:28:19.625Z DEBUG App path: C:\Users\martin\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2021-12-17T11:28:19.625Z DEBUG nRFConnect 3.9.1, required by the app is (^3.8.0)
    2021-12-17T11:28:19.625Z DEBUG nRFConnect path: C:\Users\martin\AppData\Local\Programs\nrfconnect\resources\app.asar
    2021-12-17T11:28:19.625Z DEBUG HomeDir: C:\Users\martin
    2021-12-17T11:28:19.625Z DEBUG TmpDir: C:\Users\martin\AppData\Local\Temp
    2021-12-17T11:28:37.526Z INFO Modem port is opened
    2021-12-17T11:28:37.536Z DEBUG modem >> AT+CFUN?
    2021-12-17T11:28:37.550Z DEBUG modem << +CFUN: 0
    2021-12-17T11:28:37.553Z DEBUG modem << OK
    2021-12-17T11:28:41.766Z DEBUG modem >> AT+CFUN=1
    2021-12-17T11:28:41.810Z DEBUG modem << OK
    2021-12-17T11:28:43.478Z DEBUG modem >> AT+CFUN?
    2021-12-17T11:28:43.482Z DEBUG modem << +CFUN: 1
    2021-12-17T11:28:43.492Z DEBUG modem << OK
    2021-12-17T11:28:43.494Z DEBUG modem >> AT+CGSN=1
    2021-12-17T11:28:43.501Z DEBUG modem << +CGSN: "352656106110599"
    2021-12-17T11:28:43.506Z DEBUG modem << OK
    2021-12-17T11:28:43.509Z DEBUG modem >> AT+CGMI
    2021-12-17T11:28:43.515Z DEBUG modem << Nordic Semiconductor ASA
    2021-12-17T11:28:43.517Z DEBUG modem << OK
    2021-12-17T11:28:43.521Z DEBUG modem >> AT+CGMM
    2021-12-17T11:28:43.525Z DEBUG modem << nRF9160-SICA
    2021-12-17T11:28:43.529Z DEBUG modem << 
    2021-12-17T11:28:43.533Z DEBUG modem << OK
    2021-12-17T11:28:43.538Z DEBUG modem >> AT+CGMR
    2021-12-17T11:28:43.545Z DEBUG modem << mfw_nrf9160_1.3.1
    2021-12-17T11:28:43.551Z DEBUG modem << OK
    2021-12-17T11:28:43.553Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.3.1] SerNr: 352656106110599
    2021-12-17T11:28:43.556Z DEBUG modem >> AT+CEMODE?
    2021-12-17T11:28:43.562Z DEBUG modem << +CEMODE: 2
    2021-12-17T11:28:43.563Z DEBUG modem << OK
    2021-12-17T11:28:43.573Z DEBUG modem >> AT%XCBAND=?
    2021-12-17T11:28:43.582Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,18,19,20,25,26,28,66)
    2021-12-17T11:28:43.586Z DEBUG modem << OK
    2021-12-17T11:28:43.596Z DEBUG modem >> AT+CMEE?
    2021-12-17T11:28:43.601Z DEBUG modem << +CMEE: 0
    2021-12-17T11:28:43.602Z DEBUG modem << OK
    2021-12-17T11:28:43.606Z DEBUG modem >> AT+CMEE=1
    2021-12-17T11:28:43.611Z DEBUG modem << OK
    2021-12-17T11:28:43.613Z DEBUG modem >> AT+CNEC?
    2021-12-17T11:28:43.617Z DEBUG modem << +CNEC: 0
    2021-12-17T11:28:43.618Z DEBUG modem << OK
    2021-12-17T11:28:43.622Z DEBUG modem >> AT+CNEC=24
    2021-12-17T11:28:43.627Z DEBUG modem << OK
    2021-12-17T11:28:43.630Z DEBUG modem >> AT+CGEREP?
    2021-12-17T11:28:43.635Z DEBUG modem << +CGEREP: 0,0
    2021-12-17T11:28:43.637Z DEBUG modem << OK
    2021-12-17T11:28:43.641Z DEBUG modem >> AT+CGDCONT?
    2021-12-17T11:28:43.647Z DEBUG modem << OK
    2021-12-17T11:28:43.651Z DEBUG modem >> AT+CGACT?
    2021-12-17T11:28:43.656Z DEBUG modem << OK
    2021-12-17T11:28:43.661Z DEBUG modem >> AT+CGEREP=1
    2021-12-17T11:28:43.666Z DEBUG modem << OK
    2021-12-17T11:28:43.672Z DEBUG modem >> AT+CIND=1,1,1
    2021-12-17T11:28:43.677Z DEBUG modem << OK
    2021-12-17T11:28:43.685Z DEBUG modem >> AT+CEREG=5
    2021-12-17T11:28:43.690Z DEBUG modem << OK
    2021-12-17T11:28:43.692Z DEBUG modem >> AT+CEREG?
    2021-12-17T11:28:43.699Z DEBUG modem << +CEREG: 5,4
    2021-12-17T11:28:43.701Z DEBUG modem << OK
    2021-12-17T11:28:43.713Z DEBUG modem >> AT%CESQ=1
    2021-12-17T11:28:43.719Z DEBUG modem << OK
    2021-12-17T11:28:43.725Z DEBUG modem >> AT+CESQ
    2021-12-17T11:28:43.731Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2021-12-17T11:28:43.734Z DEBUG modem << OK
    2021-12-17T11:28:43.743Z DEBUG modem >> AT%XSIM=1
    2021-12-17T11:28:43.749Z DEBUG modem << OK
    2021-12-17T11:28:43.752Z DEBUG modem >> AT%XSIM?
    2021-12-17T11:28:43.757Z DEBUG modem << %XSIM: 1
    2021-12-17T11:28:43.759Z DEBUG modem << OK
    2021-12-17T11:28:43.770Z DEBUG modem >> AT+CPIN?
    2021-12-17T11:28:43.774Z DEBUG modem << +CPIN: READY
    2021-12-17T11:28:43.777Z DEBUG modem << OK
    2021-12-17T11:28:43.788Z DEBUG modem >> AT+CPINR="SIM PIN"
    2021-12-17T11:28:43.803Z DEBUG modem << +CPINR: "SIM PIN",3
    2021-12-17T11:28:43.805Z DEBUG modem << OK
    2021-12-17T11:28:43.814Z DEBUG modem >> AT+CIMI
    2021-12-17T11:28:43.819Z DEBUG modem << 228023548385668
    2021-12-17T11:28:43.820Z DEBUG modem << OK
    2021-12-17T11:28:43.821Z INFO IMSIdentity: 228023548385668
    2021-12-17T11:29:50.404Z DEBUG modem << %CESQ: 46,2,16,2
    2021-12-17T11:29:50.417Z DEBUG modem << +CEREG: 2,"04BC","01006308",7
    2021-12-17T11:29:50.474Z DEBUG modem << %CESQ: 53,2,18,2
    2021-12-17T11:29:50.535Z DEBUG modem << +CNEC_EMM: 14
    2021-12-17T11:29:50.545Z DEBUG modem << +CEREG: 2,"04BC","01006308",7,0,14
    2021-12-17T11:29:51.819Z DEBUG modem << %CESQ: 255,0,255,0
    

  • Hello

    I tried the sms sample with a SIM other than iBasis today (Telenor), and was able to send and receive sms messages without having to supply a pin code.

    Since you are still getting timeouts when attempting to connect to the network, it seems like your problem has to do with your SIM.

    Have you tried using the nRF Connect LTE Link Monitor to observe the state of your device? It makes it very easy to monitor your network connections while you're running the AT client for example, and might make it easier for you to figure out what isn't working.

    I'm not sure what you mean by technical specs for the iBasis card other than what you can find on their website?

    I'll be on holiday from next week, but there will be other people in the office who can help you if you're still having problems.

    Best regards,

    Einar

  • Hello, I found out what the problem was and fixed it. The AT+COPS  response had the value Forbidden for the operator. The SMS application was only able to find this one operator. Therefore I got a sim of this operator and deactivated the request for the pin code. 

Related