AT shell

You can use this library to add an AT shell command to a shell. This enables you to send AT commands to the modem and receive responses.

Configuration

The library expects that you have enabled a shell using CONFIG_SHELL. To enable and configure the AT shell, use the following Kconfig options:

To send AT read commands (ending with ?), disable the shell wildcards using the following Kconfig option:

Usage

The library has no globally available API, and thus no header file. When the library is enabled, the shell will have a command at. To send AT commands, use the following syntax:

at AT+CEREG?

You can also enable AT command notifications and disable them.

  • Enable AT command notifications:

    at events_enable
    
  • Disable AT command notifications:

    at events_disable
    

Dependencies

This library uses the following nRF Connect SDK library:

This library uses the following sdk-nrfxlib library: