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

nrf9160 : NB-IoT not able to connect

Hi,

We are trying to connect to NB-IoT network but seems nrf9160 not able to connect. We are trying with an NB-IoT SIM in Malaysia. Below is the log captured using LTE Link Monitor.

In the log , we are seeing "+CGEV: ME DETACH" which means Mobile equipment detach. 

Can you please help us in understanding what is wrong ?

Our sim vendor said APN name is "yesiot" , we tried setting that also. But still not able to connect to network.

Also attaching the modem trace collected using "NRF Trace Collector" and enodeb trace collected by our network team.

Please see the attachments.

Log : 

2020-10-13T10:09:38.314Z INFO Modem port is opened
2020-10-13T10:09:38.329Z DEBUG modem >> AT+CFUN?
2020-10-13T10:09:38.565Z DEBUG modem << +CFUN: 0
2020-10-13T10:09:38.596Z DEBUG modem << OK
2020-10-13T10:09:46.932Z DEBUG modem >> AT%XSYSTEMMODE=0,1,1,0
2020-10-13T10:09:46.958Z DEBUG modem << OK
2020-10-13T10:09:50.513Z DEBUG modem >> AT+CFUN=1
2020-10-13T10:09:50.598Z DEBUG modem << OK
2020-10-13T10:09:52.061Z DEBUG modem >> AT+CFUN?
2020-10-13T10:09:52.145Z DEBUG modem << +CFUN: 1
2020-10-13T10:09:52.175Z DEBUG modem << OK
2020-10-13T10:09:52.182Z DEBUG modem >> AT+CGSN=1
2020-10-13T10:09:52.194Z DEBUG modem << +CGSN: "352656100367617"
2020-10-13T10:09:52.198Z DEBUG modem << OK
2020-10-13T10:09:52.204Z DEBUG modem >> AT+CGMI
2020-10-13T10:09:52.227Z DEBUG modem << Nordic Semiconductor ASA
2020-10-13T10:09:52.237Z DEBUG modem << OK
2020-10-13T10:09:52.257Z DEBUG modem >> AT+CGMM
2020-10-13T10:09:52.281Z DEBUG modem << nRF9160-SICA
2020-10-13T10:09:52.286Z DEBUG modem << OK
2020-10-13T10:09:52.310Z DEBUG modem >> AT+CGMR
2020-10-13T10:09:52.334Z DEBUG modem << mfw_nrf9160_1.2.0
2020-10-13T10:09:52.339Z DEBUG modem << OK
2020-10-13T10:09:52.343Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.2.0] SerNr: 352656100367617
2020-10-13T10:09:52.350Z DEBUG modem >> AT+CEMODE?
2020-10-13T10:09:52.366Z DEBUG modem << +CEMODE: 0
2020-10-13T10:09:52.375Z DEBUG modem << OK
2020-10-13T10:09:52.410Z DEBUG modem >> AT%XCBAND=?
2020-10-13T10:09:52.432Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,19,20,25,26,28,66)
2020-10-13T10:09:52.437Z DEBUG modem << OK
2020-10-13T10:09:52.469Z DEBUG modem >> AT+CMEE?
2020-10-13T10:09:52.481Z DEBUG modem << +CMEE: 0
2020-10-13T10:09:52.492Z DEBUG modem << OK
2020-10-13T10:09:52.514Z DEBUG modem >> AT+CMEE=1
2020-10-13T10:09:52.544Z DEBUG modem << OK
2020-10-13T10:09:52.579Z DEBUG modem >> AT+CNEC?
2020-10-13T10:09:52.624Z DEBUG modem << +CNEC: 0
2020-10-13T10:09:52.633Z DEBUG modem << OK
2020-10-13T10:09:52.648Z DEBUG modem >> AT+CNEC=24
2020-10-13T10:09:52.667Z DEBUG modem << OK
2020-10-13T10:09:52.676Z DEBUG modem >> AT+CGEREP?
2020-10-13T10:09:52.683Z DEBUG modem << +CGEREP: 0,0
2020-10-13T10:09:52.687Z DEBUG modem << OK
2020-10-13T10:09:52.698Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:09:52.714Z DEBUG modem << OK
2020-10-13T10:09:52.729Z DEBUG modem >> AT+CGACT?
2020-10-13T10:09:52.744Z DEBUG modem << OK
2020-10-13T10:09:52.748Z DEBUG modem >> AT+CGEREP=1
2020-10-13T10:09:52.761Z DEBUG modem << OK
2020-10-13T10:09:52.769Z DEBUG modem >> AT+CIND=1,1,1
2020-10-13T10:09:52.797Z DEBUG modem << OK
2020-10-13T10:09:52.801Z DEBUG modem >> AT+CEREG=2
2020-10-13T10:09:52.826Z DEBUG modem << OK
2020-10-13T10:09:52.844Z DEBUG modem >> AT+CEREG?
2020-10-13T10:09:52.863Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",9
2020-10-13T10:09:52.876Z DEBUG modem << OK
2020-10-13T10:09:52.898Z DEBUG modem >> AT%CESQ=1
2020-10-13T10:09:52.909Z DEBUG modem << OK
2020-10-13T10:09:52.917Z DEBUG modem >> AT+CESQ
2020-10-13T10:09:52.946Z DEBUG modem << +CESQ: 99,99,255,255,255,255
2020-10-13T10:09:52.950Z DEBUG modem << OK
2020-10-13T10:09:52.966Z DEBUG modem >> AT%XSIM=1
2020-10-13T10:09:52.996Z DEBUG modem << OK
2020-10-13T10:09:53.010Z DEBUG modem >> AT%XSIM?
2020-10-13T10:09:53.040Z DEBUG modem << %XSIM: 0
2020-10-13T10:09:53.044Z DEBUG modem << OK
2020-10-13T10:09:54.654Z DEBUG modem << %XSIM: 1
2020-10-13T10:09:54.713Z DEBUG modem >> AT+CPIN?
2020-10-13T10:09:54.762Z DEBUG modem << +CPIN: READY
2020-10-13T10:09:54.772Z DEBUG modem << OK
2020-10-13T10:09:54.826Z DEBUG modem >> AT+CPINR="SIM PIN"
2020-10-13T10:09:54.858Z DEBUG modem << +CPINR: "SIM PIN",3
2020-10-13T10:09:54.864Z DEBUG modem << OK
2020-10-13T10:09:54.895Z DEBUG modem >> AT+CIMI
2020-10-13T10:09:54.920Z DEBUG modem << 502151044530005
2020-10-13T10:09:54.927Z DEBUG modem << OK
2020-10-13T10:09:54.931Z INFO IMSIdentity: 502151044530005
2020-10-13T10:10:47.274Z DEBUG modem << %CESQ: 88,4,26,3
2020-10-13T10:10:47.330Z DEBUG modem << +CEREG: 2,"0888","0003EA0B",9
2020-10-13T10:10:49.214Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:10:49.251Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:10:49.262Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:10:49.283Z DEBUG modem << OK
2020-10-13T10:10:49.356Z DEBUG modem >> AT+CGACT?
2020-10-13T10:10:49.381Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:10:49.392Z DEBUG modem << OK
2020-10-13T10:11:01.112Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:11:01.170Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:11:01.207Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:11:01.227Z DEBUG modem << OK
2020-10-13T10:11:01.287Z DEBUG modem >> AT+CGACT?
2020-10-13T10:11:01.294Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:11:01.298Z DEBUG modem <<
2020-10-13T10:11:01.300Z DEBUG modem << OK
2020-10-13T10:11:12.993Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:11:13.025Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:11:13.038Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:11:13.044Z DEBUG modem << OK
2020-10-13T10:11:13.087Z DEBUG modem >> AT+CGACT?
2020-10-13T10:11:13.100Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:11:13.108Z DEBUG modem << OK
2020-10-13T10:11:25.162Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:11:25.217Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:11:25.264Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:11:25.277Z DEBUG modem << OK
2020-10-13T10:11:25.353Z DEBUG modem >> AT+CGACT?
2020-10-13T10:11:25.393Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:11:25.398Z DEBUG modem << OK
2020-10-13T10:11:37.226Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:11:37.270Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:11:37.311Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:11:37.321Z DEBUG modem << OK
2020-10-13T10:11:37.373Z DEBUG modem >> AT+CGACT?
2020-10-13T10:11:37.381Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:11:37.385Z DEBUG modem << OK
2020-10-13T10:11:49.111Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:11:49.184Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:11:49.211Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:11:49.216Z DEBUG modem << OK
2020-10-13T10:11:49.241Z DEBUG modem >> AT+CGACT?
2020-10-13T10:11:49.248Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:11:49.266Z DEBUG modem <<
2020-10-13T10:11:49.275Z DEBUG modem << OK
2020-10-13T10:12:01.007Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:12:01.059Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:12:01.092Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:12:01.097Z DEBUG modem << OK
2020-10-13T10:12:01.142Z DEBUG modem >> AT+CGACT?
2020-10-13T10:12:01.156Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:12:01.161Z DEBUG modem << OK
2020-10-13T10:12:13.025Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:12:13.061Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:12:13.072Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:12:13.077Z DEBUG modem << OK
2020-10-13T10:12:13.117Z DEBUG modem >> AT+CGACT?
2020-10-13T10:12:13.126Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:12:13.161Z DEBUG modem << OK
2020-10-13T10:12:24.894Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:12:24.945Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:12:24.957Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:12:24.962Z DEBUG modem << OK
2020-10-13T10:12:25.016Z DEBUG modem >> AT+CGACT?
2020-10-13T10:12:25.029Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:12:25.034Z DEBUG modem << OK
2020-10-13T10:12:36.746Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:12:36.776Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:12:36.783Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:12:36.791Z DEBUG modem <<
2020-10-13T10:12:36.792Z DEBUG modem << OK
2020-10-13T10:12:36.821Z DEBUG modem >> AT+CGACT?
2020-10-13T10:12:36.828Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:12:36.840Z DEBUG modem << OK
2020-10-13T10:12:48.624Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:12:48.668Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:12:48.683Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:12:48.690Z DEBUG modem << OK
2020-10-13T10:12:48.750Z DEBUG modem >> AT+CGACT?
2020-10-13T10:12:48.759Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:12:48.766Z DEBUG modem << OK
2020-10-13T10:13:00.469Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:13:00.516Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:13:00.530Z DEBUG modem << +CGDCONT: 0,"IP","","",0,0
2020-10-13T10:13:00.535Z DEBUG modem << OK
2020-10-13T10:13:00.605Z DEBUG modem >> AT+CGACT?
2020-10-13T10:13:00.614Z DEBUG modem << +CGACT: 0,0
2020-10-13T10:13:00.617Z DEBUG modem << OK
2020-10-13T10:13:09.618Z DEBUG modem >> AT+CGDCONT=1,"IP",yesiot"
2020-10-13T10:13:10.619Z ERROR Error: 'AT+CGDCONT=1,"IP",yesiot"
' timed out
2020-10-13T10:13:12.363Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:13:12.395Z DEBUG modem >> AT+CGDCONT?
2020-10-13T10:13:24.430Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:13:36.381Z DEBUG modem << +CGEV: ME DETACH
2020-10-13T10:13:48.515Z DEBUG modem << +CGEV: ME DETACH

  2437.trace-2020-10-14T04-51-53.858Z.zip

