Command mode
Command mode is a state in which the firmware interprets incoming characters as commands. It allows you to modify the device’s firmware using parameters you can set using AT commands. When you want to read or set any parameter of the device when operating in Transparent mode, you have to send an AT command. Every AT command starts with the letters AT followed by the two characters that identify the command the device issues and then by some optional configuration values.
Command mode is available on the UART interface in both Transparent and API modes.
The availability of AT commands in API mode does not imply that Command mode is available in API mode. Also, Command mode may be entered whether or not API mode is configured, provided the UART is the serial interface.
You cannot use the SPI interface to enter Command mode unless using SPI for the serial interface.