A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.espressif.com/projects/esp-at/en/latest/esp32/AT_Command_Set/index.html below:

Website Navigation


AT Command Set - ESP32

AT Command Set

[中文]

Here is a list of AT commands.

It is strongly recommended to read the following sections for some common information on AT commands before you dive into the details of each command.

AT Command Types

Generic AT command has four types:

Type

Command Format

Description

Test Command

AT+<CommandName>=?

Query the Set Commands’ internal parameters and their range of values.

Query Command

AT+<CommandName>?

Return the current value of parameters.

Set Command

AT+<CommandName>=<…>

Set the value of user-defined parameters in commands, and run these commands.

Execute Command

AT+<CommandName>

Run commands with no user-defined parameters.

AT Commands with Configuration Saved in the Flash

Configuration settings entered by the following AT Commands will always be saved in the flash NVS Area, so they can be automatically restored on reset:

Saving of configuration settings by several other commands can be switched on or off with AT+SYSSTORE command, which is mentioned in the Note section of these commands.

Note

The parameters of AT commands are saved based on NVS library. Therefore, if the command is configured with the same parameter value, flash will not be written; If the command is configured with the different parameter value, flash will not be erased frequently.

AT Messages

There are two types of ESP-AT messages returned from the ESP-AT command port:

AT Logs

Through the Log Output pin described in Hardware Connection, ESP-AT outputs rich log information to help you understand its runtime status. You can also enable different log configurations to view more detailed log information. The following table lists some common log messages and their explanations:

ESP-AT Logs

AT Log

Description

at-common: write dlen:0

The RX of the AT command port received unexpected data, usually containing multiple \0 characters. If you are communicating with the MCU via UART, please check the following:

at-init: at param mode: <mode>

Parameter mode during AT initialization

at-init: v4.1.0.0 (<src>)

AT firmware version number and the source of the corresponding firmware build

at-wifi: negotiated phy mode: <phy_mode>

PHY mode negotiated when Wi-Fi Station connects to AP

at-wifi: wifi disconnected, rc:<reason_code>

Wi-Fi station disconnection reason code

at-wifi: wifi reconnect..(<index>/<total_count>)

Wi-Fi station is reconnecting to AP

at-net: unknown host: <hostname>

Unable to resolve hostname <hostname>, please check DNS settings and network connection

at-net: send failed, s:<send_len> r:<ret_len>

Failed to send data: expected to send <send_len> bytes, but only <ret_len> bytes were sent. Please check network connection.

at-net: link is changed

When AT is acting as a server, the client connection was interrupted during data transmission, and a new client has connected to the server.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4