This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Most AT commands return ERROR

Hi, I have a custom board built around a nRF9160.  All GPIO (P0.xx) work.  However, when I test with the at_client only AT+CGSN=1, AT+CGMI, AT+CGMM and AT+CGMR return with the expected string.  All other commands return "ERROR".  Any suggestions are very much appreciated.

  • Just found the +CLAC command.  When I try AT+CLAC, these are the results.

    AT+CLAC
    AT+CGMI
    AT+CGMM
    AT+CGMR
    AT+CGSN
    AT%XMAGPIO
    AT%XANTDETMAGPIO
    AT%XMIPIRFFEDEV
    AT%XMIPIRFFECTRL
    AT%XCOEX0
    AT%XANTCFG
    AT%XEMPR
    AT%XRFTEST
    AT%XMODEMTRACE
    AT%XVBAT
    AT%XSYSTEMMODE
    AT%SHORTSWVER
    AT%HWVERSION
    AT%XMODEMUUID
    AT%XFILEWRITE
    AT%XGPIOTEST
    AT%XFSSYNC
    OK

    Is this correct?

  • Hello Floyd,

    are you able to successfully run through the Testing procedure of the AT Client sample? Could you provide me with a full application log of the result?

    Regards,

    Markus

  • Hi Markus,

    Is the LTE Link Monitor only worked with the nRF9160DK?  Can I use it with my custom board?  I only see COM6,7,8 for nRF9160DK under the modem port selection.

    By the way, I try the AT+CLAC command on the nRF9160DK and I see the full list of commands available.

    AT+CFUN
    AT+COPS
    AT%COPS
    AT+CGDCONT
    AT+CGACT
    AT+CEMODE
    AT+CGATT
    AT+CGEQOSRDP
    AT+CPINR
    AT+CPIN
    AT+CPSMS
    AT+CEDRXS
    AT%XPTW
    AT+CEDRXRDP
    AT+CEREG
    AT%XNEWCID
    AT%XGETPDNID
    AT+CLAC
    AT+CMEE
    AT+CGMI
    AT+CGMM
    AT+CGMR
    AT+CGSN
    AT+CIMI
    AT+CSCON
    AT+CMGS
    AT+CNMA
    AT+CNMI
    AT+CMGF
    AT+CPMS
    AT+CGSMS
    AT%XSMMA
    AT%CMNG
    AT+CNEC
    AT+CGEREP
    AT%CESQ
    AT%XPCO
    AT+CESQ
    AT%XSIM
    AT%XBANDLOCK
    AT+CGPIAF
    AT+CPAS
    AT+COPN
    AT+CSQ
    AT+CEER
    AT+CNUM
    AT+CRSM
    AT+CIND
    AT+CLCK
    AT+CPWD
    AT%XCBAND
    AT+CGPADDR
    AT+CGCONTRDP
    AT%NBRGRSRP
    AT+CSIM
    AT%XOPNAME
    AT%XTIME
    AT%XRAI
    AT%XCONNSTAT
    AT+CEPPI
    AT%XDATAPRFL
    AT%XMAGPIO
    AT%XANTDETMAGPIO
    AT%XMIPIRFFEDEV
    AT%XMIPIRFFECTRL
    AT%XCOEX0
    AT%XANTCFG
    AT%XEMPR
    AT%XSUDO
    AT%XPMNG
    AT%XRFTEST
    AT%XAPNCLASS
    AT%XTEMPHIGHLVL
    AT%XTEMP
    AT%XPRODDONE
    AT%XMODEMTRACE
    AT%XEPCO
    AT%XVBATLOWLVL
    AT%XVBATLVL
    AT%XVBAT
    AT+CCLK
    AT%CCLK
    AT%XIPV6FAIL
    AT%XUSIMLCK
    AT%XOPERID
    AT%XSMSFALLBACK
    AT%XSYSTEMMODE
    AT%XSNRSQ
    AT+CGAUTH
    AT%XMONITOR
    AT%SHORTSWVER
    AT%HWVERSION
    AT%XMODEMUUID
    AT%XICCID
    AT+ODISNTF
    AT+ODIS
    AT%ODIS
    AT%XNETTIME
    AT%XDEEPSEARCH
    AT%XFILEWRITE
    AT+CEINFO
    AT%XPDNCFG
    AT+CSODCP
    AT%XDATASTOP
    AT%XAPNSTATUS
    AT%XPOFWARN
    OK

    But with my custom board, I only see 22 commands available.  Weird!!

  • Hello Floyd,

    flau said:
    Is the LTE Link Monitor only worked with the nRF9160DK?  Can I use it with my custom board?  I only see COM6,7,8 for nRF9160DK under the modem port selection.

    Yes, you can use the LTE Link Monitor with your custom board :-) If you see 3 JLink UART ports it normally is a good sign.

    Which modem firmware is flashed to the nRF9160 of your custom board? Are you able to run through the Testing procedure I mentioned?

    Regards,

    Markus

  • Hi Markus,

    Thank you for getting back to me quickly.  I wasn't able to run LTE Link Monitor on my custom board.  My board is on COM4.  But LTE Link Monitor only gives me the choice of the DK COM6, 7, and 8.

    Here are the information I can gather on my board with the limited AT commands.

    *** Booting Zephyr OS build v2.6.99-ncs1-1 ***
    The AT host sample started
    OK
    AT+CLAC
    AT+CGMI
    AT+CGMM
    AT+CGMR
    AT+CGSN
    AT%XMAGPIO
    AT%XANTDETMAGPIO
    AT%XMIPIRFFEDEV
    AT%XMIPIRFFECTRL
    AT%XCOEX0
    AT%XANTCFG
    AT%XEMPR
    AT%XRFTEST
    AT%XMODEMTRACE
    AT%XVBAT
    AT%XSYSTEMMODE
    AT%SHORTSWVER
    AT%HWVERSION
    AT%XMODEMUUID
    AT%XFILEWRITE
    AT%XGPIOTEST
    AT%XFSSYNC
    OK
    Nordic Semiconductor ASA
    OK
    nRF9160-SICA
    OK
    mfw-pti_nrf9160_1.1.2
    OK
    351358812363189
    OK
    %HWVERSION: nRF9160 SICA B1A
    OK
    %SHORTSWVER: mfw-pti_nrf9160_1.1.2
    OK

    Thanks again.

Related