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

Problem adding Thingy:91 in the nRF Cloud

Hello,

I try to add a Thingy:91 to the nRF Cloud after I received it today. The sim card got's activated without a problem. When I try to key in my IMEI and the Pin which is printed on the label I receive this error: "There was an error adding your device. It wasn't found. Is it connected?"

How to solve this and add the device to my account?

Parents
  • Hi! 


    Can you confirm that the Thingy:91 is on and the LED is blue and blinking.

    Best regards,

    Heidi

  • Hi Heidi, 

    I think it is more like a blue-withe breathing in a two seconds on and around 5 seconds off interval. 

  • Try to flash the at_client example, which makes it easier to read information from the modem. 

    thingy91_at_client.hex

    Start with

    AT%XSYSTEMMODE = 0,1,1,0

    to set the supported system modes of the modem.

    Then

    AT%XPCO=0

    to unsubscribe to PCO notifications, because a lot of base stations don't support this yet. 

    Then

    AT+CFUN?

    to read the current functional mode. 

    It can take up to five minutes, so be patient.

    Then attach the output here, thanks!

    Edit:

    AT%XEPCO=0

    is the correct command to unsubscribe to ePCO notifications.

  • The command AT%XSYSTEMMODE = 0,1,1,0 and AT%XPCO=0 fails and AT+CFUN? timed out. Also in the LTE Link Monitor the Modem port gets closed automatically quiet often...

    Here the log file:

    2019-08-30T07:13:28.034Z INFO Application data folder: C:\Users\TimSahr\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2019-08-30T07:13:28.098Z DEBUG App pc-nrfconnect-linkmonitor v1.1.0 official
    2019-08-30T07:13:28.098Z DEBUG App path: C:\Users\TimSahr\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2019-08-30T07:13:28.099Z DEBUG nRFConnect 3.1.0 is supported by the app (^3.0.0)
    2019-08-30T07:13:28.099Z DEBUG nRFConnect path: C:\Users\TimSahr\AppData\Local\Programs\nrfconnect\resources\app.asar
    2019-08-30T07:13:28.099Z DEBUG HomeDir: C:\Users\TimSahr
    2019-08-30T07:13:28.099Z DEBUG TmpDir: C:\Users\TimSahr\AppData\Local\Temp
    2019-08-30T07:13:39.471Z INFO Modem port is opened
    2019-08-30T07:13:39.479Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T07:13:39.502Z DEBUG modem << +CFUN: 4\x0D
    2019-08-30T07:13:39.505Z DEBUG modem << \x0A
    2019-08-30T07:13:39.506Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:39.519Z DEBUG modem >> AT+CFUN=1\x0D\x0A
    2019-08-30T07:13:39.562Z DEBUG modem << OK\x0D
    2019-08-30T07:13:48.933Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T07:13:48.939Z DEBUG modem << ERROR\x0D
    2019-08-30T07:13:48.942Z ERROR Error: AT%XSYSTEMMODE = 0,1,1,0
     failed
    2019-08-30T07:13:52.549Z INFO Modem port is closed
    2019-08-30T07:13:58.469Z INFO Modem port is opened
    2019-08-30T07:13:58.474Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T07:13:58.478Z DEBUG modem << +CFUN: 1\x0D
    2019-08-30T07:13:58.485Z DEBUG modem << \x0A
    2019-08-30T07:13:58.486Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.495Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-08-30T07:13:58.504Z DEBUG modem << +CGSN: "352656100443962"\x0D
    2019-08-30T07:13:58.512Z DEBUG modem << \x0A
    2019-08-30T07:13:58.513Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.518Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-08-30T07:13:58.524Z DEBUG modem << Nordic Semiconductor ASA\x0D
    2019-08-30T07:13:58.526Z DEBUG modem << \x0A
    2019-08-30T07:13:58.527Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.530Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-08-30T07:13:58.536Z DEBUG modem << nRF9160-SICA\x0D
    2019-08-30T07:13:58.538Z DEBUG modem << \x0A
    2019-08-30T07:13:58.540Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.542Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-08-30T07:13:58.551Z DEBUG modem << mfw_nrf9160_1.0.0\x0D\x0A
    2019-08-30T07:13:58.553Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.555Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100443962
    2019-08-30T07:13:58.556Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-08-30T07:13:58.562Z DEBUG modem << +CEMODE: 2\x0D
    2019-08-30T07:13:58.568Z DEBUG modem << \x0A
    2019-08-30T07:13:58.569Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.574Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-08-30T07:13:58.585Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D
    2019-08-30T07:13:58.587Z DEBUG modem << \x0A
    2019-08-30T07:13:58.590Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.595Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-08-30T07:13:58.602Z DEBUG modem << +CMEE: 0\x0D
    2019-08-30T07:13:58.607Z DEBUG modem << \x0A
    2019-08-30T07:13:58.608Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.612Z DEBUG modem >> AT+CMEE=1\x0D\x0A
    2019-08-30T07:13:58.617Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.624Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-08-30T07:13:58.629Z DEBUG modem << +CNEC: 0\x0D\x0A
    2019-08-30T07:13:58.631Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.634Z DEBUG modem >> AT+CNEC=24\x0D\x0A
    2019-08-30T07:13:58.638Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.642Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-08-30T07:13:58.647Z DEBUG modem << +CGEREP: 0,0\x0D
    2019-08-30T07:13:58.654Z DEBUG modem << \x0A
    2019-08-30T07:13:58.655Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.658Z DEBUG modem >> AT+CGDCONT?\x0D\x0A
    2019-08-30T07:13:58.662Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.667Z DEBUG modem >> AT+CGACT?\x0D\x0A
    2019-08-30T07:13:58.671Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.675Z DEBUG modem >> AT+CGEREP=1\x0D\x0A
    2019-08-30T07:13:58.680Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.688Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-08-30T07:13:58.693Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.696Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-08-30T07:13:58.705Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.708Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-08-30T07:13:58.717Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",7\x0D\x0A
    2019-08-30T07:13:58.719Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.726Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-08-30T07:13:58.730Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.736Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:13:58.742Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-08-30T07:13:58.744Z DEBUG modem << \x0A
    2019-08-30T07:13:58.745Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.753Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-08-30T07:13:58.757Z DEBUG modem << OK\x0D
    2019-08-30T07:13:58.760Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-08-30T07:13:58.768Z DEBUG modem << %XSIM: 1\x0D\x0A
    2019-08-30T07:13:58.770Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.775Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-08-30T07:13:58.780Z DEBUG modem << +CPIN: READY\x0D
    2019-08-30T07:13:58.787Z DEBUG modem << \x0A
    2019-08-30T07:13:58.789Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.794Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-08-30T07:13:58.807Z DEBUG modem << +CPINR: "SIM PIN",3\x0D
    2019-08-30T07:13:58.809Z DEBUG modem << \x0A
    2019-08-30T07:13:58.810Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.818Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-08-30T07:13:58.823Z DEBUG modem << 901405101052347\x0D
    2019-08-30T07:13:58.825Z DEBUG modem << \x0A
    2019-08-30T07:13:58.825Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:13:58.826Z INFO IMSIdentity: 901405101052347
    2019-08-30T07:14:02.286Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T07:14:02.292Z DEBUG modem << ERROR\x0D
    2019-08-30T07:14:02.293Z ERROR Error: AT%XSYSTEMMODE = 0,1,1,0
     failed
    2019-08-30T07:14:02.735Z INFO Modem port is closed
    2019-08-30T07:14:15.565Z INFO Modem port is opened
    2019-08-30T07:14:15.568Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T07:14:15.573Z DEBUG modem << +CFUN: 1\x0D
    2019-08-30T07:14:15.575Z DEBUG modem << \x0A
    2019-08-30T07:14:15.576Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.586Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-08-30T07:14:15.592Z DEBUG modem << +CGSN: "352656100443962"\x0D
    2019-08-30T07:14:15.600Z DEBUG modem << \x0A
    2019-08-30T07:14:15.601Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.605Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-08-30T07:14:15.614Z DEBUG modem << Nordic Semiconductor ASA\x0D
    2019-08-30T07:14:15.616Z DEBUG modem << \x0A
    2019-08-30T07:14:15.617Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.622Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-08-30T07:14:15.627Z DEBUG modem << nRF9160-SICA\x0D
    2019-08-30T07:14:15.634Z DEBUG modem << \x0A
    2019-08-30T07:14:15.634Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.638Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-08-30T07:14:15.643Z DEBUG modem << mfw_nrf9160_1.0.0\x0D
    2019-08-30T07:14:15.649Z DEBUG modem << \x0A
    2019-08-30T07:14:15.650Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.651Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100443962
    2019-08-30T07:14:15.654Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-08-30T07:14:15.658Z DEBUG modem << +CEMODE: 2\x0D
    2019-08-30T07:14:15.659Z DEBUG modem << \x0A
    2019-08-30T07:14:15.661Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.671Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-08-30T07:14:15.681Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D\x0A
    2019-08-30T07:14:15.683Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.689Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-08-30T07:14:15.693Z DEBUG modem << +CMEE: 1\x0D
    2019-08-30T07:14:15.700Z DEBUG modem << \x0A
    2019-08-30T07:14:15.701Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.703Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-08-30T07:14:15.708Z DEBUG modem << +CNEC: 24\x0D
    2019-08-30T07:14:15.709Z DEBUG modem << \x0A
    2019-08-30T07:14:15.710Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.717Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-08-30T07:14:15.722Z DEBUG modem << +CGEREP: 1,0\x0D
    2019-08-30T07:14:15.723Z DEBUG modem << \x0A
    2019-08-30T07:14:15.724Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.726Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-08-30T07:14:15.734Z DEBUG modem << OK\x0D
    2019-08-30T07:14:15.736Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-08-30T07:14:15.740Z DEBUG modem << OK\x0D
    2019-08-30T07:14:15.743Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-08-30T07:14:15.752Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",7\x0D
    2019-08-30T07:14:15.754Z DEBUG modem << \x0A
    2019-08-30T07:14:15.756Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.768Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-08-30T07:14:15.776Z DEBUG modem << OK\x0D
    2019-08-30T07:14:15.783Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:14:15.790Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-08-30T07:14:15.791Z DEBUG modem << \x0A
    2019-08-30T07:14:15.792Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.801Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-08-30T07:14:15.805Z DEBUG modem << OK\x0D
    2019-08-30T07:14:15.807Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-08-30T07:14:15.816Z DEBUG modem << %XSIM: 1\x0D
    2019-08-30T07:14:15.818Z DEBUG modem << \x0A
    2019-08-30T07:14:15.819Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.824Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-08-30T07:14:15.834Z DEBUG modem << +CPIN: READY\x0D
    2019-08-30T07:14:15.837Z DEBUG modem << \x0A
    2019-08-30T07:14:15.838Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.852Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-08-30T07:14:15.867Z DEBUG modem << +CPINR: "SIM PIN",3\x0D
    2019-08-30T07:14:15.868Z DEBUG modem << \x0A
    2019-08-30T07:14:15.870Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.887Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-08-30T07:14:15.892Z DEBUG modem << 901405101052347\x0D
    2019-08-30T07:14:15.893Z DEBUG modem << \x0A
    2019-08-30T07:14:15.895Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:15.897Z INFO IMSIdentity: 901405101052347
    2019-08-30T07:14:19.848Z DEBUG modem >> AT+XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T07:14:19.853Z DEBUG modem << ERROR\x0D
    2019-08-30T07:14:19.854Z ERROR Error: AT+XSYSTEMMODE = 0,1,1,0
     failed
    2019-08-30T07:14:27.378Z INFO Modem port is closed
    2019-08-30T07:14:31.302Z INFO Modem port is opened
    2019-08-30T07:14:31.305Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T07:14:31.309Z DEBUG modem << +CFUN: 1\x0D
    2019-08-30T07:14:31.311Z DEBUG modem << \x0A
    2019-08-30T07:14:31.312Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.324Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-08-30T07:14:31.329Z DEBUG modem << +CGSN: "352656100443962"\x0D
    2019-08-30T07:14:31.331Z DEBUG modem << \x0A
    2019-08-30T07:14:31.332Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.338Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-08-30T07:14:31.345Z DEBUG modem << Nordic Semiconductor ASA\x0D
    2019-08-30T07:14:31.347Z DEBUG modem << \x0A
    2019-08-30T07:14:31.347Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.354Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-08-30T07:14:31.358Z DEBUG modem << nRF9160-SICA\x0D
    2019-08-30T07:14:31.360Z DEBUG modem << \x0A
    2019-08-30T07:14:31.361Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.364Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-08-30T07:14:31.371Z DEBUG modem << mfw_nrf9160_1.0.0\x0D
    2019-08-30T07:14:31.372Z DEBUG modem << \x0A
    2019-08-30T07:14:31.373Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.374Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100443962
    2019-08-30T07:14:31.377Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-08-30T07:14:31.382Z DEBUG modem << +CEMODE: 2\x0D
    2019-08-30T07:14:31.389Z DEBUG modem << \x0A
    2019-08-30T07:14:31.390Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.395Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-08-30T07:14:31.404Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D
    2019-08-30T07:14:31.408Z DEBUG modem << \x0A
    2019-08-30T07:14:31.409Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.414Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-08-30T07:14:31.423Z DEBUG modem << +CMEE: 1\x0D
    2019-08-30T07:14:31.425Z DEBUG modem << \x0A
    2019-08-30T07:14:31.426Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.429Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-08-30T07:14:31.433Z DEBUG modem << +CNEC: 24\x0D
    2019-08-30T07:14:31.440Z DEBUG modem << \x0A
    2019-08-30T07:14:31.440Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.442Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-08-30T07:14:31.447Z DEBUG modem << +CGEREP: 1,0\x0D
    2019-08-30T07:14:31.448Z DEBUG modem << \x0A
    2019-08-30T07:14:31.449Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.456Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-08-30T07:14:31.460Z DEBUG modem << OK\x0D
    2019-08-30T07:14:31.462Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-08-30T07:14:31.472Z DEBUG modem << OK\x0D
    2019-08-30T07:14:31.474Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-08-30T07:14:31.482Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",7\x0D
    2019-08-30T07:14:31.490Z DEBUG modem << \x0A
    2019-08-30T07:14:31.491Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.494Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-08-30T07:14:31.498Z DEBUG modem << OK\x0D
    2019-08-30T07:14:31.506Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:14:31.512Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-08-30T07:14:31.513Z DEBUG modem << \x0A
    2019-08-30T07:14:31.515Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.524Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-08-30T07:14:31.528Z DEBUG modem << OK\x0D
    2019-08-30T07:14:31.531Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-08-30T07:14:31.539Z DEBUG modem << %XSIM: 1\x0D
    2019-08-30T07:14:31.540Z DEBUG modem << \x0A
    2019-08-30T07:14:31.542Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.547Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-08-30T07:14:31.557Z DEBUG modem << +CPIN: READY\x0D
    2019-08-30T07:14:31.559Z DEBUG modem << \x0A
    2019-08-30T07:14:31.559Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.564Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-08-30T07:14:31.577Z DEBUG modem << +CPINR: "SIM PIN",3\x0D
    2019-08-30T07:14:31.578Z DEBUG modem << \x0A
    2019-08-30T07:14:31.579Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.595Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-08-30T07:14:31.604Z DEBUG modem << 901405101052347\x0D
    2019-08-30T07:14:31.606Z DEBUG modem << \x0A
    2019-08-30T07:14:31.607Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:31.608Z INFO IMSIdentity: 901405101052347
    2019-08-30T07:14:40.587Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T07:14:40.592Z DEBUG modem << ERROR\x0D
    2019-08-30T07:14:40.592Z ERROR Error: AT%XSYSTEMMODE = 0,1,1,0
     failed
    2019-08-30T07:14:49.999Z INFO Modem port is closed
    2019-08-30T07:14:53.787Z INFO Modem port is opened
    2019-08-30T07:14:53.790Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T07:14:53.802Z DEBUG modem << +CFUN: 1\x0D
    2019-08-30T07:14:53.804Z DEBUG modem << \x0A
    2019-08-30T07:14:53.806Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.819Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-08-30T07:14:53.826Z DEBUG modem << +CGSN: "352656100443962"\x0D
    2019-08-30T07:14:53.828Z DEBUG modem << \x0A
    2019-08-30T07:14:53.832Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.843Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-08-30T07:14:53.851Z DEBUG modem << Nordic Semiconductor ASA\x0D
    2019-08-30T07:14:53.854Z DEBUG modem << \x0A
    2019-08-30T07:14:53.855Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.859Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-08-30T07:14:53.868Z DEBUG modem << nRF9160-SICA\x0D
    2019-08-30T07:14:53.869Z DEBUG modem << \x0A
    2019-08-30T07:14:53.870Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.872Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-08-30T07:14:53.877Z DEBUG modem << mfw_nrf9160_1.0.0\x0D
    2019-08-30T07:14:53.886Z DEBUG modem << \x0A
    2019-08-30T07:14:53.887Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.888Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100443962
    2019-08-30T07:14:53.889Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-08-30T07:14:53.893Z DEBUG modem << +CEMODE: 2\x0D
    2019-08-30T07:14:53.895Z DEBUG modem << \x0A
    2019-08-30T07:14:53.897Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.909Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-08-30T07:14:53.919Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D
    2019-08-30T07:14:53.922Z DEBUG modem << \x0A
    2019-08-30T07:14:53.923Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.936Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-08-30T07:14:53.940Z DEBUG modem << +CMEE: 1\x0D
    2019-08-30T07:14:53.941Z DEBUG modem << \x0A
    2019-08-30T07:14:53.942Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.944Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-08-30T07:14:53.953Z DEBUG modem << +CNEC: 24\x0D
    2019-08-30T07:14:53.955Z DEBUG modem << \x0A
    2019-08-30T07:14:53.956Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.958Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-08-30T07:14:53.969Z DEBUG modem << +CGEREP: 1,0\x0D
    2019-08-30T07:14:53.970Z DEBUG modem << \x0A
    2019-08-30T07:14:53.971Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:53.975Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-08-30T07:14:53.986Z DEBUG modem << OK\x0D
    2019-08-30T07:14:53.989Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-08-30T07:14:53.992Z DEBUG modem << OK\x0D
    2019-08-30T07:14:53.995Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-08-30T07:14:54.005Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",7\x0D
    2019-08-30T07:14:54.006Z DEBUG modem << \x0A
    2019-08-30T07:14:54.007Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:54.020Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-08-30T07:14:54.024Z DEBUG modem << OK\x0D
    2019-08-30T07:14:54.027Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:14:54.047Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-08-30T07:14:54.065Z DEBUG modem << \x0A
    2019-08-30T07:14:54.066Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:54.072Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-08-30T07:14:54.075Z DEBUG modem << OK\x0D
    2019-08-30T07:14:54.086Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-08-30T07:14:54.090Z DEBUG modem << %XSIM: 1\x0D
    2019-08-30T07:14:54.092Z DEBUG modem << \x0A
    2019-08-30T07:14:54.093Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:54.105Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-08-30T07:14:54.109Z DEBUG modem << +CPIN: READY\x0D
    2019-08-30T07:14:54.111Z DEBUG modem << \x0A
    2019-08-30T07:14:54.114Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:54.125Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-08-30T07:14:54.138Z DEBUG modem << +CPINR: "SIM PIN",3\x0D
    2019-08-30T07:14:54.140Z DEBUG modem << \x0A
    2019-08-30T07:14:54.141Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:54.152Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-08-30T07:14:54.157Z DEBUG modem << 901405101052347\x0D
    2019-08-30T07:14:54.158Z DEBUG modem << \x0A
    2019-08-30T07:14:54.159Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:14:54.161Z INFO IMSIdentity: 901405101052347
    2019-08-30T07:14:56.227Z DEBUG modem >> AT%XPCO=0\x0D\x0A
    2019-08-30T07:14:56.236Z DEBUG modem << ERROR\x0D
    2019-08-30T07:14:56.237Z ERROR Error: AT%XPCO=0
     failed
    2019-08-30T07:14:58.072Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:14:58.087Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-08-30T07:14:58.088Z DEBUG modem << \x0A
    2019-08-30T07:14:58.091Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.431Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T07:15:06.436Z DEBUG modem << +CFUN: 1\x0D
    2019-08-30T07:15:06.441Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.442Z DEBUG modem >> AT+CGSN=1\x0D\x0A
    2019-08-30T07:15:06.450Z DEBUG modem << +CGSN: "352656100443962"\x0D
    2019-08-30T07:15:06.452Z DEBUG modem << \x0A
    2019-08-30T07:15:06.454Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.456Z DEBUG modem >> AT+CGMI\x0D\x0A
    2019-08-30T07:15:06.468Z DEBUG modem << Nordic Semiconductor ASA\x0D
    2019-08-30T07:15:06.469Z DEBUG modem << \x0A
    2019-08-30T07:15:06.470Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.473Z DEBUG modem >> AT+CGMM\x0D\x0A
    2019-08-30T07:15:06.484Z DEBUG modem << nRF9160-SICA\x0D
    2019-08-30T07:15:06.486Z DEBUG modem << \x0A
    2019-08-30T07:15:06.487Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.489Z DEBUG modem >> AT+CGMR\x0D\x0A
    2019-08-30T07:15:06.501Z DEBUG modem << mfw_nrf9160_1.0.0\x0D
    2019-08-30T07:15:06.503Z DEBUG modem << \x0A
    2019-08-30T07:15:06.505Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.506Z INFO Nordic Semiconductor ASA nRF9160-SICA [mfw_nrf9160_1.0.0] SerNr: 352656100443962
    2019-08-30T07:15:06.507Z DEBUG modem >> AT+CEMODE?\x0D\x0A
    2019-08-30T07:15:06.521Z DEBUG modem << +CEMODE: 2\x0D
    2019-08-30T07:15:06.523Z DEBUG modem << \x0A
    2019-08-30T07:15:06.524Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.535Z DEBUG modem >> AT%XCBAND=?\x0D\x0A
    2019-08-30T07:15:06.550Z DEBUG modem << %XCBAND: (1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66)\x0D
    2019-08-30T07:15:06.552Z DEBUG modem << \x0A
    2019-08-30T07:15:06.552Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.556Z DEBUG modem >> AT+CMEE?\x0D\x0A
    2019-08-30T07:15:06.568Z DEBUG modem << +CMEE: 1\x0D
    2019-08-30T07:15:06.569Z DEBUG modem << \x0A
    2019-08-30T07:15:06.571Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.573Z DEBUG modem >> AT+CNEC?\x0D\x0A
    2019-08-30T07:15:06.578Z DEBUG modem << +CNEC: 24\x0D\x0A
    2019-08-30T07:15:06.587Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.589Z DEBUG modem >> AT+CGEREP?\x0D\x0A
    2019-08-30T07:15:06.601Z DEBUG modem << +CGEREP: 1,0\x0D
    2019-08-30T07:15:06.603Z DEBUG modem << \x0A
    2019-08-30T07:15:06.604Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.606Z DEBUG modem >> AT+CIND=1,1,1\x0D\x0A
    2019-08-30T07:15:06.618Z DEBUG modem << OK\x0D
    2019-08-30T07:15:06.622Z DEBUG modem >> AT+CEREG=2\x0D\x0A
    2019-08-30T07:15:06.626Z DEBUG modem << OK\x0D
    2019-08-30T07:15:06.635Z DEBUG modem >> AT+CEREG?\x0D\x0A
    2019-08-30T07:15:06.643Z DEBUG modem << +CEREG: 2,4,"FFFE","FFFFFFFF",7\x0D
    2019-08-30T07:15:06.653Z DEBUG modem << \x0A
    2019-08-30T07:15:06.654Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.657Z DEBUG modem >> AT%CESQ=1\x0D\x0A
    2019-08-30T07:15:06.679Z DEBUG modem << OK\x0D
    2019-08-30T07:15:06.682Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:15:06.691Z DEBUG modem << +CESQ: 99,99,255,255,255,255\x0D
    2019-08-30T07:15:06.692Z DEBUG modem << \x0A
    2019-08-30T07:15:06.693Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.704Z DEBUG modem >> AT%XSIM=1\x0D\x0A
    2019-08-30T07:15:06.707Z DEBUG modem << OK\x0D
    2019-08-30T07:15:06.718Z DEBUG modem >> AT%XSIM?\x0D\x0A
    2019-08-30T07:15:06.723Z DEBUG modem << %XSIM: 1\x0D
    2019-08-30T07:15:06.724Z DEBUG modem << \x0A
    2019-08-30T07:15:06.725Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.737Z DEBUG modem >> AT+CPIN?\x0D\x0A
    2019-08-30T07:15:06.742Z DEBUG modem << +CPIN: READY\x0D
    2019-08-30T07:15:06.744Z DEBUG modem << \x0A
    2019-08-30T07:15:06.745Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.758Z DEBUG modem >> AT+CPINR="SIM PIN"\x0D\x0A
    2019-08-30T07:15:06.772Z DEBUG modem << +CPINR: "SIM PIN",3\x0D
    2019-08-30T07:15:06.775Z DEBUG modem << \x0A
    2019-08-30T07:15:06.776Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.790Z DEBUG modem >> AT+CIMI\x0D\x0A
    2019-08-30T07:15:06.802Z DEBUG modem << 901405101052347\x0D
    2019-08-30T07:15:06.803Z DEBUG modem << \x0A
    2019-08-30T07:15:06.805Z DEBUG modem << OK\x0D\x0A\x00
    2019-08-30T07:15:06.805Z INFO IMSIdentity: 901405101052347
    2019-08-30T07:15:14.486Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T07:15:15.499Z ERROR Error: 'AT+CFUN?
    ' timed out
    2019-08-30T07:15:28.080Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:15:58.086Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:16:28.083Z DEBUG modem >> AT+CESQ\x0D\x0A
    2019-08-30T07:16:39.973Z INFO Modem port is closed
    

  • Sometimes you have to try many times before it is successful. I suggest using LTE Link Monitor, if you're not already. The Thingy:91 doesn't have soft reset so if it's not working, try turning it off and on and then CTRL + R in the LTE Link Monitor. And be absolutely sure it is running the at_client example.

    Also try AT+CGMR to see what version of the modem firmware it's running.

  • Now it stopped working almost completely. The LEDs are not blinking anymore and in the LTE Link monitor nothing happens. I still can flash it with the jlink device and it also gets recognized in the seriel monitor and also sometimes get some output in the serial monitor.

    Now I reflashed the modem and also your thingy91_at_client.hex file.

    Still the same result.

    I'm now a bit disappointed by the device....

  • I'm sorry to hear that. The LED is not supposed to flash with the at_client example.

    When you connect it to the COM port in the LTE Link Monitor do you get the log message "Modem port is opened"?

    There are two COM ports when the Thingy:91 is connected. Are you sure you are connected to the correct one? Have you tried both?

