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

nRF9160 (NB-IoT) nRF cloud connect error :(-111)

Hello community,

I successfully flashed assets_tracker  code into board and configure in NB-IoT using Configure NRF SDK project in segger studio.

I used Vodafone SIM card and NB-IoT is fully developed in Ireland. 

When I start nRF9160 dk it connects with Vodafone Ireland and registered to the network in roaming mode.

I do also have data in SIM card and code successfully came out from function modem_configure().

In cloud_connect(NULL) function it returns with an error

nRF cloud connect error: -111

Now, How am I suppose to connect with nRF Cloud?

Thanks in advance.

Regards,

Nikunj Panchani 

Parents
  • Hi Nikunj,

    The error -111 means "connection refused". 

    Could you please flash the AT Client example into your board first, open up the Link Monitor application in nRF Connect for Desktop & see if you can attach to the base station first (see this video)?

    Then, could you copy & paste the log file into your comment.

    If you still cannot attach to the base station, it may be useful to update to the latest modem FW found here.

  • Hello Kvaale,

    Thanks for reply.

    I upgraded modern firmware into modem and uploaded at_client. here are logs from LTE_LINK_MONITOR.

    2019-05-13T12:20:46.116Z INFO Modem port is opened
    2019-05-13T12:20:46.134Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-05-13T12:20:46.241Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-05-13T12:20:46.247Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.330Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-05-13T12:20:46.366Z DEBUG modem << +CGSN: "352656100158982"\x0D\x0A
    2019-05-13T12:20:46.374Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.405Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-05-13T12:20:46.456Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-05-13T12:20:46.460Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.467Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-05-13T12:20:46.546Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-05-13T12:20:46.548Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.564Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-05-13T12:20:46.597Z DEBUG modem << mfw_nrf9160_0.7.0-29.alpha\x0D\x0A
    2019-05-13T12:20:46.600Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.613Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_0.7.0-29.alpha] SerNr: 352656100158982
    2019-05-13T12:20:46.632Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-05-13T12:20:46.691Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-05-13T12:20:46.698Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.740Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-05-13T12:20:46.806Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,20,25,26,28,66)\x0D\x0A
    2019-05-13T12:20:46.816Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.858Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-05-13T12:20:46.926Z DEBUG modem << +CMEE: 0\x0D\x0A
    2019-05-13T12:20:46.934Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:46.980Z DEBUG modem >> AT+CMEE=1\x0D\x0A
    2019-05-13T12:20:47.014Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.028Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-05-13T12:20:47.107Z DEBUG modem << +CNEC: 0\x0D\x0A
    2019-05-13T12:20:47.111Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.161Z DEBUG modem >> AT+CNEC=24\x0D\x0A
    2019-05-13T12:20:47.197Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.214Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-05-13T12:20:47.267Z DEBUG modem << +CGEREP: 0,0\x0D\x0A
    2019-05-13T12:20:47.274Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.325Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-05-13T12:20:47.354Z DEBUG modem << OK\x0D
    2019-05-13T12:20:47.405Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-05-13T12:20:47.460Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.495Z DEBUG modem >> AT+CGEREP=1\x0D\x0A
    2019-05-13T12:20:47.558Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.608Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-05-13T12:20:47.632Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.700Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-05-13T12:20:47.752Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.798Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-05-13T12:20:47.847Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",9\x0D\x0A
    2019-05-13T12:20:47.856Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.882Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-05-13T12:20:47.955Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:47.965Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-05-13T12:20:48.025Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-05-13T12:20:48.031Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:48.076Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-05-13T12:20:48.133Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:48.181Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-05-13T12:20:48.244Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-05-13T12:20:48.249Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:48.295Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-05-13T12:20:48.378Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-05-13T12:20:48.381Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:48.410Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-05-13T12:20:48.489Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-05-13T12:20:48.492Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:48.526Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-05-13T12:20:48.615Z DEBUG modem << 901288002205391\x0D\x0A
    2019-05-13T12:20:48.621Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:20:48.631Z INFO IMSIdentity: 901288002205391
    2019-05-13T12:21:07.586Z INFO Modem port is closed
    2019-05-13T12:21:09.102Z INFO Modem port is opened
    2019-05-13T12:21:09.136Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-05-13T12:21:09.228Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-05-13T12:21:09.281Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:09.317Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-05-13T12:21:09.411Z DEBUG modem << +CGSN: "352656100158982"\x0D
    2019-05-13T12:21:09.470Z DEBUG modem << \x0A
    2019-05-13T12:21:09.502Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:09.568Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-05-13T12:21:09.604Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-05-13T12:21:09.608Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:09.687Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-05-13T12:21:09.783Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-05-13T12:21:09.786Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:09.836Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-05-13T12:21:09.904Z DEBUG modem << mfw_nrf9160_0.7.0-29.alpha\x0D\x0A
    2019-05-13T12:21:09.914Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:09.919Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_0.7.0-29.alpha] SerNr: 352656100158982
    2019-05-13T12:21:09.962Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-05-13T12:21:10.039Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-05-13T12:21:10.048Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.104Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-05-13T12:21:10.183Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,20,25,26,28,66)\x0D\x0A
    2019-05-13T12:21:10.189Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.219Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-05-13T12:21:10.315Z DEBUG modem << +CMEE: 1\x0D\x0A
    2019-05-13T12:21:10.320Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.339Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-05-13T12:21:10.431Z DEBUG modem << +CNEC: 24\x0D\x0A
    2019-05-13T12:21:10.445Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.503Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-05-13T12:21:10.587Z DEBUG modem << +CGEREP: 1,0\x0D\x0A
    2019-05-13T12:21:10.598Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.650Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-05-13T12:21:10.703Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.771Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-05-13T12:21:10.854Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.867Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-05-13T12:21:10.921Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",9\x0D\x0A
    2019-05-13T12:21:10.935Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:10.985Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-05-13T12:21:11.097Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:11.140Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-05-13T12:21:11.248Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-05-13T12:21:11.253Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:11.289Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-05-13T12:21:11.384Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:11.388Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-05-13T12:21:11.484Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-05-13T12:21:11.487Z DEBUG modem << OK\x0D
    2019-05-13T12:21:11.512Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-05-13T12:21:11.620Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-05-13T12:21:11.628Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:11.662Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-05-13T12:21:11.751Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-05-13T12:21:11.756Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:11.802Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-05-13T12:21:11.906Z DEBUG modem << 901288002205391\x0D\x0A
    2019-05-13T12:21:11.916Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:11.919Z INFO IMSIdentity: 901288002205391
    2019-05-13T12:21:15.104Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-05-13T12:21:15.217Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-05-13T12:21:15.229Z DEBUG modem << OK\x0D\x0A
    2019-05-13T12:21:15.245Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-05-13T12:21:15.340Z DEBUG modem << +CGSN: "352656100158982"\x0D\x0A
    2019-05-13T12:21:15.343Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:15.477Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-05-13T12:21:15.535Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-05-13T12:21:15.537Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:15.628Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-05-13T12:21:15.731Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-05-13T12:21:15.733Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:15.835Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-05-13T12:21:15.920Z DEBUG modem << mfw_nrf9160_0.7.0-29.alpha\x0D\x0A
    2019-05-13T12:21:15.931Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:15.934Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_0.7.0-29.alpha] SerNr: 352656100158982
    2019-05-13T12:21:16.050Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-05-13T12:21:16.133Z DEBUG modem << +CEMODE: 0\x0D\x0A
    2019-05-13T12:21:16.147Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:16.169Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-05-13T12:21:16.335Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,17,20,25,26,28,66)\x0D\x0A
    2019-05-13T12:21:16.341Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:16.373Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-05-13T12:21:16.478Z DEBUG modem << +CMEE: 1\x0D\x0A
    2019-05-13T12:21:16.483Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:16.584Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-05-13T12:21:16.687Z DEBUG modem << +CNEC: 24\x0D\x0A
    2019-05-13T12:21:16.801Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:16.870Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-05-13T12:21:16.994Z DEBUG modem << +CGEREP: 1,0\x0D\x0A
    2019-05-13T12:21:16.998Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:17.002Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-05-13T12:21:17.086Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:17.179Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-05-13T12:21:17.255Z DEBUG modem << OK\x0D\x0A
    2019-05-13T12:21:17.379Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-05-13T12:21:17.493Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",9\x0D\x0A
    2019-05-13T12:21:17.497Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:17.502Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-05-13T12:21:17.596Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:17.680Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-05-13T12:21:17.783Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-05-13T12:21:17.793Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:17.832Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-05-13T12:21:17.981Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:18.076Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-05-13T12:21:18.216Z DEBUG modem << %CESQ: 53,2\x0D\x0A\x00
    2019-05-13T12:21:18.218Z DEBUG modem << +CEREG: 2,"2332","02610421",9\x0D\x0A\x00
    2019-05-13T12:21:18.225Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-05-13T12:21:18.229Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:18.261Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-05-13T12:21:18.448Z DEBUG modem << +CPIN: READY\x0D\x0A
    2019-05-13T12:21:18.511Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:18.630Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-05-13T12:21:18.780Z DEBUG modem << +CPINR: "SIM PIN",3\x0D\x0A
    2019-05-13T12:21:18.783Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:18.841Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-05-13T12:21:18.984Z DEBUG modem << 901288002205391\x0D\x0A
    2019-05-13T12:21:18.987Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:18.996Z INFO IMSIdentity: 901288002205391
    2019-05-13T12:21:19.956Z DEBUG modem << +CLTE Link Connected!\x0D\x0A
    2019-05-13T12:21:20.046Z DEBUG modem << GEVIPv4 Address found 0xd4f29a23\x0D\x0A
    2019-05-13T12:21:20.049Z DEBUG modem << : ME PDN ACT 0,0\x0D\x0A\x00
    2019-05-13T12:21:20.054Z DEBUG modem << +CNEC_ESM: 50,0\x0D\x0A\x00
    2019-05-13T12:21:20.127Z DEBUG modem << +CEREG: 5,"2332","02610421",9\x0D\x0A\x00
    2019-05-13T12:21:20.143Z DEBUG modem << +CIND: "service",1\x0D\x0A\x00
    2019-05-13T12:21:20.156Z DEBUG modem << +CIND: "roam",1\x0D\x0A\x00
    2019-05-13T12:21:20.232Z DEBUG modem >> AT+COPS=3,2\x0D\x0A
    2019-05-13T12:21:20.376Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:20.444Z DEBUG modem >> AT+COPS?\x0D\x0A
    2019-05-13T12:21:20.608Z DEBUG modem << +COPS: 0,2,"27201",9\x0D\x0A
    2019-05-13T12:21:20.614Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:20.647Z DEBUG modem >> AT%XCBAND\x0D\x0A
    2019-05-13T12:21:20.796Z DEBUG modem << %XCBAND: 20\x0D\x0A
    2019-05-13T12:21:20.798Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:20.843Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-05-13T12:21:20.982Z DEBUG modem << +CGDCONT: 0,"IP","ep.inetd.gdsp","10.21.113.47",0,0\x0D\x0A
    2019-05-13T12:21:20.993Z DEBUG modem << OK\x0D\x0A\x00
    2019-05-13T12:21:21.030Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-05-13T12:21:21.242Z DEBUG modem << +CGACT: 0,1\x0D\x0A
    2019-05-13T12:21:21.248Z DEBUG modem << OK\x0D\x0A\x00


    I think it is connected with base station but it is not with nRFcloud.

    Regards,

    Nikunj Panchani

  • You can easily see if you are connected to the base station in the Link Monitor tool by seeing if the LTE bar in the top right corner is green (see this video). From the AT+CEREG command at the bottom of your log you received: +CEREG: 5,"2332","02610421",9\x0D\x0A\x00 & the 5 indicates that you are registered & roaming.

    The -111 error normally means there is something wrong with your SIM card, either that you have not registered it or there is no data left on it. However, since you mentioned nB-IoT & Vodafone, I believe the issue may be related setting the APN (access point name). 

    In the AT client example, could you try running: 

    AT+CGDCONT=0,"IP","nb.inetd.gdsp"

    Then, switch over to the asset tracker example again. Hopefully you will be able to connect to the cloud then. I have also heard of one customer having to talk to Vodafone directly in order to get their SIM card activated.

