Releases: espressif/esp-at
v2.3.0.0_esp32c3
ESP32-C3 AT Release v2.3.0.0
Documentation for Release v2.3.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.3.0.0_esp32c3/
ESP32-C3 AT v2.3.0.0 is a major update for ESP32-C3 AT v2.2.0.0.
Changelog
This is the list of changes since release v2.2.0.0:
Breaking Changes
esp-idf
version updated to release v4.3 (98d34e5).
Known Issue
AT+WPS=1
cannot join the AP if you press the WPS button first and then set theAT+WPS=1
command.
1. Feature
1.1 Wi-Fi
- Added
AT+CWSTATE
command to query Wi-Fi state AT+CWSTARTSMART
: Added ESP-Touch v2 support
1.2 TCP/IP
- Enlarged
AT+CIPSEND
command send size to 8 KiB - Added
AT+CIPSTATE
command to query connection state - Added
AT+CIPSENDL
andAT+CIPSENDLCFG
command to support long data send - Added passthrough mode support when AT as server but only have one connection
1.3 Application Layer
- Added
AT+MQTTALPN
command to support MQTT ALPN - Added
AT+HTTPURLCFG
command to configure long URL - Added
AT+HTTPCGET
command to support HTTP GET request AT+HTTPCLIENT
:<content-type>
parameter can be omitted- Added
AT+CIPSNTPINTV
command to configure SNTP sync interval - Added
AT+USEROTA
command to support the upgrade of custom URL - Added fallback DNS server, AT has two DNS servers ("208.67.222.222" and "8.8.8.8") by default
1.4 System
- Added
AT+SLEEP
query command - Configured external 32 KHz crystal to support light sleep
- Modified ESP32-C3 partition for silence mode to accommodate larger firmware
1.6 Bluetooth
Added the following Bluetooth® Low Energy AT Commands. If you upgraded to v2.3.0.0 from v2.2.0.0, please update ble_data
partition according the guide before you use Bluetooth LE.
AT+RFPOWER
command added BLE power set.AT+BLEINIT
: Bluetooth LE initialization.AT+BLEADDR
: Query/Set Bluetooth LE device address.AT+BLENAME
: Query/Set Bluetooth LE device name.AT+BLESCANPARAM
: Query/Set parameters of Bluetooth LE scanning.AT+BLESCAN
: Enable Bluetooth LE scanning.AT+BLESCANRSPDATA
: Set Bluetooth LE scan response.AT+BLEADVPARAM
: Query/Set parameters of Bluetooth LE advertising.AT+BLEADVDATA
: Set Bluetooth LE advertising data.AT+BLEADVDATAEX
: Automatically set Bluetooth LE advertising data.AT+BLEADVSTART
: Start Bluetooth LE advertising.AT+BLEADVSTOP
: Stop Bluetooth LE advertising.AT+BLECONN
: Establish Bluetooth LE connection.AT+BLECONNPARAM
: Query/Update parameters of Bluetooth LE connection.AT+BLEDISCONN
: End Bluetooth LE connection.AT+BLEDATALEN
: Set Bluetooth LE data packet length.AT+BLECFGMTU
: Set Bluetooth LE MTU length.AT+BLEGATTSSRVCRE
: Generic Attributes Server (GATTS) creates services.AT+BLEGATTSSRVSTART
: GATTS starts services.AT+BLEGATTSSRVSTOP
: GATTS Stops Services.AT+BLEGATTSSRV
: GATTS discovers services.AT+BLEGATTSCHAR
: GATTS discovers characteristics.AT+BLEGATTSNTFY
: Notify a client of the value of a characteristic value from the server.AT+BLEGATTSIND
: Indicate the characteristic value from the server to a client.AT+BLEGATTSSETATTR
: GATTS sets characteristics.AT+BLEGATTCPRIMSRV
: Generic Attributes Client (GATTC) discovers primary services.AT+BLEGATTCINCLSRV
: GATTC discovers included services.AT+BLEGATTCCHAR
: GATTC discovers characteristics.AT+BLEGATTCRD
: GATTC reads characteristics.AT+BLEGATTCWR
: GATTC writes characteristics.AT+BLESPPCFG
: Query/Set Bluetooth LE SPP parameters.AT+BLESPP
: Enter Bluetooth LE SPP mode.AT+BLESECPARAM
: Query/Set Bluetooth LE encryption parameters.AT+BLEENC
: Initiate Bluetooth LE encryption request.AT+BLEENCRSP
: Respond to the pairing request from the peer device.AT+BLEKEYREPLY
: Reply the key value to the peer device.AT+BLECONFREPLY
: Reply the confirm value to the peer device in the legacy connection stage.AT+BLEENCDEV
: Query bonded Bluetooth LE encryption device list.AT+BLEENCCLEAR
: Clear Bluetooth LE encryption device list.AT+BLESETKEY
: Set Bluetooth LE static pair key.AT+BLEHIDINIT
: Bluetooth LE Human Interface Device (HID) profile initialization.AT+BLEHIDKB
: Send Bluetooth LE HID keyboard information.AT+BLEHIDMUS
: Send Bluetooth LE HID mouse information.AT+BLEHIDCONSUMER
: Send Bluetooth LE HID consumer information.AT+BLUFI
: Start or Stop BluFi.AT+BLUFINAME
: Query/Set BluFi device name.
2. Bugfix
2.1 Wi-Fi
- Fixed that AT+CWLAP returned ERROR sometimes.
- Fixed that AT+CWJAP returned wrong error sometimes.
- Fixed an issue of auto connecting to WPA2 Enterprise AP. Users should always use
AT+CWJEAP
to connect to a WPA2 Enterprise AP. - Fixed a potential crash when the length of SSID is 32 bytes or password is 64 bytes.
2.2 TCP/IP
- Fixed that
AT+CIPSERVER=0,1
should only close clients connected to ESP TCP server. - Fixed that active write TCP data in passive mode.
- Fixed occasional crash in passthrough mode due to socket close.
- Fixed that
OK
and>
responses are interrupted by other data. - Fixed that setup
AT+CIPSERVER=5
returned "Have 255 Connections". - Fixed that
AT+CIPTCPOPT
send timeout parameter cannot work sometimes. AT+CIUPDATE
: Fixed the failure to do non-blocking OTA due to omitted parameters.
2.3 Application Layer
AT+HTTPCPOST
: Fixed that the new content-type did not take effect due to the default content-type was set incorrectly.- Removed extra space in
AT+HTTPCLIENT
HEAD response. - Fixed that
AT+CIPDNS
query command returned wrong config. - Fixed the crash caused by setting wrong URLs in
AT+HTTPCLIENT
.
2.4 System
- Fixed a potential "busy p" issue.
- Fixed the issue of high power consumption after power on when set
AT+CWMODE=0
.
2.5 Tools
- Fixed the GitHub Actions compilation failure due to required python packages.
3. Optimization
- Added parameters check for
AT+WPS
command. - Added parameters check for
AT+CIPSERVER
command. - Added parameters check for
AT+CIPTCPOPT
command. - Reduced potential NVS write at startup when NVS read the dirty data.
- Use
esp-netif
andesp-event
to layer instead oftcpip adapter
.
v2.2.1.0_esp8266
ESP8266 AT Release v2.2.1.0
Documentation for v2.2.1.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.2.0.0_esp8266/
You can download the firmwares to use them, which support OTA from espressif‘s server.
ESP-AT v2.2.1.0 is a minor update for ESP-AT v2.2.0.0.
Changelog
This is the list of changes since release v2.2.0.0:
Known Issue
- AT+CWQIF: AT+CWQIF could not output "+STA_DISCONNECTED" prompt
1. Feature
ESP8266_RTOS_SDK
version updated to release v3.4 (d92d00e)- Set flash mode to DOUT for ESP8266/ESP8285 1MB configuration based on compatibility
2. Bugfix
- Fixed ./build.py menuconfig returned error
- Fixed the issue that AT+HTTPCPOST set content-type request header did not take effect
v2.2.0.0_esp32
v2.2.0.0 [ESP32 AT]
ESP32-AT Release v2.2.0.0
Documentation for v2.2.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.2.0.0_esp32/
You can download the firmwares to use them, which support OTA from espressif‘s server.
ESP32-WROOM_AT_V2.2.0.0.zip
ESP32-WROVER_AT_V2.2.0.0.zip
ESP32-SOLO_AT_V2.2.0.0.zip
ESP32-PICO-D4_AT_V2.2.0.0.zip
ESP32-MINI-1_AT_Bin_V2.2.0.0.zip
ESP32-AT v2.2.0.0 is a major update for ESP32-AT v2.1.0.0.
Changelog
This is the list of changes since release v2.1.0.0:
Breaking Changes
esp-idf
version updated to release v4.2 (efa6eca)- Compiler upgraded from v5.2.0 to v8.4.0
- AT+CIPDOMAIN: Double quotation marks are added to the string parameters in the response
- AT+BLESCAN: Double quotation marks are added to the mac address parameter in the response
- AT commands supports IPv6 network now
Known Issue
- Before start the softAP, AT+DHCP=0,2 command cannot disable DHCP (please disable DHCP after the softAP started)
- It may fail to create BT connection again after BT disconnect
1. Feature
1.1 Wi-Fi
- AT+CWRECONNCFG: Support to configure Wi-Fi reconnect interval and maximum retry times
- AT+CWLAPOPT: Support to filter the scanned result by rssi and authmode
- AT+CWJAP: Limit the range of listen interval to [1, 100]
- AT+WPS: Support authmode floor configuration
- AT+CWSMARTSTART: Support authmode floor configuration
- AT+CWLAP: Support the information of 802.11 b/g/n in the response
- AT+CWJAP: Support to configure timeout and pmf, and connect the last recorded AP
- AT+CWSTATE: New Command to query Wi-Fi state
1.2 TCP/IP
- AT+SYSMSG: Extended BIT2 parameter for passthrough mode
- AT+CIUPDATE: Support to upgrade custom partitions and asynchronous OTA
- AT+PING: Added an error message
TIMEOUT
for incorrect DNS - Modified tcp mss and wnd to improve compatibility
- Modified tcp wnd, from 5744 to 5760
- Modified tcp snd buf, from 5744 to 5760
- Disabled setting AT+CIPSSLCCN, AT+CIPSSLCSNI, AT+CIPSSLCALPN, AT+CIPSSLCPSK if the link is already connected
- AT+CIPSERVER: Added close_all_clients parameter to close all connections with the server created by AT+CIPSERVER
- The following AT commands supports IPv6 since v2.2.0.0
- AT+CIPV6
- AT+CIPSTATUS
- AT+CIPDOMAIN
- AT+CIPSTART
- AT+CIPSTARTEX
- AT+CIPSERVER
- AT+SAVETRANSLINK
- AT+PING
- AT+CIPDNS
- AT+CIPSTA
- AT+CIPAP
- AT+CIFSR
1.3 Application Layer
- AT+CIPSNTPCFG: Support to configure half timezone offset
- AT+MQTTCONNCFG, AT+MQTTPUB, AT+MQTTPUBRAW, AT+MQTTPUB, AT+MQTTUNSUB command supports 128 bytes topic
- AT+WEBSERVER: New command to support Wi-Fi provisioning via SoftAP and Captive Portal
- AT+HTTPCLIENT: Support chunked data
- AT+HTTPCLIENT: content-type parameter can be omitted now
- AT+HTTPCPOST: New command to support long data post
- Added qcloud support
1.4 System
- AT+CMD: New command to query the supported AT commands list
- AT+USERRAM: New command to alloc ram for host mcu to use it
- AT+SYSREG: New command to read and write registers
- AT+SYSRAM: Support to query the minimum heap size
- AT+GMR: Added chip platform information in the response
- Added ESP32-D2WD, ESP32-MINI-1 module support
1.5 Driver
Added the following new commands:
- AT+DRVADC: Read ADC channel value
- AT+DRVPWMINIT: Initialize PWM driver
- AT+DRVPWMDUTY: Set PWM duty
- AT+DRVPWMFADE: Set PWM fade
- AT+DRVI2CINIT: Initialize I2C master driver
- AT+DRVI2CRD: Read I2C data
- AT+DRVI2CWRDATA: Write I2C data
- AT+DRVI2CWRBYTES: Write no more than 4 bytes I2C data
- AT+DRVSPICONFGPIO: Configure SPI GPIO
- AT+DRVSPIINIT: Initialize SPI master driver
- AT+DRVSPIRD: Read SPI data
- AT+DRVSPIWR: Write SPI data
1.6 Bluetooth
- AT+BTPOWER: Support to set BT tx power
- AT+BLUFI: Support authmode floor configuration
- AT+SYSMSG: Extended BIT2 parameter to support BLE and BT SPP messages
- GATT Server supports service discovery
- GATT client supports to create a local service
- BLE supports to send long length packets of notify and indicate
2. Bugfix
2.1 Wi-Fi
- Fixed AT+CWLAP issues
- Fixed AT+CWLAP returned ERROR when total active scan time was more than 15 seconds
- Fixed AT+CWLAP did not return ap in the response sometimes
- Fixed AT+CWLAP blocked more the 10 seconds sometimes
- Fixed AT+CWLAP rssi filter parameter could not work sometimes
- Fixed AT+CWLAP could not scan valid ap by ssid and bssid
- Fixed the issue that
AT+CWMODE=1,1
could not auto-connect to AP when Wi-Fi mode switched from WIFI_MODE_NULL - Fixed the issue that AT+CWJAP may return the wrong error number
- Fixed AT+WPS failed on multiple ap credentials case
- Fixed AT+CIPSTA/AT+CIPAP could set the wrong IP address due to the lack of rigorous address check
2.2 TCP/IP
- Fixed wrong state of AT+CIPSTATUS command
- Fixed data error in passthrough mode with 2Mbps baud rate
- Fixed AT+CIPRECONNINTV did not work immediately
- Fixed that the received data was incomplete if the data was too large in softAP mode
- Fixed AT+CIPSENDEX data was truncated in advance
- Fixed AT+CIPSEND returned ERROR sometimes
- Fixed crash when link id < 0
- Fixed AT+CIPMUX=0 set error when all connections closed
- Fixed SSL link may not disconnect when IP address changed
- Fixed potential blocking when hardware flow control enabled
- Fixed an issue of mistakenly printing "CLOSED" or "+LINK_CONN"
- Fixed tcp server could not work again if the link closed and opened repeatedly
- Fixed AT+SAVETRANSLINK could not work sometimes
- Fixed AT+CIPSERVER could set mode to 2
- Fixed AT+CIPSTART SSL connect failed if disabled ALPN by AT+CIPSSLCALPN=1,0
- Fixed tcp send data lost in passthrough mode
- Fixed AT+CIUPDATE failed over SSL if the version parameter was specified
2.3 Application Layer
- Fixed AT+MQTTCONN returned ERROR when checking common name
- Fixed AT+MQTTUSERCFG? crash after MQTT connected
- Fixed AT+CIPSSLCALPN query command caused to reboot due to memory coverage
- Fixed AT+MQTTCONN may cause wdt reset when input some special hostname
- Fixed the issue that AT+HTTPCLIENT url failed to be omitted
2.4 System
- Fixed compile error if disable BT and BLE
- Fixed compile error when only use BluFi
- Fixed AT+GSLP did not return OK sometimes
- Fixed AT+GSLP may return ERROR when setting a long deep sleep time
- Fixed AT+GSLP crash on PICO-D4 module
- Fixed wrong uart pins disabled before deep-sleep
- Fixed AT+SLEEPWKCFG did not check GPIO configuration issue
- Fixed the crash when sending command with one redundant character "" before "\r\n"
- Fixed AT+SLEEP=2 returned OK in softap mode
- Fixed AT+SLEEP=0 cause to crash
- Fixed silence firmware crash sometimes
- Fixed build fail when disable customized partition
- Fixed sdio read data error when length bigger than sdio list
- Fixed light sleep could not be woken up by GPIO due to DFS
2.5 Bluetooth
- Fixed the failure to re-enter GATT server SPP mode
- Fixed the failure to write characteristic value
- Fixed that BLE connection timeout resulted in no new connection being created
- Fixed that BT default device name was empty
- Fixed that BT failed to output scan results sometimes
- Fixed the failure to exit the BT SPP mode even after disconnection
- Fixed that some MAC address information was missing quotes
- Fixed that BT device name overlength issue
- Fixed that BT & BLE deinit failed
- Fixed that classic BT could not discover some device names
- Fixed the failure to init BLE parameters: BLE device name, BLE advertising parameters, BLE scan parameters and response, and BLE connection parameters
- Fixed the incorrect message of AT+BTSTARTDISC
- Fixed the crash caused by deiniting A2DP profile
- Fixed the failure to detect incorrect BLE address type
- Added the message for A2DP connection failure
- Fixed the blufi name overlength issue
- Fixed the crash caused by multi-connection
- Fixed the crash caused by BLE connection failure
- Fixed the crash caused by disabling modem sleep
- Fixed the crash caused by deiniting BLE stack
3. Optimization
- Added build.py script to simplify the compilation process and supported windows OS compilation
- Refactored application directory
- Removed deprecated GNU make
- Removed cmake warnings
- Supported spi & sdio example cmake
- Removed at_http_webserver example
v2.2.0.0_esp8266
ESP8266-AT Release v2.2.0.0
Documentation for v2.2.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.2.0.0_esp8266/
You can download the firmwares to use them, which support OTA from espressif‘s server.
ESP8266-AT v2.2.0.0 is a major update for ESP8266-AT v2.1.0.0.
Changelog
This is the list of changes since release v2.1.0.0:
Breaking Changes
ESP8266_RTOS_SDK
version updated to release v3.4 (967752e)- Compiler upgraded from v5.2.0 to v8.4.0
- AT+CIPDOMAIN: Double quotation marks are added to the string parameters in the response
- Added WROOM-02-N, WROOM-S2, WROOM_5V2L, ESP8266_1MB module support
- AT commands supports IPv6 network now
- ESP8266 SPI AT does not support any more (ESP32-C3 recommended)
- AT+CWJAP command cannot connect to the open AP any more when given non-null password parameter
Known Issue
- AT+CWJAP:
listen_interval
parameter is wrong in the query command response
1. Feature
1.1 Wi-Fi
- AT+CWRECONNCFG: Support to configure Wi-Fi reconnect interval and maximum retry times
- AT+CWLAPOPT: Support to filter the scanned result by rssi and authmode
- AT+CWJAP: Limit the range of listen interval to [1, 100]
- AT+WPS: Support authmode floor configuration
- AT+CWSMARTSTART: Support authmode floor configuration
- AT+CWLAP: Support the information of 802.11 b/g/n in the response
- AT+CWJAP: Support to configure timeout and pmf, and connect the last recorded AP
- AT+CWSTATE: New Command to query Wi-Fi state
1.2 TCP/IP
-
AT+SYSMSG: Extended BIT2 parameter for passthrough mode
-
AT+CIUPDATE: Support to upgrade custom partitions and asynchronous OTA
-
AT+PING: Added an error message
TIMEOUT
for incorrect DNS -
Modified tcp mss and wnd to improve compatibility
- Modified tcp mss, from 1460 to 1440
- Modified tcp wnd, from 5840 to 5760
- Modified tcp snd buf, from 2920 to 2880
-
Replaced wolfSSL with mbedTLS in SSL connection
-
Disabled setting AT+CIPSSLCCN, AT+CIPSSLCSNI, AT+CIPSSLCALPN, AT+CIPSSLCPSK if the link is already connected
-
AT+CIPSERVER: Added close_all_clients parameter to close all connectiones which connected the server created by AT+CIPSERVER
-
The following AT commands supports IPv6 since v2.2.0.0
- AT+CIPV6
- AT+CIPSTATUS
- AT+CIPDOMAIN
- AT+CIPSTART
- AT+CIPSTARTEX
- AT+CIPSERVER
- AT+SAVETRANSLINK
- AT+PING
- AT+CIPDNS
- AT+CIPSTA
- AT+CIPAP
- AT+CIFSR
1.3 Application Layer
- AT+CIPSNTPCFG: Support to configure half timezone offset
- AT+MQTTCONNCFG, AT+MQTTPUB, AT+MQTTPUBRAW, AT+MQTTPUB, AT+MQTTUNSUB command supports 128 bytes topic
- AT+WEBSERVER: New command to support Wi-Fi provisioning via SoftAP and Captive Portal
- AT+HTTPCLIENT: Support chunked data
- AT+HTTPCPOST: New command to support long data post
1.4 System
- AT+CMD: New command to query the supported AT commands list
- AT+USERRAM: New command to alloc ram for host mcu to use it
- AT+SYSREG: New command to read and write registers
- AT+SYSRAM: Support to query the minimum heap size
- AT+GMR: Added chip platform information in the response
2. Bugfix
2.1 Wi-Fi
- Fixed AT+CWLAP issues
- Fixed AT+CWLAP returned ERROR when total active scan time is more than 15 seconds
- Fixed AT+CWLAP did not return ap in the response sometimes
- Fixed AT+CWLAP blocked more the 10 seconds sometimes
- Fixed AT+CWLAP rssi filter parameter could not work sometimes
- Fixed AT+CWLAP could not scan valid ap by ssid and bssid
- Fixed the issue that
AT+CWMODE=1,1
could not auto-connect to AP when Wi-Fi mode switched from WIFI_MODE_NULL - Fixed the issue that AT+CWJAP may return wrong error number
- Fixed AT+WPS failed on multiple ap credentials case
- Fixed AT+CIPSTA/AT+CIPAP could set wrong IP address due to the lack of rigorous address check
2.2 TCP/IP
- Fixed wrong state of AT+CIPSTATUS command
- Fixed data error in passthrough mode with 2Mbps baud rate
- Fixed AT+CIPRECONNINTV did not work immediately
- Fixed that the received data was incomplete if the data was too large in softAP mode
- Fixed AT+CIPSENDEX data was truncated in advance
- Fixed AT+CIPSEND returned ERROR sometimes
- Fixed crash when link id < 0
- Fixed AT+CIPMUX=0 set error when all connections closed
- Fixed SSL link may not disconnect when IP address changed
- Fixed potential blocking when hardware flow control enabled
- Fixed an issue of mistakenly printing "CLOSED" or "+LINK_CONN"
- Fixed tcp server could not work again if the link closed and opened repeatedly
- Fixed AT+SAVETRANSLINK could not work sometimes
- Fixed AT+CIPSERVER could set mode to 2
- Fixed AT+CIPSTART SSL connect failed if disabled ALPN by AT+CIPSSLCALPN=1,0
- Fixed tcp send data lost in passthrough mode
2.3 Application Layer
- Fixed AT+MQTTCONN returned ERROR when checking common name
- Fixed AT+MQTTUSERCFG? crash after MQTT connected
- Fixed AT+CIPSSLCALPN query command caused to reboot due to memory coverage
- Fixed AT+MQTTCONN may cause wdt reset when input some special hostname
- Fixed the issue that AT+HTTPCLIENT url failed to be omitted
2.4 System
- Fixed AT+GSLP did not return OK sometimes
- Fixed AT+GSLP may return ERROR when setting a long deep sleep time
- Fixed wrong uart pins disabled before deep-sleep
- Fixed AT+SLEEPWKCFG did not check GPIO configuration issue
- Fixed the crash when sending command with one redundant character "" before "\r\n"
- Fixed AT+SLEEP=2 returned OK in softap mode
- Fixed silence firmware crash sometimes
- Fixed build fail when disable customized partition
- Fixed sdio read data error when length bigger than sdio list
3. Optimization
- Added build.py script to simplify the compilation process and supported windows OS compilation
- Refactored application directory
- Removed deprecated GNU make
- Supported spi & sdio example cmake
- Removed at_http_webserver example
v2.2.0.0_esp32c3
ESP32-C3 AT Release v2.2.0.0
Documentation for Release v2.2.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.2.0.0_esp32c3/
ESP32-C3-MINI-1_AT_Bin_V2.2.0.0.zip
ESP32-C3 AT v2.2.0.0 is the first released firmware for ESP32-C3.
Known Issue
- AT command port will print several extra characters when the chip is restarted (affected commands: AT+RST, AT+RESTORE, AT+CIUPDATE)
- The set value of AT+RFPOWER command is inconsistent with the query value, when the value is greater than 80
Feature
Basic AT Commands
- AT: Test AT startup.
- AT+RST: Restart a module.
- AT+GMR: Check version information.
- AT+CMD: List all AT commands and types supported in current firmware.
- AT+GSLP: Enter Deep-sleep mode.
- ATE: Configure AT commands echoing.
- AT+RESTORE: Restore factory default settings of the module.
- AT+UART_CUR: Current UART configuration, not saved in flash.
- AT+UART_DEF: Default UART configuration, saved in flash.
- AT+SLEEP: Set the sleep mode.
- AT+SYSRAM: Query current remaining heap size and minimum heap size.
- AT+SYSMSG: Query/Set System Prompt Information.
- AT+USERRAM: Operate user’s free RAM.
- AT+SYSFLASH: Query/Set User Partitions in Flash.
- AT+FS: Filesystem Operations.
- AT+RFPOWER: Query/Set RF TX Power.
- AT+SYSROLLBACK: Roll back to the previous firmware.
- AT+SYSTIMESTAMP: Query/Set local time stamp.
- AT+SYSLOG: Enable or disable the AT error code prompt.
- AT+SLEEPWKCFG: Query/Set the light-sleep wakeup source and awake GPIO.
- AT+SYSSTORE: Query/Set parameter store mode.
- AT+SYSREG: Read/write the register.
Wi-Fi AT Commands
- AT+CWMODE: Set the Wi-Fi mode (Station/SoftAP/Station+SoftAP).
- AT+CWSTATE: Query the Wi-Fi state and Wi-Fi information.
- AT+CWJAP: Connect to an AP.
- AT+CWRECONNCFG: Query/Set the Wi-Fi reconnecting configuration.
- AT+CWLAPOPT: Set the configuration for the command AT+CWLAP.
- AT+CWLAP: List available APs.
- AT+CWQAP: Disconnect from an AP.
- AT+CWSAP: Query/Set the configuration of an ESP SoftAP.
- AT+CWLIF: Obtain IP address of the station that connects to an ESP SoftAP.
- AT+CWQIF: Disconnect stations from an ESP SoftAP.
- AT+CWDHCP: Enable/disable DHCP.
- AT+CWDHCPS: Query/Set the IP addresses allocated by an ESP SoftAP DHCP server.
- AT+CWAUTOCONN: Connect to an AP automatically when powered on.
- AT+CWAPPROTO: Query/Set the 802.11 b/g/n protocol standard of SoftAP mode.
- AT+CWSTAPROTO: Query/Set the 802.11 b/g/n protocol standard of station mode.
- AT+CIPSTAMAC: Query/Set the MAC address of an ESP station.
- AT+CIPAPMAC: Query/Set the MAC address of an ESP SoftAP.
- AT+CIPSTA: Query/Set the IP address of an ESP station.
- AT+CIPAP: Query/Set the IP address of an ESP SoftAP.
- AT+CWSTARTSMART: Start SmartConfig.
- AT+CWSTOPSMART: Stop SmartConfig.
- AT+WPS: Enable the WPS function.
- AT+MDNS: Configure the mDNS function.
- AT+CWJEAP: Connect to a WPA2 Enterprise AP.
- AT+CWHOSTNAME: Query/Set the host name of an ESP station.
- AT+CWCOUNTRY: Query/Set the Wi-Fi Country Code.
TCP/IP AT Commands
- AT+CIPV6: Enable/disable the network of Internet Protocol Version 6 (IPv6).
- AT+CIPSTATUS: Obtain the TCP/UDP/SSL connection status and information.
- AT+CIPDOMAIN: Resolve a Domain Name.
- AT+CIPSTART: Establish TCP connection, UDP transmission, or SSL connection.
- AT+CIPSTARTEX: Establish TCP connection, UDP transmission, or SSL connection with an automatically assigned ID.
- [Passthrough Mode Only] +++: Exit the passthrough mode.
- AT+CIPSEND: Send data in the normal transmission mode or Wi-Fi passthrough mode.
- AT+CIPSENDEX: Send data in the normal transmission mode in expanded ways.
- AT+CIPCLOSE: Close TCP/UDP/SSL connection.
- AT+CIFSR: Obtain the local IP address and MAC address.
- AT+CIPMUX: Enable/disable the multiple connections mode.
- AT+CIPSERVER: Delete/create a TCP/SSL server.
- AT+CIPSERVERMAXCONN: Query/Set the maximum connections allowed by a server.
- AT+CIPMODE: Query/Set the transmission mode.
- AT+SAVETRANSLINK: Set whether to enter Wi-Fi passthrough mode on power-up.
- AT+CIPSTO: Query/Set the local TCP Server Timeout.
- AT+CIPSNTPCFG: Query/Set the time zone and SNTP server.
- AT+CIPSNTPTIME: Query the SNTP time.
- AT+CIUPDATE: Upgrade the firmware through Wi-Fi.
- AT+CIPDINFO: Set “+IPD” message mode.
- AT+CIPSSLCCONF: Query/Set SSL clients.
- AT+CIPSSLCCN: Query/Set the Common Name of the SSL client.
- AT+CIPSSLCSNI: Query/Set SSL client Server Name Indication (SNI).
- AT+CIPSSLCALPN: Query/Set SSL client Application Layer Protocol Negotiation (ALPN).
- AT+CIPSSLCPSK: Query/Set SSL client Pre-shared Key (PSK).
- AT+CIPRECONNINTV: Query/Set the TCP/UDP/SSL reconnection interval for the Wi-Fi passthrough mode.
- AT+CIPRECVMODE: Query/Set socket receiving mode.
- AT+CIPRECVDATA: Obtain socket data in passive receiving mode.
- AT+CIPRECVLEN: Obtain socket data length in passive receiving mode.
- AT+PING: Ping the remote host.
- AT+CIPDNS: Query/Set DNS server information.
- AT+CIPTCPOPT: Query/Set the socket options.
MQTT AT Commands
- AT+MQTTUSERCFG: Set MQTT user configuration
- AT+MQTTCLIENTID: Set MQTT client ID
- AT+MQTTUSERNAME: Set MQTT username
- AT+MQTTPASSWORD: Set MQTT password
- AT+MQTTCONNCFG: Set configuration of MQTT connection
- AT+MQTTCONN: Connect to MQTT Brokers
- AT+MQTTPUB: Publish MQTT Messages in string
- AT+MQTTPUBRAW: Publish MQTT messages in binary
- AT+MQTTSUB: Subscribe to MQTT topics
- AT+MQTTUNSUB: Unsubscribe from MQTT topics
- AT+MQTTCLEAN: Close MQTT connections
HTTP AT Commands
- AT+HTTPCLIENT: Send HTTP Client Request
- AT+HTTPGETSIZE: Get HTTP Resource Size
- AT+HTTPCPOST: Post HTTP data of specified length
Web server AT Commands
- AT+WEBSERVER: Enable/disable Wi-Fi connection configuration via web server.
Driver AT Commands
- AT+DRVADC: Read ADC channel value.
- AT+DRVPWMINIT: Initialize PWM driver.
- AT+DRVPWMDUTY: Set PWM duty.
- AT+DRVPWMFADE: Set PWM fade.
- AT+DRVI2CINIT: Initialize I2C master driver.
- AT+DRVI2CRD: Read I2C data.
- AT+DRVI2CWRDATA: Write I2C data.
- AT+DRVI2CWRBYTES: Write no more than 4 bytes I2C data.
- AT+DRVSPICONFGPIO: Configure SPI GPIO.
- AT+DRVSPIINIT: Initialize SPI master driver.
- AT+DRVSPIRD: Read SPI data.
- AT+DRVSPIWR: Write SPI data.
v2.1.0.0_esp32s2
ESP32S2-AT v2.1.0.0 Release Notes
Documentation for Release v2.1.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.1.0.0_esp32s2/
ESP32-S2-WROOM_AT_Bin_V2.1.0.0.zip
ESP32-S2-WROVER_AT_Bin_V2.1.0.0.zip
ESP32-S2-SOLO_AT_Bin_V2.1.0.0.zip
ESP32-S2-MINI_AT_Bin_V2.1.0.0.zip
ESP32S2-AT v2.1.0.0 is the first released firmware for ESP32S2.
Feature
Basic AT Commands
- AT : Tests AT startup.
- AT+RST : Restarts a module.
- AT+GMR : Checks version information.
- ATE : Configures echoing of AT commands.
- AT+RESTORE : Restores the factory default settings of the module.
- AT+UART_CUR : Current UART configuration.
- AT+UART_DEF : Default UART configuration, saved in flash.
- AT+SYSRAM : Checks current remaining heap size and minimum heap size.
- AT+SYSMSG : Set message format.
- AT+RFPOWER : Set RF TX Power.
- AT+SYSFLASH : Set User Partitions in Flash.
- AT+SYSROLLBACK : Roll back to the previous firmware.
- AT+SYSTIMESTAMP: Set local time stamp.
- AT+SYSLOG : Enable or disable the AT error code prompt.
- AT+SYSSTORE : Config parameter store mode.
Wi-Fi AT Commands
- AT+CWMODE : Sets the Wi-Fi mode (STA/AP/STA+AP).
- AT+CWJAP : Connects to an AP.
- AT+CWLAPOPT : Sets the configuration of command AT+CWLAP.
- AT+CWLAP : Lists available APs.
- AT+CWQAP : Disconnects from the AP.
- AT+CWSAP : Sets the configuration of the ESP SoftAP.
- AT+CWLIF : Gets the Station IP to which the ESP SoftAP is connected.
- AT+CWQIF : Disconnect Station from the ESP SoftAP.
- AT+CWDHCP : Enables/disables DHCP.
- AT+CWDHCPS : Sets the IP range of the ESP SoftAP DHCP server.
- AT+CWAUTOCONN : Connects to the AP automatically on power-up.
- AT+CWAPPROTO : Sets the 802.11 b/g/n protocol standard of SoftAP mode.
- AT+CWSTAPROTO : Sets the 802.11 b/g/n protocol standard of station mode.
- AT+CIPSTAMAC : Sets the MAC address of ESP Station.
- AT+CIPAPMAC : Sets the MAC address of ESP SoftAP.
- AT+CIPSTA : Sets the IP address of ESP Station.
- AT+CIPAP : Sets the IP address of ESP SoftAP.
- AT+CWSTARTSMART : Starts SmartConfig.
- AT+CWSTOPSMART : Stops SmartConfig.
- AT+WPS : Enables the WPS function.
- AT+MDNS : Configurates the MDNS function
- AT+CWHOSTNAME : Configures the Name of ESP Station
- AT+CWCOUNTRY : Configures the Wi-Fi Country Code
TCP/IP AT Commands
- AT+CIPSTATUS : Gets the connection status.
- AT+CIPDOMAIN : Domain Name Resolution Function.
- AT+CIPSTART : Establishes TCP connection, UDP transmission or SSL connection.
- AT+CIPSTARTEX : Establishes TCP connection, UDP transmission or SSL connection with automatically assigned ID.
- AT+CIPSEND : Sends data.
- AT+CIPSENDEX : Sends data when length of data is , or when \0 appears in the data.
- AT+CIPCLOSE : Closes TCP/UDP/SSL connection.
- AT+CIFSR : Gets the local IP address.
- AT+CIPMUX : Configures the multiple connections mode.
- AT+CIPSERVER : Deletes/Creates TCP or SSL server.
- AT+CIPSERVERMAXCONN : Set the Maximum Connections Allowed by Server.
- AT+CIPMODE : Configures the transmission mode.
- AT+SAVETRANSLINK : Saves the transparent transmission link in flash.
- AT+CIPSTO : Sets timeout when ESP32 runs as a TCP server.
- AT+CIPSNTPCFG : Configures the time domain and SNTP server.
- AT+CIPSNTPTIME : Queries the SNTP time.
- AT+CIUPDATE : Updates the software through Wi-Fi.
- AT+CIPDINFO : Shows remote IP and remote port with +IPD.
- AT+CIPSSLCCONF : Config SSL client.
- AT+CIPRECONNINTV: Set Wi-Fi transparent transmitting auto-connect interval.
- AT+CIPRECVMODE: Set Socket Receive Mode.
- AT+CIPRECVDATA: Get Socket Data in Passive Receive Mode.
- AT+CIPRECVLEN: Get Socket Data Length in Passive Receive Mode.
- AT+PING: Ping Packets
- AT+CIPDNS : Configures Domain Name System.
- AT+CIPTCPOPT : Configurates the socket options.
MQTT AT Commands
- AT+MQTTUSERCFG : Set MQTT User Config
- AT+MQTTCLIENTID : Set MQTT Client ID
- AT+MQTTUSERNAME : Set MQTT Username
- AT+MQTTPASSWORD : Set MQTT Password
- AT+MQTTCONNCFG : Set configuration of MQTT Connection
- AT+MQTTCONN : Connect to MQTT Broker
- AT+MQTTPUB : Publish MQTT Data in string
- AT+MQTTPUBRAW : Publish MQTT message in binary
- AT+MQTTSUB : Subscribe to MQTT Topic
- AT+MQTTUNSUB : Unsubscribe from MQTT Topic
- AT+MQTTCLEAN : Close the MQTT Connection
HTTP AT Commands
- AT+HTTPCLIENT - Send HTTP Client Request
- AT+HTTPGETSIZE - Get HTTP Resource Size
v2.1.0.0_esp8266
ESP8266-AT Release v2.1.0.0
Documentation for Release v2.1.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.1.0.0_esp8266/
You can download the firmwares to try them, which support OTA from espressif‘s server.
ESP8266-AT v2.1.0.0 is a major update for ESP8266-AT v2.0.0.0.
This is the list of changes since ESP8266-AT Release v2.0.0.0.
SDK Update and Known issue
ESP8266_RTOS_SDK
version update to release v3.3(b6e861a).
1. New Feature & Change List
1.1 Wi-Fi
- AT+CWCOUNTRY: set and query the Wi-Fi country code.
- AT+CWSTAPROTO: set and query the 802.11 b/g/n protocol standard of station mode.
- AT+CWAPPROTO: set and query the 802.11 b/g/n protocol standard of SoftAP mode.
- AT+FACTPLCP: send with long or short PLCP.
- Support scan mode configuration in the command AT+CWJAP.
- Support automatically connect to the previous AP when station mode is enabled again by AT+CWMODE.
1.2 TCP/IP
- AT+CIPTCPOPT: set and query TCP socket options.
- AT+CIPSSLCCN: set and query SSL client common name.
- AT+CIPSSLCSNI: set and query SSL client server name indication.
- AT+CIPSSLCALPN: set and query SSL client application layer protocol negotiation.
- AT+CIPSSLCPSK: set and query SSL client pre-shared key.
- Support multicast in the command AT+CIPSTART.
- Support two-way authentication when create SSL.
1.3 MQTT
- AT+MQTTUSERCFG: set and query MQTT user configuration.
- AT+MQTTCLIENTID: Set and query MQTT client ID.
- AT+MQTTUSERNAME: set and query MQTT username.
- AT+MQTTPASSWORD: set and query MQTT password.
- AT+MQTTCONNCFG: set and query configuration of MQTT Connection.
- AT+MQTTCONN: Connect to MQTT Broker.
- AT+MQTTPUB: Publish MQTT Data in string format.
- AT+MQTTPUBRAW: Publish MQTT message in binary-coded format.
- AT+MQTTSUB: Subscribe MQTT Topic.
- AT+MQTTUNSUB: Unsubscribe from MQTT Topic.
- AT+MQTTCLEAN: Close the MQTT Connection.
1.4 HTTP
- AT+HTTPCLIENT: send HTTP client request.
- AT+HTTPGETSIZE: get HTTP resource size.
1.5 System
- AT+SYSLOG: enable or disable the AT error code prompt.
- AT+SYSSTORE: configure parameter store mode.
- AT+SYSTIMESTAMP: Set local timestamp.
- AT+SYSROLLBACK: roll back to the previous firmware.
- AT+SYSFLASH: set and query user partitions in Flash.
- Support
make SILENCE=1
to disable log for saving flash space. - Support ESP8266 power save management.
- Support ESP8266 1MB module without OTA.
- Adjust partition table for more features.
- Adjust AT+RFPOWER command.
2. Bugfix
2.1 Wi-Fi
- Fix AT+CWLAP scans fail sometimes.
- Fix the range of AT+CIPRECONNINTV to be [1, 36000].
- Fix AT+RFPOWER set fail when Wi-Fi commands are disabled.
- Fix incorrect Wi-Fi state when AT+CWJAP failed.
- Fix missing Wi-Fi status information if AT+CIPMODE=1.
2.2 System
- Fix AT responses OK even if command ends with CR.
- Fix AT+SYSMSG parameter check.
- Fix
make factory_bin
generates an incorrect bin when flash works in 80MHz mode. - Fix UART parity configuration error.
2.3 Others
- Fix incorrect last DNS configuration in command AT+CIPDNS.
- Fix the incorrect returned value of DNS command.
- Fix the incorrect response value of SNTP command.
3. Optimization
- Optimize TCP/IP process workflow.
- Optimize Wi-Fi process workflow.
v2.1.0.0_esp32
ESP32-AT Release v2.1.0.0
Documentation for Release v2.1.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.1.0.0_esp32/
You can download the firmwares to try them, which support OTA from espressif‘s server.
ESP32-WROOM-32_AT_Bin_V2.1.0.0.zip
ESP32-WROVER_AT_Bin_V2.1.0.0.zip
ESP32-PICO-D4_AT_Bin_V2.1.0.0.zip
ESP32-SOLO_AT_Bin_V2.1.0.0.zip
ESP32-AT v2.1.0.0 is a major update for ESP32-AT v2.0.0.0.
This is the list of changes since ESP32-AT Release v2.0.0.0.
SDK Update and Known issue
- Wakeup fail from light sleep
1.Feature
- esp-idf version update to release v4.0(e7ac221b)
1.1 WiFi
- AT+CWCOUNTRY: configurate and query the WiFi country code
- AT+CWSTAPROTO: set and query the 802.11 b/g/n protocol standard of station mode
- AT+CWAPPROTO: set and query the 802.11 b/g/n protocol standard of SoftAP mode
- Support automatically connect to AP in the command AT+CWMODE after changed to station mode
- Support scan mode configuration in the command AT+CWJAP
1.2 TCP/IP
- AT+CIPTCPOPT: configurate and query the TCP socket options, include SO_LINGER, TCP_NODELAY, SO_SNDTIMEO options
- Support multicast address in the command AT+CIPSTART
1.3 TLS
- AT+CIPSSLCCN: configurate and query SSL client common name(CN)
- AT+CIPSSLCSNI: configurate and query SSL client server name indication(SNI)
- AT+CIPSSLCALPN: configurate and query SSL client application layer protocol negotiation(ALPN)
- AT+CIPSSLCPSK: configurate and query SSL client pre-shared key(PSK)
1.4 BT & BLE
- Enable BLE HID commands by default
- AT+BTCOD: Configure class of BT device
- AT+BLUFI: start and stop BLUFI function(configure Wi-Fi information by ble)
- AT+BLEADVDATAEX: set BLE advertising data automatically
- Add AT+BTSCANMODE query command: query BT scan mode
- Add AT+BLEGATTSSRVCRE multiple services
- Support scan filter in the command AT+BLESCAN
- Support discoverable but not connectable mode in the command AT+BTSCANMODE
- Support retransmission for BT SPP
- Support some BT and BLE parameters store to flash
- Support BLE connection callback for user to customize it
1.5 MQTT
- Enable MQTT commands by default
- AT+MQTTCLIENTID: set and query MQTT client ID
- AT+MQTTUSERNMAE: set and query MQTT username
- AT+MQTTPASSWORD: set and query MQTT password
- Add AT+MQTTUSERCFG query command
- Add AT+MQTTCONNCFG query command
- Add AT+MQTTUSERNAME query command
- Add AT+MQTTCLIENDID query command
- Add AT+MQTTPASSWORD query command
- Add MQTT authentication method configuration in menuconfig
1.6 HTTP
- Enable HTTP commands by default
- AT+HTTPGETSIZE: get HTTP resource size
- Support custom request headers in the command AT+HTTPCLIENT
1.7 System
- AT+SLEEPWKCFG: configurate the light-sleep wakeup source and awake GPIO
- AT+SYSSTORE: control if store parameter into flash
- Separate WPS, PING, SmartConfig and MDNS commands in menuconfig
- Support cmake to compile esp-at project
- OTA use esp-tls instead of openSSL
- Add uart port configuration in the factory parameter binary
- change factory parameter version to v2
1.8 Example
- Add STM32 example for SDIO SPI AT
- Add STM32 SDIO host example
2. Bugfix
2.1 WiFi
- Fix AT+RFPOWER set failed when disable WiFi command
- Fix AT+CWLAP scan fail when WiFi is connecting
- Fix missing WiFi status information if AT+CIPMODE=1
- Fix WiFi state is error after AT+CWJAP failed
- Fix AT+CIPRECONNINTV set range [1, 36000]
2.3 UART
- Fix UART parity configuration error
2.4 BT & BLE
- Fix crash if the notification value of ble is too long
- Fix BLE service discovery works bad in multiple connections status
- Fix crash when re-create BLE services
- Fix re-enter BLE SPP fail
- Fix AT+BLESCAN=2 return OK
- Fix hid init fail
- Fix the data is lost when in BLE SPP
- Fix exit from bluetooth throughput mode failed
- Fix gatt server re-enter spp mode fail
- Fix write characteristic value fail
- Fix exit automatically reconnect status fail after terminating BLE spp mode
- Fix establish a new connection fail after ble connection timeout
- Fix BT default device name is empty
- Fix BT scan result is out of order
- Fix BT SPP exit throughput mode fail after disconnection
- Fix some MAC address informations is missing quotes
2.5 MQTT
- Fix crash when running AT+MQTTCONN?
- Fix crash when running AT+MQTTPUB if the data is too long
- Fix block when running AT+MQTTPUB
- Fix crash when MQTT is disconnected
- Fix MQTT can not automatically reconnect
- Fix crash when running AT+MQTTPUBRAW if the topic length is too long
- Fix the length of the topic is error if the received MQTT data is too large
- Fix AT+MQTTPUB failed when WiFi is reconnected
- Fix the length of the data for AT+MQTTPUBRAW is limited
- Fix the state responded by AT+MQTTCONN? is error when WiFi is reconnected
- Fix AT+MQTTCONN fails when MQTT close and re-build the link
- Fix crash when running AT+MQTTCONNCFG if mqtt is disconnected
- Fix crash when mqtt is established if Wi-Fi is reconnected
2.6 HTTP
- Fix print the data downloaded by HTTP error
- Fix check if http transport type is valid in the command AT+HTTPCLIENT
- Fix crash if some URL is special in the command AT+HTTPCLIENT
2.7 System
- Fix busy sometimes after AT+CIPSEND returned OK
- Fix incorrect information in the factory_parameter.log if module name not defined
- Fix AT command end with CR responses OK
- Fix missing "+QUIT" when quit transmission mode if AT+SYSMSG=1
- Fix AT+CIPSTATUS state unmatched when WiFi disconnected
- Fix AT+SYSMSG parameter check
2.8 DNS
- Fix the last DNS configuration is error when running AT+CIPDNS
2.9 PING
- Fix it returns ERROR when running AT+PING
Optimizations
- Optimize sockets process workflow
- Optimize AT+CIPSTATUS command process
- Optimize transmit terminal process
- check the default max tx power validity
v2.1.0.0-rc2_esp32
#ESP32-AT Relase v2.1.0.0-rc2
Documentation for Relase v2.1.0.0 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.1.0.0_esp32/
You can download the firmwares to try them, which support OTA from espressif‘s server.
ESP32-WROVER_AT_Bin_V2.1.0.0_rc2.zip
ESP32-WROOM_AT_Bin_V2.1.0.0_rc2.zip
ESP32-PICO-D4_AT_Bin_V2.1.0.0_rc2.zip
ESP32-SOLO-1_AT_Bin_V2.1.0.0_rc2.zip
ESP32-AT v2.1.0.0-rc2 is a major update for ESP32-AT v2.0.0.0.
This is the list of changes since ESP32-AT Relase v2.0.0.0.
SDK Update and Known issue
- Wakeup fail from light sleep
1.Feature
- esp-idf version update to release v4.0(e7ac221b)
1.1 WiFi
- AT+CWCOUNTRY: configurate and query the WiFi country code
- AT+CWSTAPROTO: set and query the 802.11 b/g/n protocol standard of station mode
- AT+CWAPPROTO: set and query the 802.11 b/g/n protocol standard of SoftAP mode
- Support automatically connect to AP in the command AT+CWMODE after changed to station mode
- Support scan mode configuration in the command AT+CWJAP
1.2 TCP/IP
- AT+CIPTCPOPT: configurate and query the TCP socket options, include SO_LINGER, TCP_NODELAY, SO_SNDTIMEO options
- Support multicast address in the command AT+CIPSTART
1.3 TLS
- AT+CIPSSLCCN: configurate and query SSL client common name(CN)
- AT+CIPSSLCSNI: configurate and query SSL client server name indication(SNI)
- AT+CIPSSLCALPN: configurate and query SSL client application layer protocol negotiation(ALPN)
- AT+CIPSSLCPSK: configurate and query SSL client pre-shared key(PSK)
1.4 BT & BLE
- Enable BLE HID commands by default
- AT+BTCOD: Configure class of BT device
- AT+BLUFI: start and stop BLUFI function(configure Wi-Fi information by ble)
- AT+BLEADVDATAEX: set BLE advertising data automatically
- Add AT+BTSCANMODE query command: query BT scan mode
- Add AT+BLEGATTSSRVCRE multiple services
- Support scan filter in the command AT+BLESCAN
- Support discoverable but not connectable mode in the command AT+BTSCANMODE
- Support retransmission for BT SPP
- Support some BT and BLE parameters store to flash
- Support BLE connection callback for user to customize it
1.5 MQTT
- Enable MQTT commands by default
- AT+MQTTCLIENTID: set and query MQTT client ID
- AT+MQTTUSERNMAE: set and query MQTT username
- AT+MQTTPASSWORD: set and query MQTT password
- Add AT+MQTTUSERCFG query command
- Add AT+MQTTCONNCFG query command
- Add AT+MQTTUSERNAME query command
- Add AT+MQTTCLIENDID query command
- Add AT+MQTTPASSWORD query command
- Add MQTT authentication method configuration in menuconfig
1.6 HTTP
- Enable HTTP commands by default
- AT+HTTPGETSIZE: get HTTP resource size
- Support custom request headers in the command AT+HTTPCLIENT
1.7 System
- AT+SLEEPWKCFG: configurate the light-sleep wakeup source and awake GPIO
- AT+SYSSTORE: control if store parameter into flash
- Separate WPS, PING, SmartConfig and MDNS commands in menuconfig
- Support cmake to compile esp-at project
- OTA use esp-tls instead of openSSL
- Add uart port configuration in the factory parameter binary
- change factory parameter version to v2
1.8 Example
- Add STM32 example for SDIO SPI AT
- Add STM32 SDIO host example
2. Bugfix
2.1 WiFi
- Fix AT+RFPOWER set failed when disable WiFi command
- Fix AT+CWLAP scan fail when WiFi is connecting
- Fix missing WiFi status information if AT+CIPMODE=1
- Fix WiFi state is error after AT+CWJAP failed
- Fix AT+CIPRECONNINTV set range [1, 36000]
2.3 UART
- Fix UART parity configuration error
2.4 BT & BLE
- Fix crash if the notification value of ble is too long
- Fix BLE service discovery works bad in multiple connections status
- Fix crash when re-create BLE services
- Fix re-enter BLE SPP fail
- Fix AT+BLESCAN=2 return OK
- Fix hid init fail
- Fix the data is lost when in BLE SPP
- Fix exit from bluetooth throughput mode failed
- Fix gatt server re-enter spp mode fail
- Fix write characteristic value fail
- Fix exit automatically reconnect status fail after terminating BLE spp mode
- Fix establish a new connection fail after ble connection timeout
- Fix BT default device name is empty
- Fix BT scan result is out of order
- Fix BT SPP exit throughput mode fail after disconnection
- Fix some MAC address informations is missing quotes
2.5 MQTT
- Fix crash when running AT+MQTTCONN?
- Fix crash when running AT+MQTTPUB if the data is too long
- Fix block when running AT+MQTTPUB
- Fix crash when MQTT is disconnected
- Fix MQTT can not automatically reconnect
- Fix crash when running AT+MQTTPUBRAW if the topic length is too long
- Fix the length of the topic is error if the received MQTT data is too large
- Fix AT+MQTTPUB failed when WiFi is reconnected
- Fix the length of the data for AT+MQTTPUBRAW is limited
- Fix the state responded by AT+MQTTCONN? is error when WiFi is reconnected
- Fix AT+MQTTCONN fails when MQTT close and re-build the link
- Fix crash when running AT+MQTTCONNCFG if mqtt is disconnected
- Fix crash when mqtt is established if Wi-Fi is reconnected
2.6 HTTP
- Fix print the data downloaded by HTTP error
- Fix check if http transport type is valid in the command AT+HTTPCLIENT
- Fix crash if some URL is special in the command AT+HTTPCLIENT
2.7 System
- Fix busy sometimes after AT+CIPSEND returned OK
- Fix incorrect information in the factory_parameter.log if module name not defined
- Fix AT command end with CR responses OK
- Fix missing "+QUIT" when quit transmission mode if AT+SYSMSG=1
- Fix AT+CIPSTATUS state unmatched when WiFi disconnected
- Fix AT+SYSMSG parameter check
2.8 DNS
- Fix the last DNS configuration is error when running AT+CIPDNS
2.9 PING
- Fix it returns ERROR when running AT+PING
Optimizations
- Optimize sockets process workflow
- Optimize AT+CIPSTATUS command process
- Optimize transmit terminal process
- check the default max tx power validity
v2.1.0.0-rc1_esp8266
ESP8266-AT Release v2.1.0.0-rc1
Documentation for Release v2.1.0.0-rc1 is available at https://docs.espressif.com/projects/esp-at/en/release-v2.1.0.0_esp8266/
You can download ESP8266-IDF-AT_V2.1.0_0_RC1.zip to try it, and this firmware supports OTA from espressif‘s server.
ESP8266-AT v2.1.0.0-rc1 is a major update for ESP8266-AT v2.0.0.0.
This is the list of changes since ESP8266-AT Release v2.0.0.0.
SDK Update and Known issue
ESP8266_RTOS_SDK
version update to release v3.3(b6e861a).
1. New Feature & Change List
1.1 Wi-Fi
- AT+CWCOUNTRY: set and query the Wi-Fi country code.
- AT+CWSTAPROTO: set and query the 802.11 b/g/n protocol standard of station mode.
- AT+CWAPPROTO: set and query the 802.11 b/g/n protocol standard of SoftAP mode.
- AT+FACTPLCP: send with long or short PLCP.
- Support scan mode configuration in the command AT+CWJAP.
- Support automatically connect to the previous AP when station mode is enabled again by AT+CWMODE.
1.2 TCP/IP
- AT+CIPTCPOPT: set and query TCP socket options.
- AT+CIPSSLCCN: set and query SSL client common name.
- AT+CIPSSLCSNI: set and query SSL client server name indication.
- AT+CIPSSLCALPN: set and query SSL client application layer protocol negotiation.
- AT+CIPSSLCPSK: set and query SSL client pre-shared key.
- Support multicast in the command AT+CIPSTART.
- Support two-way authentication when create SSL.
1.3 MQTT
- AT+MQTTUSERCFG: set and query MQTT user configuration.
- AT+MQTTCLIENTID: Set and query MQTT client ID.
- AT+MQTTUSERNAME: set and query MQTT username.
- AT+MQTTPASSWORD: set and query MQTT password.
- AT+MQTTCONNCFG: set and query configuration of MQTT Connection.
- AT+MQTTCONN: Connect to MQTT Broker.
- AT+MQTTPUB: Publish MQTT Data in string format.
- AT+MQTTPUBRAW: Publish MQTT message in binary-coded format.
- AT+MQTTSUB: Subscribe MQTT Topic.
- AT+MQTTUNSUB: Unsubscribe from MQTT Topic.
- AT+MQTTCLEAN: Close the MQTT Connection.
1.4 HTTP
- AT+HTTPCLIENT: send HTTP client request.
- AT+HTTPGETSIZE: get HTTP resource size.
1.5 System
- AT+SYSLOG: enable or disable the AT error code prompt.
- AT+SYSSTORE: configure parameter store mode.
- AT+SYSTIMESTAMP: Set local timestamp.
- AT+SYSROLLBACK: roll back to the previous firmware.
- AT+SYSFLASH: set and query user partitions in Flash.
- Support
make SILENCE=1
to disable log for saving flash space. - Support ESP8266 power save management.
- Support ESP8266 1MB module without OTA.
- Adjust partition table for more features.
- Adjust AT+RFPOWER command.
2. Bugfix
2.1 Wi-Fi
- Fix AT+CWLAP scans fail sometimes.
- Fix the range of AT+CIPRECONNINTV to be [1, 36000].
- Fix AT+RFPOWER set fail when Wi-Fi commands are disabled.
- Fix incorrect Wi-Fi state when AT+CWJAP failed.
- Fix missing Wi-Fi status information if AT+CIPMODE=1.
2.2 System
- Fix AT responses OK even if command ends with CR.
- Fix AT+SYSMSG parameter check.
- Fix
make factory_bin
generates an incorrect bin when flash works in 80MHz mode. - Fix UART parity configuration error.
2.3 Others
- Fix incorrect last DNS configuration in command AT+CIPDNS.
- Fix the incorrect returned value of DNS command.
- Fix the incorrect response value of SNTP command.
3. Optimization
- Optimize TCP/IP process workflow.
- Optimize Wi-Fi process workflow.