Thanks in advance,

Aswin

Parents
  • Hello Aswin,

    From the log you have posted, is line number 7 from the bottom the only place where you added the APN? If so, you are missing a quotation mark:

    AT+CGDCONT=1,"IP",yesiot"

     It should be AT+CGDCONT=1,"IP","yesiot"

    Kind regards,
    Øyvind

  • oh yes ... but i also tried with setting it properly. But I am getting the same results.

    Any other issue in the log? Also can you advice how to troubleshoot this issue 

    We would like to know when "+CGEV: ME DETACH" happens and possible reasons

    Thanks!

  • Yes! The carrier changed the parameter to the default as per spec and now able to connect to the NB-IoT network. Attaching the final log and trace for reference.

    Thanks a lot for the support

     trace_working.zip

     

    2020-10-20T04:30:49.997Z DEBUG modem >> AT+CGDCONT=0,"IP","yesiot"
    2020-10-20T04:30:50.156Z DEBUG modem << OK
    2020-10-20T04:31:06.762Z DEBUG modem >> AT%XSYSTEMMODE=0,1,1,0
    2020-10-20T04:31:06.792Z DEBUG modem << OK
    2020-10-20T04:31:08.826Z DEBUG modem >> AT+CFUN=1
    2020-10-20T04:31:08.997Z DEBUG modem << OK
    2020-10-20T04:31:19.072Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:19.278Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:19.308Z DEBUG modem << OK
    2020-10-20T04:31:24.874Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:25.103Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:25.116Z DEBUG modem << OK
    2020-10-20T04:31:29.973Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:30.192Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:30.240Z DEBUG modem << OK
    2020-10-20T04:31:35.599Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:35.694Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:35.708Z DEBUG modem << OK
    2020-10-20T04:31:39.599Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:39.795Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:39.823Z DEBUG modem << OK
    2020-10-20T04:31:45.960Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:46.129Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:46.136Z DEBUG modem << OK
    2020-10-20T04:31:46.193Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:46.250Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:46.259Z DEBUG modem << OK
    2020-10-20T04:31:51.525Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:51.596Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:51.625Z DEBUG modem << OK
    2020-10-20T04:31:57.426Z DEBUG modem >> AT+CESQ
    2020-10-20T04:31:57.586Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:31:57.600Z DEBUG modem << OK
    2020-10-20T04:32:04.703Z DEBUG modem >> AT+CESQ
    2020-10-20T04:32:04.841Z DEBUG modem << +CESQ: 99,99,255,255,255,255
    2020-10-20T04:32:04.859Z DEBUG modem << OK
    2020-10-20T04:32:07.834Z DEBUG modem >> AT+CESQ
    2020-10-20T04:32:07.992Z DEBUG modem << +CESQ: 99,99,255,255,26,79
    2020-10-20T04:32:08.024Z DEBUG modem << OK
    2020-10-20T04:32:10.726Z DEBUG modem >> AT+CESQ
    2020-10-20T04:32:10.883Z DEBUG modem << +CESQ: 99,99,255,255,26,79
    2020-10-20T04:32:10.896Z DEBUG modem << OK
    2020-10-20T04:32:13.503Z DEBUG modem >> AT+CESQ
    2020-10-20T04:32:13.681Z DEBUG modem << +CESQ: 99,99,255,255,26,79
    2020-10-20T04:32:13.709Z DEBUG modem << OK
    2020-10-20T04:32:15.743Z DEBUG modem >> AT+CFUN?
    2020-10-20T04:32:15.757Z DEBUG modem << +CFUN: 1
    2020-10-20T04:32:15.822Z DEBUG modem << OK
    2020-10-20T04:32:15.869Z DEBUG modem >> AT+CGSN=1
    2020-10-20T04:32:15.924Z DEBUG modem << +CGSN: "352656100367617"
    2020-10-20T04:32:15.926Z DEBUG modem << OK
    2020-10-20T04:32:15.930Z DEBUG modem >> AT+CGMI
    2020-10-20T04:32:16.014Z DEBUG modem << Nordic Semiconductor ASA
    2020-10-20T04:32:16.017Z DEBUG modem << OK
    2020-10-20T04:32:16.077Z DEBUG modem >> AT+CGMM
    2020-10-20T04:32:16.133Z DEBUG modem << nRF9160-SICA
    2020-10-20T04:32:16.135Z DEBUG modem << OK
    2020-10-20T04:32:16.140Z DEBUG modem >> AT+CGMR
    2020-10-20T04:32:16.193Z DEBUG modem << mfw_nrf9160_1.2.1
    2020-10-20T04:32:16.196Z DEBUG modem << OK
    2020-10-20T04:32:16.198Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.2.1] SerNr: 352656100367617
    2020-10-20T04:32:16.199Z DEBUG modem >> AT+CEMODE?
    2020-10-20T04:32:16.253Z DEBUG modem << +CEMODE: 0
    2020-10-20T04:32:16.373Z DEBUG modem << OK
    2020-10-20T04:32:16.431Z DEBUG modem >> AT%XCBAND=?
    2020-10-20T04:32:16.499Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,19,20,25,26,28,66)
    2020-10-20T04:32:16.502Z DEBUG modem << OK
    2020-10-20T04:32:16.512Z DEBUG modem >> AT+CMEE?
    2020-10-20T04:32:16.573Z DEBUG modem << +CMEE: 0
    2020-10-20T04:32:16.575Z DEBUG modem << OK
    2020-10-20T04:32:16.579Z DEBUG modem >> AT+CMEE=1
    2020-10-20T04:32:16.642Z DEBUG modem << OK
    2020-10-20T04:32:16.701Z DEBUG modem >> AT+CNEC?
    2020-10-20T04:32:16.764Z DEBUG modem << +CNEC: 0
    2020-10-20T04:32:16.767Z DEBUG modem << OK
    2020-10-20T04:32:16.771Z DEBUG modem >> AT+CNEC=24
    2020-10-20T04:32:16.834Z DEBUG modem << OK
    2020-10-20T04:32:16.893Z DEBUG modem >> AT+CGEREP?
    2020-10-20T04:32:16.972Z DEBUG modem << +CGEREP: 0,0
    2020-10-20T04:32:16.974Z DEBUG modem << OK
    2020-10-20T04:32:16.980Z DEBUG modem >> AT+CGDCONT?
    2020-10-20T04:32:17.040Z DEBUG modem << +CGDCONT: 0,"IP","YESIOT","10.26.97.67",0,0
    2020-10-20T04:32:17.043Z DEBUG modem << OK
    2020-10-20T04:32:17.110Z DEBUG modem >> AT+CGACT?
    2020-10-20T04:32:17.171Z DEBUG modem << +CGACT: 0,1
    2020-10-20T04:32:17.173Z DEBUG modem << OK
    2020-10-20T04:32:17.240Z DEBUG modem >> AT+CGEREP=1
    2020-10-20T04:32:17.299Z DEBUG modem << OK
    2020-10-20T04:32:17.357Z DEBUG modem >> AT+CIND=1,1,1
    2020-10-20T04:32:17.414Z DEBUG modem << OK
    2020-10-20T04:32:17.419Z DEBUG modem >> AT+CEREG=2
    2020-10-20T04:32:17.493Z DEBUG modem << OK
    2020-10-20T04:32:17.550Z DEBUG modem >> AT+CEREG?
    2020-10-20T04:32:17.604Z DEBUG modem << +CEREG: 2,1,"0888","0003EA0B",9
    2020-10-20T04:32:17.608Z DEBUG modem << OK
    2020-10-20T04:32:17.664Z DEBUG modem >> AT+COPS=3,2
    2020-10-20T04:32:17.714Z DEBUG modem << OK
    2020-10-20T04:32:17.763Z DEBUG modem >> AT+COPS?
    2020-10-20T04:32:17.818Z DEBUG modem << +COPS: 0,2,"502151",9
    2020-10-20T04:32:17.822Z DEBUG modem << OK
    2020-10-20T04:32:17.831Z DEBUG modem >> AT%XCBAND
    2020-10-20T04:32:17.905Z DEBUG modem << %XCBAND: 20
    2020-10-20T04:32:17.907Z DEBUG modem << OK
    2020-10-20T04:32:17.992Z DEBUG modem >> AT+CGDCONT?
    2020-10-20T04:32:18.065Z DEBUG modem << +CGDCONT: 0,"IP","YESIOT","10.26.97.67",0,0
    2020-10-20T04:32:18.067Z DEBUG modem << OK
    2020-10-20T04:32:18.077Z DEBUG modem >> AT+CGACT?
    2020-10-20T04:32:18.146Z DEBUG modem << +CGACT: 0,1
    2020-10-20T04:32:18.149Z DEBUG modem << OK
    2020-10-20T04:32:18.230Z DEBUG modem >> AT%CESQ=1
    2020-10-20T04:32:18.305Z DEBUG modem << OK
    2020-10-20T04:32:18.309Z DEBUG modem >> AT+CESQ
    2020-10-20T04:32:18.360Z DEBUG modem << +CESQ: 99,99,255,255,26,79
    2020-10-20T04:32:18.362Z DEBUG modem << OK
    2020-10-20T04:32:18.413Z DEBUG modem >> AT%XSIM=1
    2020-10-20T04:32:18.465Z DEBUG modem << OK
    2020-10-20T04:32:18.470Z DEBUG modem >> AT%XSIM?
    2020-10-20T04:32:18.477Z DEBUG modem << %XSIM: 1
    2020-10-20T04:32:18.479Z DEBUG modem << OK
    2020-10-20T04:32:18.541Z DEBUG modem >> AT+CPIN?
    2020-10-20T04:32:18.609Z DEBUG modem << +CPIN: READY
    2020-10-20T04:32:18.612Z DEBUG modem << OK
    2020-10-20T04:32:18.683Z DEBUG modem >> AT+CPINR="SIM PIN"
    2020-10-20T04:32:18.750Z DEBUG modem << +CPINR: "SIM PIN",3
    2020-10-20T04:32:18.752Z DEBUG modem << OK
    2020-10-20T04:32:18.759Z DEBUG modem >> AT+CIMI
    2020-10-20T04:32:18.830Z DEBUG modem << 502151044530005
    2020-10-20T04:32:18.833Z DEBUG modem << OK
    2020-10-20T04:32:18.835Z INFO IMSIdentity: 502151044530005
    2020-10-20T04:32:39.366Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:32:42.594Z DEBUG modem << %CESQ: 82,4,30,4
    2020-10-20T04:32:52.832Z DEBUG modem << %CESQ: 74,3,30,4
    2020-10-20T04:33:03.157Z DEBUG modem << %CESQ: 82,4,28,4
    2020-10-20T04:33:39.121Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:33:39.683Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:34:39.518Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:34:40.163Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:34:45.473Z DEBUG modem << %CESQ: 80,4,30,4
    2020-10-20T04:35:39.920Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:35:40.644Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:35:46.912Z DEBUG modem << %CESQ: 82,4,30,4
    2020-10-20T04:36:40.478Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:36:41.122Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:36:58.591Z DEBUG modem << %CESQ: 87,4,30,4
    2020-10-20T04:37:19.070Z DEBUG modem << %CESQ: 86,4,26,3
    2020-10-20T04:37:40.958Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:37:41.624Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:37:49.794Z DEBUG modem << %CESQ: 85,4,31,4
    2020-10-20T04:38:41.439Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:38:42.084Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:39:21.949Z DEBUG modem << %CESQ: 81,4,30,4
    2020-10-20T04:39:41.915Z DEBUG modem << %CESQ: 255,0,255,0
    2020-10-20T04:39:42.561Z DEBUG modem << %CESQ: 255,0,255,0
    

  • That is great news! Happy to help! :)

    Kind regards,
    Øyvind

  • We are getting another issue now. We are able to connect to Nb-IoT network Malaysia , but when tried HTTPs connect with our custom server ( ipv4 address ), the connect is getting failed.

    The socket connect function ( connect() in socket.h ) is returning -1.

    The wire shark logs are attached. Can you please help us in understanding this issue ?

    Another observation is when server address is ipv6 , we are able to connect via HTTPS. Issue is seeing only with ipv4 address. However network have support for both ipv4 and ipv6. 

    Also we verified our custom server with ipv4 address independently using another LTE-M SIM. ( Tested the same application code with a different LTE-M network and SIM). 

    Below is the wire shark log collected when HTTPs connect is failing. 

    20201021-NBIOT - CLoud.zip

  • Hello Aswin, 

    Can you please open a new ticket for this issue, as it is out of scope?

    Thank you!

    Kind regards,
    Øyvind

Reply Children
Related