ESP8266 NonOS AT Release Note
ESP8266 NonOS AT Release Note
Feature
Update to SDK version 3.0.4 and AT version 1.7.4.0
feat(pp): Used beacon interval to calibrate timer to improve accuracy
feat(at): revise flash map automatically when the firmware and flash map do not match
feat(at): Add at_nano demo to support 1MB flash
feat(net80211): Allowed ESP8266 to connect to AP without basic rate
Bug Fix
fix(net80211): Fixed some connection failure issue during 11b with only AP mode
fix(net80211): Fixed the memory leak problem when ESP8266 acts as AP and station is sending illegal messages
fix(system): Fixed probable loss of system parameter if power down when erasing or writing the flash
fix(lwip): Fixed crash issue when SNTP is stopped
fix(at): Fixed potential low risk of scan failure using the AT command to scan specified SSID
Feature
Update to SDK version 3.0.3 and AT version 1.7.3.0
Update to phy version 1156
Bug Fix
fix(pp): Wi-Fi tx hangs when Q2_RTS_INT and Q0_TX_COMPLETE come at the same time.
fix(at): If there are several APs with the same SSID, ESP will connect to the AP with the strongest signal when
calling command AT+CWJAP .
Bug Fix
fix(system): will not clear mac address when calling system_restore
fix(net80211): disable greenfield option
fix(system): incorrect parameter in flash may cause system crash
fix: TCP data lost when the link disconnected
fix(wpa2): fix wpa2_enterprise vulnerability issues
fix(at): AT core may not read data in the buffer in some cases
fix(net80211): fix the incorrect ecn parameter scanned when the router is wpa2_enterprise mode
fix(main): fix the Wi-Fi mode change when calling setopmodecurrent
fix(at): fix wdt issue when keep sending data in high performance mode
fix(dns): Fix the seq number overflow issue
fix(dhcp): fix the system crash issue when Wi-Fi sta got IP by DHCP and set static IP, and DHCP release time out
Feature
De-swap uart before system restart.
Remove system_phy_freq_trace_enable and disable freq trace in AT project by default.
Add vendor class id option in LwIP.
Update libphy to version 1143.
Support broadcast packets in ESP-NOW.
Bug Fix
SDK
AT
Fix an issue that fail to create AT SSL connection without cert or ca partition.
Fix an issue that it may take a long time to get a ping result.
Fix an issue that AT should return error directly when domain length is 64.
Major Changes
SDK
Memory optimization: iram can be used as memory, thus saving about 17KB memory for user application.
AT
SDK
Add partition table to manage flash partition, more details are in ESP8266_NONOS_SDK/documents/readme .
system_partition_table_regist
system_partition_get_ota_partition_size
system_partition_get_item
Add WiFi APIs to set sleep level of modem sleep and light sleep.
wifi_set_sleep_level
wifi_get_sleep_level
wifi_set_listen_interval
wifi_get_listen_interval
AT
Bug Fix
SDK
Fix issue that system crashes when calling os_printf_plus in interrupt handler.
fix issue that mbedtls cannot set the fragment to be 2048.
fix issue that OTA may crash with some server.
Fix issue that beacon info does not update after wifi_station_scan .
Fix softAP compatibility issue.
Fix issue that fails to scan hidden AP in station mode.
AT
Fix issue that GPIO related commands always return OK even without GPIO number.
Fix issue that extra 0x0A displayed in SNTP time string
AT+CWCOUNTRY=<country_policy>,"country_code",<start_channel>,<total_channel_number>
AT+CIPSERVERMAXCONN=<num>
AT+CWLAP =<ssid>[,<mac>,<ch>,<scan_type>,<scan_time_min>,<scan_time_max>]
8. Fix an issue that getting error irom string when print messages after upgrade;
9. Fix an issue that baudrate is not correctly set when it was set at 1,200;
10. Fix an issue that it should return error if the link id is wrong;
12. Fix a wrong link id issue when client connection number reaches maximum;
13. Fix an issue that error will be reported when the maximun connection number is more than 5;
14. Fix the message is incorrect when creating UDP if ip is a domain name;
System
Examples
Wi-Fi
11. Add keep connection for station to keep connection with AP;
12. Add softAP distributes station ip event;
History Info.
System
Lwip
AT
WiFi
1. Optimize the RF frequency calibration workflow, having the frequency trace disabled by default;
users can call system_phy_freq_trace_enable in user_rf_pre_init to enable it;
Optimization:
4. Fixed probable system default when calling cur and def interfaces.
5. Fixed the issue of high current in Deep-sleep mode without disabling SPI first.
6. Fixed an issue where the SDK would crash when switching from AP to Station mode by calling
wifi_set_phy_mode.
7. Updated secondary boot loader to v1.6:
Supports AT + based on SDIO;
Supports entering testing mode through GPIO.
Notes:
esp_init_data.bin has to be downloaded into flash at least once. Download blank.bin to initialize the sector stored
RF_CAL parameter (set by user_rf_cal_sector_set), and download esp_init_data.bin into flash, when the system
needs to be initialized, or RF needs to be calibrated again.