v2.2.0
System
- Add APIs to ensure flash erasing safe;
bool spi_flash_erase_protect_enable(void)
;bool spi_flash_erase_protect_disable(void)
;
- Add
-DUSE_OPTIMIZE_PRINTF
in third_party/Makefile; - Update libc.a & libgcc.a;
- libc.a from newlib 2.0.0, libgcc.a from gcc 4.8.5
- Strip the functions which are already in rom code
- Add a readme in lib folder to show how to strip the origin libraries
- libc.a from newlib 2.0.0, libgcc.a from gcc 4.8.5
- Update scripts to generate SSL related binaries;
- Put libm.a into .irom0.text;
- Compile some libraries with
-ffunction-sectons -fdata-sections
;- Modify ld to put this.text.* into .irom0.text
- Remove
time()
function from libmain; - Fix issues of deep-sleep sleep 0 or sleep for a long time;
- Fix an issue about driver compiling;
- Fix
ets_delay_us
declaration; - Fix
os_calloc
declaration;
Examples
- Add an example for WPA2 enterprise;
- Update IoT_Demo project, fix user sector error;
- Update mqtt demo project;
LWIP & espconn
- [LWIP] Add LWIP source codes in the third_party folder;
- [LWIP] Redefine err_t in lwip;
- [LWIP] Fix the sequence number error of RST+ACK;
- [LWIP] Fix an issue that two or more pbuf will be used when sending one TCP packet with
LWIP_NETIF_TX_SINGLE_PBUF
enabled; - [LWIP] Fix the length of TCP data in one packet is more than 1460;
- [espconn] Fix an issue that duplicate UDP packet may be sent by espconn_sendto;
- [espconn] Enable block option for fetching the proactive data;
- [espconn] Manual fetch the receive data after the communication ends;
mbedTLS
- Add mbedTLS source codes in the third_party folder;
- Fix an issue that mbedTLS may memory leak in some cases when ESP8266 running as SSL/TLS client;
- Fix an issue that the sent callback may not be called in some cases;
- Fix load cert failure if the private key is in front of the cert in the esp_cert_private_key.bin;
- Fix disconnect callback function never be called;
- Speed up mbedtls handshake process;
- Fix
already freed
and exception when esp8266 acts as SSL/TLS server;
AT
-
Update AT version to 1.6.0.0;
-
Add a new command
AT+SYSMSG
to enable some report information; -
Add a new command
AT+CWCOUNTRY
;AT+CWCOUNTRY=<country_policy>,"country_code",<start_channel>,<total_channel_number>
-
Add new command
AT+CIPSERVERMAXCONN
;AT+CIPSERVERMAXCONN=<num>
-
Update command
AT+CWLAP
;AT+CWLAP =<ssid>[,<mac>,<ch>,<scan_type>,<scan_time_min>,<scan_time_max>]
-
Update command
AT+CWLAPOPT
;- Mask changes from 0x7F to 0x7FF
-
Optimize tcp server by using new
espconn_recv
; -
Fix an issue that getting error irom string when print messages after upgrade;
-
Fix an issue that baudrate is not correctly set when it was set at 1,200;
-
Fix an issue that it should return error if the link id is wrong;
-
Fix an issue that DNS auto mode is used by default;
-
Fix a wrong link id issue when client connection number reaches maximum;
-
Fix an issue that error will be reported when the maximun connection number is more than 5;
-
Fix the message is incorrect when creating UDP if ip is a domain name;
-
Fix GSLP too long time error;
-
Fix that
AT+CIPSTART
causes busy if the server is connected at the same time;
Wi-Fi
- Update libphy.a to version 1136;
- Add APIs to set WPA2 Enterprise identity;
int wifi_station_set_enterprise_identity(u8* identity, int len)
;void wifi_station_clear_enterprise_identity(void)
;
- Add support for passive scan;
- Add support for scan threshold and dwell time;
- Add APIs to set country code;
- Add support for recording more information of scanned AP;
- Fix the WPA/WPA2 PTK/GTK reinstallation vulnerability issue;
- Fix softAP wrong behavior after calling
system_timer_reinit
; - Update esp_init_data_default.bin to v08;
- Adjusted the default target power, from the 34th byte to the 39th byte of esp_init_data_default.bin, lower the target power of each level, optimized the frequency spectrum Mask and the EVM.
- Add keep connection for station to keep connection with AP;
- Add softAP distributes station ip event;