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

Connecting to nrfcloud with SIM from another vendor

I connected to nrfcloud using a SIM card from iBasis and the asset tracker example.

Is it possible to connect to nrfcloud using a SIM card from another vendor? (in my case Telenor) When running the asset tracker example with the Telenor SIM card, led 3 blinks indefinitely, and the LTE Link monitor looks like this:

  • Hello, 

    There should not be any difference between iBasis and Telenor SIM. Did you power cycle between change? Can you please try to run the AT Clint and give me the output from LTE Link Monitor?

    Thanks!

    Kind regards,
    Øyvind

  • Hello,

    thank you. I did power cycle a few times. This is the output from the at client example.

    Regards,

    Lars

  • I'm sorry, I did not specify that when the message "The AT host sample started" you must issue the command "AT+CFUN?" This should output more information from your modem. See this tutorial for more information

  • Ah ok, thanks.
    Issuing the command once returned this:

    2019-11-06T09:01:57.506Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-11-06T09:01:57.523Z DEBUG modem << +CFUN: 4\x0D\x0A
    2019-11-06T09:01:57.541Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:01:57.549Z DEBUG modem >> AT+CFUN=1\x0D\x0A
    2019-11-06T09:01:57.583Z DEBUG modem << OK\x0D\x0A\x00

    Issuing it once more returned this:

    2019-11-06T09:02:00.246Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-11-06T09:02:00.253Z DEBUG modem << +CFUN: 1\x0D\x0A
    2019-11-06T09:02:00.279Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.282Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-11-06T09:02:00.295Z DEBUG modem << +CGSN: "352656100221129"\x0D\x0A
    2019-11-06T09:02:00.297Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.300Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-11-06T09:02:00.312Z DEBUG modem << Nordic Semiconductor ASA\x0D\x0A
    2019-11-06T09:02:00.315Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.318Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-11-06T09:02:00.328Z DEBUG modem << nRF9160-SICA\x0D\x0A
    2019-11-06T09:02:00.330Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.333Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-11-06T09:02:00.345Z DEBUG modem << mfw_nrf9160_1.0.1\x0D\x0A
    2019-11-06T09:02:00.347Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.349Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.1] SerNr: 352656100221129
    2019-11-06T09:02:00.350Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-11-06T09:02:00.362Z DEBUG modem << +CEMODE: 2\x0D\x0A
    2019-11-06T09:02:00.364Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.381Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-11-06T09:02:00.394Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D\x0A
    2019-11-06T09:02:00.396Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.411Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-11-06T09:02:00.416Z DEBUG modem << +CMEE: 0\x0D\x0A
    2019-11-06T09:02:00.418Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.428Z DEBUG modem >> AT+CMEE=1\x0D\x0A
    2019-11-06T09:02:00.431Z DEBUG modem << OK\x0D\x0A
    2019-11-06T09:02:00.435Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-11-06T09:02:00.444Z DEBUG modem << +CNEC: 0\x0D\x0A
    2019-11-06T09:02:00.447Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.451Z DEBUG modem >> AT+CNEC=24\x0D\x0A
    2019-11-06T09:02:00.461Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.464Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-11-06T09:02:00.469Z DEBUG modem << +CGEREP: 0,0\x0D\x0A
    2019-11-06T09:02:00.478Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.481Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-11-06T09:02:00.495Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.499Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-11-06T09:02:00.512Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.516Z DEBUG modem >> AT+CGEREP=1\x0D\x0A
    2019-11-06T09:02:00.526Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.530Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-11-06T09:02:00.535Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.537Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-11-06T09:02:00.546Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.551Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-11-06T09:02:00.562Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",7\x0D\x0A
    2019-11-06T09:02:00.564Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.579Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-11-06T09:02:00.586Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.595Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:00.603Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-11-06T09:02:00.612Z DEBUG modem << \x0A
    2019-11-06T09:02:00.614Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.632Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-11-06T09:02:00.637Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.644Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-11-06T09:02:00.649Z DEBUG modem << %XSIM: 0\x0D\x0A
    2019-11-06T09:02:00.652Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:00.684Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:00.692Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-11-06T09:02:00.695Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:01.684Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:01.709Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-11-06T09:02:01.713Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:02.684Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:02.705Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-11-06T09:02:02.709Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:03.689Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:03.698Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-11-06T09:02:03.711Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:04.685Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:04.692Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-11-06T09:02:04.694Z DEBUG modem << \x0A
    2019-11-06T09:02:04.695Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:05.685Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:05.696Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-11-06T09:02:05.701Z DEBUG modem << OK\x0D\x0A\x00
    2019-11-06T09:02:06.685Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-11-06T09:02:06.708Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D\x0A
    2019-11-06T09:02:06.710Z DEBUG modem << OK\x0D
    2019-11-06T09:02:07.142Z INFO Modem port is closed

  • Thank you! Can you please do the same with your iBasis SIM? I assume this is with the Telenor SIM?


    I edited your comment by adding the output in code format (Insert -> Insert Code) to make it more readable. 


    I will go through the output to see what is going on.

Related