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

nRF9160, the response to any "CFUN" command is always ERROR.

We use nRF9160 on our own board.
The firmware "Serial lte modem" is installed on the chip with connection to an external MCU.

#\nUse\nUART_0\n(when\nworking\nwith\nPC\nterminal)
#CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
#\nUse\nUART_2\n(when\nworking\nwith\nexternal\nMCU)
CONFIG_SLM_CONNECT_UART_2=y
CONFIG_UART_2_NRF_HW_ASYNC_TIMER=2

A port is connected to the board to communicate with the nRF9160 via the terminal. The nRF9160 responds to "AT" or "AT%XSYSTEMMODE=1,0,0,0" commands (response is always "OK"), but any attempts to execute commands like:
- AT+CFUN=0;
- AT+CFUN=1;
- AT+CFUN?;
- AT+CFUN=?
Always returns an "ERROR" response (with a delay of a few seconds). What could be the reason?

Parents
  • Hi Stas,

    Can you confirm the command sent has the correct formate? I assume you do not have ""and ";"in your commands.

    The default termination character is CR LF following configuration: CONFIG_SLM_CR_LF_TERMINATION=y

    Best regards

    Charlie

Reply
  • Hi Stas,

    Can you confirm the command sent has the correct formate? I assume you do not have ""and ";"in your commands.

    The default termination character is CR LF following configuration: CONFIG_SLM_CR_LF_TERMINATION=y

    Best regards

    Charlie

Children
Related