Reply Children
  • Ok, got it with the LED.

    I can not switch between the COM ports. I only can select the device. (See picture)

    To get serial output the COM17 is the correct one.

    Beside what is shown in the picture, nothing happens, no matter how often I repeat it...

  • Try unchecking this selection in the bottom right corner.

  • ok.

    All commands still time out.

    But doesn't it makes sense, because the modem is not turned on so I can not get a response on my requests? (top right corner - can't make it to turn on...)

    2019-08-30T12:56:12.455Z INFO Application data folder: C:\Users\TimSahr\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2019-08-30T12:56:12.521Z DEBUG App pc-nrfconnect-linkmonitor v1.1.0 official
    2019-08-30T12:56:12.521Z DEBUG App path: C:\Users\TimSahr\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2019-08-30T12:56:12.521Z DEBUG nRFConnect 3.1.0 is supported by the app (^3.0.0)
    2019-08-30T12:56:12.521Z DEBUG nRFConnect path: C:\Users\TimSahr\AppData\Local\Programs\nrfconnect\resources\app.asar
    2019-08-30T12:56:12.521Z DEBUG HomeDir: C:\Users\TimSahr
    2019-08-30T12:56:12.521Z DEBUG TmpDir: C:\Users\TimSahr\AppData\Local\Temp
    2019-08-30T12:56:20.280Z INFO Modem port is opened
    2019-08-30T12:56:20.286Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:56:31.327Z INFO Modem port is closed
    2019-08-30T12:56:31.334Z INFO Modem port is opened
    2019-08-30T12:56:31.338Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:56:43.078Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T12:56:44.091Z ERROR Error: 'AT%XSYSTEMMODE = 0,1,1,0
    ' timed out
    2019-08-30T12:56:46.397Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T12:56:47.402Z ERROR Error: 'AT%XSYSTEMMODE = 0,1,1,0
    ' timed out
    2019-08-30T12:56:52.040Z INFO Modem port is closed
    2019-08-30T12:56:52.044Z ERROR Open (SetCommState): Unknown error code 433
    2019-08-30T12:56:59.029Z INFO Modem port is opened
    2019-08-30T12:56:59.034Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:57:02.002Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T12:57:03.009Z ERROR Error: 'AT%XSYSTEMMODE = 0,1,1,0
    ' timed out
    2019-08-30T12:57:11.293Z INFO Modem port is closed
    2019-08-30T12:57:11.300Z INFO Modem port is opened
    2019-08-30T12:57:11.304Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:57:14.964Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T12:57:15.965Z ERROR Error: 'AT%XSYSTEMMODE = 0,1,1,0
    ' timed out
    2019-08-30T12:57:17.549Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T12:57:18.554Z ERROR Error: 'AT%XSYSTEMMODE = 0,1,1,0
    ' timed out
    2019-08-30T12:57:20.288Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T12:57:21.299Z ERROR Error: 'AT%XSYSTEMMODE = 0,1,1,0
    ' timed out
    2019-08-30T12:57:22.093Z DEBUG modem >> AT%XSYSTEMMODE = 0,1,1,0\x0D\x0A
    2019-08-30T12:57:23.094Z ERROR Error: 'AT%XSYSTEMMODE = 0,1,1,0
    ' timed out
    2019-08-30T12:57:34.269Z DEBUG modem >> AT%XPCO=0\x0D\x0A
    2019-08-30T12:57:35.281Z ERROR Error: 'AT%XPCO=0
    ' timed out
    2019-08-30T12:57:39.776Z INFO Modem port is closed
    2019-08-30T12:57:39.782Z INFO Modem port is opened
    2019-08-30T12:57:39.785Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:57:42.543Z DEBUG modem >> AT%XPCO=0\x0D\x0A
    2019-08-30T12:57:43.545Z ERROR Error: 'AT%XPCO=0
    ' timed out
    2019-08-30T12:57:44.279Z DEBUG modem >> AT%XPCO=0\x0D\x0A
    2019-08-30T12:57:45.295Z ERROR Error: 'AT%XPCO=0
    ' timed out
    2019-08-30T12:58:00.818Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:01.819Z ERROR Error: 'AT+CFUN?
    ' timed out
    2019-08-30T12:58:03.346Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:04.352Z ERROR Error: 'AT+CFUN?
    ' timed out
    2019-08-30T12:58:05.834Z INFO Modem port is closed
    2019-08-30T12:58:05.841Z INFO Modem port is opened
    2019-08-30T12:58:05.844Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:07.387Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:08.397Z ERROR Error: 'AT+CFUN?
    ' timed out
    2019-08-30T12:58:11.682Z INFO Modem port is closed
    2019-08-30T12:58:11.689Z INFO Modem port is opened
    2019-08-30T12:58:11.692Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:13.803Z INFO Modem port is closed
    2019-08-30T12:58:13.808Z INFO Modem port is opened
    2019-08-30T12:58:13.811Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:15.547Z INFO Modem port is closed
    2019-08-30T12:58:15.553Z INFO Modem port is opened
    2019-08-30T12:58:15.557Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:20.217Z INFO Modem port is closed
    2019-08-30T12:58:22.846Z INFO Modem port is opened
    2019-08-30T12:58:22.849Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:31.073Z INFO Modem port is closed
    2019-08-30T12:58:31.075Z ERROR Opening COM4: Access denied
    2019-08-30T12:58:34.740Z ERROR Opening COM3: Access denied
    2019-08-30T12:58:36.457Z INFO Modem port is opened
    2019-08-30T12:58:36.460Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2019-08-30T12:58:40.620Z DEBUG modem >> AT\x0D\x0A
    2019-08-30T12:58:41.623Z ERROR Error: 'AT
    ' timed out
    

  • I got the 'timed out' error a few times too and restarting my computer fixed the issue. 

    In addition, the modem has to be off to set the system mode, so run AT+CFUN=4 first. Sorry, I should have clarified that earlier.

  • Still the same after rebooting my pc.

    IS there a way to reset the modem completely?

Related