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