Reply
  • You can easily see if you are connected to the base station in the Link Monitor tool by seeing if the LTE bar in the top right corner is green (see this video). From the AT+CEREG command at the bottom of your log you received: +CEREG: 5,"2332","02610421",9\x0D\x0A\x00 & the 5 indicates that you are registered & roaming.

    The -111 error normally means there is something wrong with your SIM card, either that you have not registered it or there is no data left on it. However, since you mentioned nB-IoT & Vodafone, I believe the issue may be related setting the APN (access point name). 

    In the AT client example, could you try running: 

    AT+CGDCONT=0,"IP","nb.inetd.gdsp"

    Then, switch over to the asset tracker example again. Hopefully you will be able to connect to the cloud then. I have also heard of one customer having to talk to Vodafone directly in order to get their SIM card activated.

Children
  • Hello Kvaale,

    Thanks for reply!!!

    According to nRF AT Command document we do not able to change AT+CGDCONT=0.

    I already registered SIM card and got APN automatically,

     +CGDCONT: 0,"IP","ep.inetd.gdsp","10.21.113.47",0,0

    "if you are connected to the base station in the Link Monitor tool by seeing if the LTE bar in the top right corner is green" LTE is already green, SIM registered with Vodafone Ireland.

    After debugging I came on a point that,

    It throws an error from connect(client->transport.tcp.sock,client->broker,peer_addr_size) after closing socket it throws error 60 which is "Connection Timeout".

    Also for this  +CGDCONT: 0,"IP","nb.inetd.gdsp","10.21.113.47",0,0 I tried with <stat> 1  but this APN is not giving any IP when I am trying AT+CGACT=1,1 

    I also tried with simple MQTT example by changing HOSTNAME and PORT of my MQTT server created by node-js but results are same to me.

    Regards,

    Nikunj

  • Hello Community,

    Thanks for support.

    Local service provider gives limited ip address to connect from NB-IoT SIM card. So we have to direct contact local service provider and we have to provide on which ip addresses we will work.

    Regards,

    Nikunj 

Related