549 lines
30 KiB
Plaintext
549 lines
30 KiB
Plaintext
|
esp_iot_sdk_v1.4.0_15_09_18 Release Note
|
|||
|
Resolved Issues(Bugs below are eligible for Bug Bounty Program):
|
|||
|
1.Espconn may fail to download big chunk of data(FOTA).
|
|||
|
2.Invalid TCP data sent issue.
|
|||
|
3.Fatal exceptions occur when change WiFi mode in WiFi scan callback.
|
|||
|
4.WiFi compatibility problem of special network card.
|
|||
|
5.Deep sleep may appear high current under certain circumstances.
|
|||
|
|
|||
|
Optimization:
|
|||
|
1. Add a new method to check memory leaks (API : system_show_malloc).
|
|||
|
2. Add print information when exception happens.
|
|||
|
3. Resolve the problem of os_timer_disarm.
|
|||
|
4. Optimize DHCP server, add API to set up the lease time of DHCP server. More details are in the <20><>Added APIs<49><73>.
|
|||
|
5. Add event <20><>EVENT_STAMODE_DHCP_TIMEOUT<55><54> for the DHCP timeout handling mechanism.
|
|||
|
6. Optimize handling of the reception of data and ZWP message.
|
|||
|
7. Add new APIs to support SSL bidirectional authentication. More details are in the <20><>Added APIs<49><73>.
|
|||
|
8. Add new APIs to set up SSL certificates and encryption keys. API espconn_secure_set_default_certificate and espconn_secure_set_default_private_key should be called to set SSL certificate and secure key, if ESP8266 runs as SSL server. More details are in the <20><>Added APIs<49><73>.
|
|||
|
9. Optimize the process of FOTA (firmware upgrade through WiFi.
|
|||
|
10. Optimize mDNS, and resolve the problem that in certain case the ESP8266 softAP can not work in the sta+AP mode.
|
|||
|
11. Release mesh as a lib in the esp_iot_sdk, and do not provide SDK of the mesh version any more.
|
|||
|
12. Optimize mesh<73><68>s handling of UDP packets.
|
|||
|
13. Optimize checking of the validity of the mesh API<50><49>s parameters.
|
|||
|
14. Add an API to set up the largest hop of mesh. For detailed information, go to mesh instructions.
|
|||
|
15. Optimize the process of powering up and booting to shorten booting time by 20 ms.
|
|||
|
16. Optimize the function of automatic frequency offset calibration.
|
|||
|
17. Optimize the function of sniffer.
|
|||
|
18. Strengthen reliability of the checking of beacon timeout.
|
|||
|
19.Optimize Wi-Fi event mechanism, and add event <20><> EVENT_SOFTAPMODE_PROBEREQRECVED<45><44>, and reason for a failed connection.
|
|||
|
20. Optimize Wi-Fi callback function and strengthen reliability of the software.
|
|||
|
21. Add the function of data transferring between stations in the soft-AP mode.
|
|||
|
22. Update SmartConfig to the version of 2.5.1.
|
|||
|
|
|||
|
23.Update esp_init_data_default.bin. Please use the newest esp_init_data_default.bin when burning.
|
|||
|
|
|||
|
24.Modify the espconn pointer in the receive callback of UDP. Parameters remote_ip and remote_port in it are the remote IP and port set by espconn_create. If users want to obtain IP and ports of the current sender, please call espconn_get_connection_info to get relevant information.
|
|||
|
|
|||
|
|
|||
|
Added APIs:
|
|||
|
1.System API
|
|||
|
system_show_malloc : for checking memory leak, to print the memory usage.
|
|||
|
2.DHCP server lease time related APIs
|
|||
|
wifi_softap_set_dhcps_lease_time<EFBFBD><EFBFBD>set ESP8266 softAP DHCP server lease time.
|
|||
|
wifi_softap_get_dhcps_lease_time<EFBFBD><EFBFBD>check ESP8266 softAP DHCP server lease time.
|
|||
|
wifi_softap_reset_dhcps_lease_time<EFBFBD><EFBFBD>reset ESP8266 softAP DHCP server lease time which is 120 minutes by default.
|
|||
|
3.wifi_station_dhcpc_set_maxtry<72><79>set the maximum number that ESP8266 station DHCP client will try to reconnect to the AP.
|
|||
|
4.Force sleep APIs
|
|||
|
wifi_fpm_open<EFBFBD><EFBFBD>enable force sleep function.
|
|||
|
wifi_fpm_close<EFBFBD><EFBFBD>disable force sleep function.
|
|||
|
wifi_fpm_do_sleep<EFBFBD><EFBFBD>force ESP8266 enter sleep mode.
|
|||
|
wifi_fpm_do_wakeup<EFBFBD><EFBFBD>wake ESP8266 up from force sleep.
|
|||
|
wifi_fpm_set_sleep_type<EFBFBD><EFBFBD>set sleep type of force sleep function.
|
|||
|
wifi_fpm_get_sleep_type<EFBFBD><EFBFBD>get sleep type of force sleep function.
|
|||
|
5.Send packet freedom APIs (to send user-define 802.11 packets)
|
|||
|
wifi_register_send_pkt_freedom_cb<EFBFBD><EFBFBD>register a callback for sending user-define 802.11 packets.
|
|||
|
wifi_unregister_send_pkt_freedom_cb<EFBFBD><EFBFBD>unregister the callback for sending user-define 802.11 packets.
|
|||
|
wifi_send_pkt_freedom<EFBFBD><EFBFBD>send user-define 802.11 packet.
|
|||
|
6.RFID LOCP APIs
|
|||
|
wifi_rfid_locp_recv_open<EFBFBD><EFBFBD>enable RFID LOCP to receive WDS packets.
|
|||
|
wifi_rfid_locp_recv_close<EFBFBD><EFBFBD>disable RFID LOCP.
|
|||
|
wifi_register_rfid_locp_recv_cb<EFBFBD><EFBFBD>register a callback of receiving WDS packets.
|
|||
|
wifi_unregister_rfid_locp_recv_cb<EFBFBD><EFBFBD>unregister the callback of receiving WDS packets.
|
|||
|
7.Rate Control APIs
|
|||
|
wifi_set_user_fixed_rate<EFBFBD><EFBFBD>set the fixed rate and mask of sending data from ESP8266
|
|||
|
wifi_get_user_fixed_rate<EFBFBD><EFBFBD>check the fixed rate and mask of ESP8266
|
|||
|
wifi_set_user_sup_rate<EFBFBD><EFBFBD>set the rate range supported by ESP8266 to limit the rate of sending packets from other devices.
|
|||
|
wifi_set_user_rate_limit<EFBFBD><EFBFBD>limit the rate of sending data from ESP8266.
|
|||
|
wifi_set_user_limit_rate_mask<EFBFBD><EFBFBD>set the interfaces of ESP8266 whose rate of sending packets is limited by wifi_set_user_rate_limit.
|
|||
|
wifi_get_user_limit_rate_mask<EFBFBD><EFBFBD>get the interfaces of ESP8266 whose rate of sending packets is limited by wifi_set_user_rate_limit.
|
|||
|
8.Espconn APIs
|
|||
|
espconn_sendto<EFBFBD><EFBFBD>send UDP data.
|
|||
|
espconn_secure_cert_req_enable<EFBFBD><EFBFBD>enable certificates verification function when ESP8266 runs as SSL client.
|
|||
|
espconn_secure_cert_req_disable<EFBFBD><EFBFBD>disable certificates verification function when ESP8266 runs as SSL client.
|
|||
|
espconn_secure_set_default_certificate<EFBFBD><EFBFBD>set the certificate when ESP8266 runs as SSL server.
|
|||
|
espconn_secure_set_default_private_key<EFBFBD><EFBFBD>set the encryption key when ESP8266 runs as SSL server.
|
|||
|
9.SmartConfig API
|
|||
|
smartconfig_set_type: set the protocol type of SmartConfig.
|
|||
|
|
|||
|
AT_v0.50 Release Note
|
|||
|
Note: For AT firmware to support FOTA, flash size need to be 1024KB or larger.
|
|||
|
1.Command "AT+CWSAP" add a parameter to set whether broadcast the SSID of ESP8266 soft-AP or not.
|
|||
|
2.Add new command "AT+CWSTARTSMART=<type>" to set a specific protocol type for SmartConfig, <type><3E><>1- ESPTOUCH<43><48>2-AirKiss<73><73>3-ESPTOUCH+AirKiss.
|
|||
|
3.Add "AT+CWDHCPS_CUR" and "AT+CWDHCPS_DEF" related commands to set/check DHCP lease time and IP range.
|
|||
|
|
|||
|
esp_iot_sdk_v1.3.0_15_08_08 Release Note
|
|||
|
Resolved Issues<65><73>Bugs below are eligible for Bug Bounty Program):
|
|||
|
1.Device can't connect to router after it gets ssid and password when using ESPTOUCH with router's ssid hidden. [<5B><><EFBFBD><EFBFBD>]
|
|||
|
2.Format string of os_random can't be supported by atoi. [<5B>λ]
|
|||
|
3.Optimized os_printf seems to have an issue on 4 bytes aligned and other valuable suggestions. [Andrey Filimonov]
|
|||
|
4.SmartConfig can<61><6E>t get IP address after connected to router. [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
|||
|
|
|||
|
Optimization:
|
|||
|
1.Memory optimization to save 12KBytes.
|
|||
|
2.Optimize RF calibration to short the booting time,more details in documentation "2A-ESP8266__IOT_SDK_User_Manual" chapter "Appendix".
|
|||
|
3.Optimize Wi-Fi function to solve issue that ESP8266 may fail to connect to a special router.
|
|||
|
4.Optimize software timer to solve the a connecting problem.Please do not call "os_delay_us" or "while" or "for" to occupy CPU more than 10 ms in timer callback.
|
|||
|
5.Optimize system_get_rst_info to obtain more accurate information about the start-up.
|
|||
|
6.Optimize function of Wi-Fi scanning to be more reliable.
|
|||
|
7.Optimize function of changing Wi-Fi mode to be more reliable.
|
|||
|
8.Optimize WPS to improve connectivity.And WPS does not support WEP, it will return status "WPS_CB_ST_WEP".
|
|||
|
9.Optimize Wi-Fi function to solve softAP multiple stations DHCP issue.
|
|||
|
10.Optimize TCP in LAST_ACK status.
|
|||
|
11.Optimize TLS to support SHA256, SHA384, SHA512.
|
|||
|
12.Memory optimization during TLS hand-shaking.
|
|||
|
13.Optimize OTA funtion to download big chunk of data.
|
|||
|
14.Add CRC32 in OTA function.Folder "tools" in esp_iot_sdk has to be updated, otherwise OTA will fail.
|
|||
|
15.Optimize mDNS to support both softAP and station interfaces.
|
|||
|
16.Optimize ESP-NOW, more details in "Add APIs"
|
|||
|
17.Update SmartConfig to version 2.4.7
|
|||
|
18.Remove "-O2" from makefile.
|
|||
|
19.Optimize header files to improve compatibility, will not affect compilation.
|
|||
|
|
|||
|
Add APIs:
|
|||
|
1.system_soft_wdt_feed : feed software watchdog
|
|||
|
2.wifi_softap_get_dhcps_lease<73><65>get IP range of ESP8266 softAP DHCP server
|
|||
|
3.ESP-NOW APIs
|
|||
|
esp_now_set_kok: set the secure key to encrypt ESP-NOW communication key
|
|||
|
esp_now_register_send_cb: register ESP-NOW send callback
|
|||
|
esp_now_unregister_send_cb: unregister ESP-NOW send callback
|
|||
|
|
|||
|
AT_v0.40 Release Note:
|
|||
|
Note: For AT firmware to support FOTA, flash size need to be 1024KB or more than that.
|
|||
|
|
|||
|
1.Add parameter <max conn> in command "AT+CWSAP" to set the maximum number of connections allowed.
|
|||
|
|
|||
|
|
|||
|
esp_iot_sdk_v1.2.0_15_07_03 Release Note
|
|||
|
Resolved Issues<65><73>Bugs below are eligible for Bug Bounty Program):
|
|||
|
1.TLS server disconnect to ESP8266 may cause crash. [<5B><><EFBFBD>»<EFBFBD>]
|
|||
|
|
|||
|
Optimization:
|
|||
|
1.Update SmartConfig to version 2.4 , corresponding to ESPTOUCH APP v0.3.4,delete parameter "sc_type type" in smartconfig_start, SmartConfig type can be got automatically.
|
|||
|
2.Add parameter "sint16 freq_offset; " in structure "bss_info" to get AP's frequency offset.
|
|||
|
3.Folder "ld" is updated, please use the latest one (\esp_iot_sdk_v1.2.0\ld )
|
|||
|
4.Add UDP transparent transmission example in documentation "4B-ESP8266__AT Command Examples"
|
|||
|
5.Revise the scan issue that may cause Wi-Fi connection break.
|
|||
|
6.Add ESP-NOW function, more details in "Add APIs"
|
|||
|
7.Add WPS function,more details in "Add APIs"
|
|||
|
8.Fixed a DNS fail issue with special router
|
|||
|
9.Optimize espconn,revise issues below:
|
|||
|
(1) enter sent callback late in UDP transmission
|
|||
|
(2) TCP shakehand may fail issue
|
|||
|
(3) SSL connection fail may cause crash
|
|||
|
(4) optimize SSL error handler
|
|||
|
10. Memory optimization
|
|||
|
|
|||
|
Add APIs:
|
|||
|
1.ESP-NOW APIs
|
|||
|
esp_now_init: init ESP-NOW function
|
|||
|
esp_now_deinit: deinit ESP-NOW function
|
|||
|
esp_now_register_recv_cb: register ESP-NOW receive callback
|
|||
|
esp_now_unregister_recv_cb: unregister ESP-NOW receive callback
|
|||
|
esp_now_send: send ESP-NOW packet
|
|||
|
esp_now_add_peer: add an ESP-NOW peer
|
|||
|
esp_now_del_peer: delete an ESP-NOW peer
|
|||
|
esp_now_set_self_role: set ESP-NOW role of device itself
|
|||
|
esp_now_get_self_role: get ESP-NOW role of device itself
|
|||
|
esp_now_set_peer_role: set ESP-NOW role about another device
|
|||
|
esp_now_get_peer_role: get ESP-NOW role about another device
|
|||
|
esp_now_set_peer_key: set ESP-NOW key of a device
|
|||
|
esp_now_get_peer_key: get ESP-NOW key of a device
|
|||
|
|
|||
|
2. WPS APIs
|
|||
|
wifi_wps_enable : enable WPS function
|
|||
|
wifi_wps_disable: disable WPS function
|
|||
|
wifi_wps_start: start WPS communication
|
|||
|
wifi_set_wps_cb: set WPS callback
|
|||
|
|
|||
|
3.software watchdog APIs
|
|||
|
system_soft_wdt_stop: stop software watchdog
|
|||
|
system_soft_wdt_restart: restart software watchdog
|
|||
|
|
|||
|
4.sntp_get_timezone: get SNTP timezone
|
|||
|
|
|||
|
AT_v0.30 Release Note:
|
|||
|
Note: For AT firmware to support FOTA, flash size need to be 1024KB or more than that.
|
|||
|
1.Command "AT+CWSTARTSMART" need not parameter any more, SmartConfig type can be got automatically.
|
|||
|
2.AP's frequency offset can be got by command "AT+CWLAP"
|
|||
|
3.Memory optimization
|
|||
|
|
|||
|
|
|||
|
esp_iot_sdk_v1.1.2_15_06_12 Release Note
|
|||
|
1. support certificate issuer verification for SSL
|
|||
|
2. Update SPI driver, support overlap mode
|
|||
|
Add APIs:
|
|||
|
1. wifi_station_set_hostname : set ESP8266 station DHCP hostname
|
|||
|
2. wifi_station_get_hostname : get ESP8266 station DHCP hostname
|
|||
|
3. spi_flash_set_read_func to set user specified reading SPI function on overlap mode
|
|||
|
4. espconn_secure_ca_disable : disable SSL CA verify
|
|||
|
5. espconn_secure_ca_enable : enable SSL CA verify
|
|||
|
|
|||
|
Add Documentation:
|
|||
|
1. SPI overlap introduction: \esp_iot_sdk\document
|
|||
|
2. SSL introduction: \esp_iot_sdk\document
|
|||
|
|
|||
|
esp_iot_sdk_v1.1.1_15_06_05 Release Note
|
|||
|
Resolved Issues<65><73>Bugs below are eligible for Bug Bounty Program):
|
|||
|
1.Too short timer which set by os_arm_timer_us may cause crash. [Tommy]
|
|||
|
2.Call os_malloc in low heap situation may cause crash. [MeneerThijs]
|
|||
|
3.Memory leak issue when SSL connection fail. [<5B><><EFBFBD>»<EFBFBD>]
|
|||
|
|
|||
|
Optimization:
|
|||
|
1.Update JSON parser to handle with illegal parameter and illegal calling progress.
|
|||
|
2.Add parameter of user_esp_platform_check_ip in user_websever.c which in IOT_Demo.
|
|||
|
3.Update UART driver to solve the problem that if send data through UART while ESP8266 startup may cause UART invalid.
|
|||
|
4.Update smartconfig to version 2.2, and update the description and example of smartconfig_start in document "2C_ESP8266__Programming Guide"
|
|||
|
5.Update code in iram to solve the problem that space for text is not enough.
|
|||
|
6.Update PWM driver and provide libpwm.a in esp_iot_sdk, so if using pwm, please update makefile refer to the makefile in SDK_v1.1.1 IoT_Demo example. Update PWM APIs in "2C_ESP8266__Programming Guide", more details in "Added APIs" below.
|
|||
|
7.Revised issue that multicast may fail in ESP8266 softAP mode.
|
|||
|
8.Update folder "driver",add folder "driver_lib" in \esp_iot_sdk\examples , add "hw_timer.c" about frc1 hardware timer.
|
|||
|
9.Remove useless driver code in IOT_Demo
|
|||
|
10.Update IOT_Demo to use the latest PWM driver in light demo.
|
|||
|
11.Provide liblwip_536.a of which MSS size is 536
|
|||
|
12.Revised issue that boot may fail when 80Mhz SPI clock selected
|
|||
|
13.Update esp_init_data_default.bin about RF option in \esp_iot_sdk\bin
|
|||
|
|
|||
|
Added APIs<49><73>
|
|||
|
1.PWM APIs<49><73>
|
|||
|
Updated<EFBFBD><EFBFBD> pwm_init<69><74>add parameter to set PWM channel and GPIO pin
|
|||
|
Added<EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>1<EFBFBD><EFBFBD>get_pwm_version<EFBFBD><EFBFBD>get version information of PWM driver
|
|||
|
<EFBFBD><EFBFBD>2<EFBFBD><EFBFBD>pwm_set_period<EFBFBD><EFBFBD>set PWM period
|
|||
|
<EFBFBD><EFBFBD>3<EFBFBD><EFBFBD>pwm_get_period<EFBFBD><EFBFBD>get PWM period
|
|||
|
Deleted<EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>1<EFBFBD><EFBFBD>pwm_set_freq<EFBFBD><EFBFBD>set PWM frequency
|
|||
|
<EFBFBD><EFBFBD>2<EFBFBD><EFBFBD>pwm_get_freq<EFBFBD><EFBFBD>get PWM frequency
|
|||
|
2.Read/write flash with protection
|
|||
|
<EFBFBD><EFBFBD>1<EFBFBD><EFBFBD>system_param_save_with_protect<EFBFBD><EFBFBD>write data into flash with backup protection
|
|||
|
<EFBFBD><EFBFBD>2<EFBFBD><EFBFBD>system_param_load<EFBFBD><EFBFBD>read data which saved into flash with backup protection
|
|||
|
3.system_get_rst_info<66><6F>get information about current startup<75><70>it is a normal startup or watch dog reset
|
|||
|
4.at_response<73><65>set AT response
|
|||
|
5.at_register_response_func<6E><63>register a callback for user-define AT response.
|
|||
|
6.Update document "2C_ESP8266__Programming Guide" to add description of interrupt definition in ets_sys.h
|
|||
|
|
|||
|
AT_v0.25 Release Note:
|
|||
|
Note: For AT firmware to support FOTA, flash size need to be 1024KB or more than that.
|
|||
|
Optimization:
|
|||
|
1.Add parameter about UDP local port in command "AT+SAVETRANSLINK"
|
|||
|
|
|||
|
Added AT command<6E><64>
|
|||
|
1.AT+CIPDINFO<46><4F>set configuration whether show remote IP and remote port with <20><>+IPD<50><44> or not
|
|||
|
|
|||
|
|
|||
|
esp_iot_sdk_v1.1.0_15_05_26 Release Note
|
|||
|
1.Licensing for SDK 1.1.0 change to the Espressif MIT license since esp_iot_sdk_v1.1.0_15_05_26
|
|||
|
|
|||
|
esp_iot_sdk_v1.1.0_15_05_22 Release Note
|
|||
|
Resolved Issues<65><73>Bugs below are eligible for Bug Bounty Program):
|
|||
|
1.Predictable TLS random values leads to insecure connections [projectgus]
|
|||
|
2.Connection problem in softAP+station mode.[<5B>ǽ<EFBFBD>ͨ]
|
|||
|
3.Low heap cause of reset when connect using SSL. [TuanPM]
|
|||
|
4.Smart config issue [bigbear]
|
|||
|
|
|||
|
Document "2C_ESP8266__Programming Guide" updates:
|
|||
|
1.Update Demo code of rtc timer in appendix, and rtc timer will return to zero after deep-sleep wake up. [andrew]
|
|||
|
2.Add "3.espconn callback" in appendix to introduce espconn callbacks and the pointer may be different in different callback.[nagverma]
|
|||
|
3.Add RF description in <20><>2.Overview<65><77><EFBFBD><EFBFBD>if RF is disabled<65><64>ESP8266 station and soft-AP are both disabled.[yiaiguo]
|
|||
|
4.Revise name of API "wifi_softap_set_dhcps_offer_option" [ryan]
|
|||
|
|
|||
|
Optimization:
|
|||
|
1.Solving the problem that some Wi-Fi events may be missing during test.
|
|||
|
2.UART Wi-Fi passthrough of UDP maybe change to oneway. [orgmar]
|
|||
|
3.Optimized FOTA to make upgrade faster
|
|||
|
4.ESP8266 soft-AP can connected to 8 stations at most, softap_config.max_connection default is 4
|
|||
|
5.ESP8266 station will connect to the stronger WiFi signal, if there are several APs sharing the same SSID.[stefan]
|
|||
|
6.Add 1024KB+1024KB flash map which need boot_v1.4+ and flash download tool_v1.2+, more details in document "2A-ESP8266_IOT_SDK_User_Manual"
|
|||
|
7.Optimized PWM driver
|
|||
|
8.Revised structure mdns_info to support 10 groups of text data.
|
|||
|
9.user_rf_pre_init has to be added in user_main.c, user can call system_phy_set_rfoption to set configuration of RF in it.Could refer to user_main.c in IOT_Demo (\esp_iot_sdk\examples)
|
|||
|
10.Update smartconfig
|
|||
|
(1) Need not call wifi_station_set_auto_connect to disable auto-connect before smartconfig any more
|
|||
|
(2) Delete smartconfig_get_status
|
|||
|
(3) Updates the example of smartconfig_start in "2C_ESP8266__Programming Guide"
|
|||
|
11.Remove some useless API from os_api.h, such as
|
|||
|
CODE: SELECT ALL
|
|||
|
diff -r esp_iot_sdk_v1.0.1/include/osapi.h esp_iot_sdk_v1.1.0/include/osapi.h
|
|||
|
39,41d31
|
|||
|
< #define os_timer_done ets_timer_done
|
|||
|
< #define os_timer_handler_isr ets_timer_handler_isr
|
|||
|
< #define os_timer_init ets_timer_init
|
|||
|
45d34
|
|||
|
< #define os_update_cpu_frequency ets_update_cpu_frequency
|
|||
|
|
|||
|
12.Remove interrupt related API from os_api.h, please use API in ets_sys.h instead, such as
|
|||
|
CODE: SELECT ALL
|
|||
|
diff -r esp_iot_sdk_v1.0.1/include/osapi.h esp_iot_sdk_v1.1.0/include/osapi.h
|
|||
|
#define os_intr_lock ets_intr_lock
|
|||
|
#define os_intr_unlock ets_intr_unlock
|
|||
|
#define os_isr_attach ets_isr_attach
|
|||
|
#define os_isr_mask ets_isr_mask
|
|||
|
#define os_isr_unmask ets_isr_unmask
|
|||
|
|
|||
|
13.Remove GPIO pull-down function from eagle_soc.h
|
|||
|
CODE: SELECT ALL
|
|||
|
#define PERIPHS_IO_MUX_PULLDWN BIT6
|
|||
|
#define PERIPHS_IO_MUX_SLEEP_PULLDWN BIT2
|
|||
|
#define PIN_PULLDWN_DIS(PIN_NAME) CLEAR_PERI_REG_MASK(PIN_NAME, PERIPHS_IO_MUX_PULLDWN)
|
|||
|
#define PIN_PULLDWN_EN(PIN_NAME) SET_PERI_REG_MASK(PIN_NAME, PERIPHS_IO_MUX_PULLDWN)
|
|||
|
|
|||
|
Note:
|
|||
|
There are no pull-down functions on GPIO pad now, so we should never use these registers.
|
|||
|
Add external resistance to pulldown the pin.
|
|||
|
|
|||
|
Added APIs<49><73>
|
|||
|
1.sntp_set_timezone: set SNTP time zone.
|
|||
|
2.espconn_dns_setserver : set default DNS server
|
|||
|
3.system_uart_de_swap : disable UART0 swap
|
|||
|
4.system_get_flash_size_map: get flash size and flash map
|
|||
|
5.system_phy_set_max_tpw : set maximum RF TX power
|
|||
|
6.system_phy_set_tpw_via_vdd33 <20><>set RF TX power according to VDD33
|
|||
|
7.system_phy_set_rfoption : set RF option
|
|||
|
8.wifi_station_get_rssi<73><69>get rssi of AP which ESP8266 station connected to <20><>
|
|||
|
9.wifi_softap_get_station_num <20><>get number count of stations connected to ESP8266 soft-AP
|
|||
|
|
|||
|
AT_v0.24 Release Note:
|
|||
|
Note: For AT firmware to support FOTA, flash size need to be 1024KB or more than that.
|
|||
|
Optimization:
|
|||
|
1.Disable data echo of command "AT+CIPSEND"
|
|||
|
2.Optimized "AT+CWJAP?" to get channel and rssi
|
|||
|
3.ESP8266 station IP can only be got and inquiried after ESP8266 station connected to AP
|
|||
|
|
|||
|
Added AT command<6E><64>
|
|||
|
1.AT+RFPOWER <20><>set maximum RF TX power
|
|||
|
2.AT+RFVDD <20><> set RF TX power according to VDD33
|
|||
|
|
|||
|
esp_iot_sdk_v1.0.1_15_04_24 Release Note
|
|||
|
Resolved Issues<65><73>Bugs below are eligible for Bug Bounty Program):
|
|||
|
1. SSL connection may fail if SSL packet size larger than 2kBytes [PeteW ]
|
|||
|
2. UDP remote IP to be 0.0.0.0 may cause reset [Jerry S]
|
|||
|
3. Optimize wifi_get_ip_info to fix loss of wireless connectivity problem
|
|||
|
4. Air-Kiss restart [Orgmar]
|
|||
|
|
|||
|
Optimization:
|
|||
|
1. Optimized IOT_Espressif_EspTouch.APK (apply for access from Espressif) for improved compatibility. [<5B><><EFBFBD>ƻ<EFBFBD>]
|
|||
|
2. TCP server can not open again immediately with the same port [624908539]
|
|||
|
3. Update UART driver for parity bit value may be incorrect [1062583993]
|
|||
|
4. Add define of <20><>ICACHE_RODATA_ATTR<54><52> for Symbol 'ICACHE_RODATA_ATTR' could not be resolved. [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
|||
|
5. Add API wifi_softap_dhcps_set_offer_option to enable/disable ESP8266 softAP DHCP server default gateway. [xyz769]
|
|||
|
6. AT register_uart_rx_intr may enter callback twice. [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]
|
|||
|
7.optimize document that WPA password length range <20><> 8 ~ 64 bytes [785057041]
|
|||
|
8. ESP8266 softAP DHCP server record 8 DHCP client's IP at most [ygjeon]
|
|||
|
9. To set static IP (wifi_set_ip_info) has to disable DHCP first(wifi_softap_dhcps_stop or wifi_station_dhcpc_stop)
|
|||
|
10.Add example of wifi_softap_set_dhcps_lease
|
|||
|
11. smartconfig_start can only be called in ESP8266 station mode
|
|||
|
|
|||
|
Added APIs:
|
|||
|
1. Wi-Fi related APIs:
|
|||
|
wifi_station_set_reconnect_policy: enable/disable reconnect when ESP8266 disconnect from router,default to be enable reconnect.
|
|||
|
wifi_set_event_handler_cb: set event handler of ESP8266 softAP or station status change.
|
|||
|
wifi_softap_dhcps_set_offer_option: enable/disable get router information from ESP8266 softAP, default to be enable.
|
|||
|
2. SNTP APIs:
|
|||
|
sntp_get_current_timestamp: get current timestamp from Jan 01, 1970, 00:00 (GMT)
|
|||
|
sntp_get_real_time: char<61><72>get real time (GTM + 8 time zone)
|
|||
|
sntp_init: initialize SNTP
|
|||
|
sntp_stop: stop SNTP
|
|||
|
sntp_setserver: set SNTP server by IP
|
|||
|
sntp_getserver: get SNTP server IP
|
|||
|
sntp_setservername: set SNTP server by domain name
|
|||
|
sntp_getservername: get domain name of SNTP server set by sntp_setservername
|
|||
|
3. MDNS APIs:
|
|||
|
espconn_mdns_init: initialize mDNS
|
|||
|
espconn_mdns_close: close mDNS
|
|||
|
espconn_mdns_server_register: register mDNS server
|
|||
|
espconn_mdns_server_unregister: unregister mDNS server
|
|||
|
espconn_mdns_get_servername: get mDNS server name
|
|||
|
espconn_mdns_set_servername: set mDNS server name
|
|||
|
espconn_mdns_set_hostname: get mDNS host name
|
|||
|
espconn_mdns_get_hostname: set mDNS host name
|
|||
|
espconn_mdns_disable: disable mDNS
|
|||
|
espconn_mdns_enable: endisable mDNS
|
|||
|
|
|||
|
AT_v0.23 Release Note:
|
|||
|
Optimized:
|
|||
|
1.AT+CWJAP add parameter "bssid", for several APs may have the same SSID
|
|||
|
|
|||
|
New AT commands:
|
|||
|
1. AT+CIPSENDBUF: write data into TCP-send-buffer; non-blocking. Background task automatically handles transmission. Has much higher throughput.
|
|||
|
2. AT+CIPBUFRESET: resets segment count in TCP-send-buffer
|
|||
|
3. AT+CIPBUFSTATUS: checks status of TCP-send-buffer
|
|||
|
4. AT+CIPCHECKSEGID: checks if a specific segment in TCP-send-buffer has sent successfully
|
|||
|
|
|||
|
|
|||
|
esp_iot_sdk_v1.0.1_b2_15_04_10 release note
|
|||
|
|
|||
|
Resolved Issues<65><73>Bugs below are eligible for Bug Bounty Program)<29><>
|
|||
|
1.Call espconn_sent to send UDP packet in user_init cause reset.[BBP#2 reporter (<28><>֮<EFBFBD><D6AE><EFBFBD><EFBFBD>)]
|
|||
|
2.UART & FlowControl issue: send data to FIFO without CTS flag will cause WDT
|
|||
|
3.UDP broadcast issue in WEP
|
|||
|
|
|||
|
Optimize:
|
|||
|
1.Add more details about measure ADC & VDD3P3 in appendix of document<6E><74>2C-SDK-Espressif IoT SDK Programming Guide<64><65>[BBP#15 reporter (DarkByte)]
|
|||
|
2.Can not do any WiFi related operation if WiFi mode is in NULL_MODE [BBP#23 reporter (hao.wang)]
|
|||
|
3.start_ip and end_ip won't change through API wifi_softap_set_dhcps_lease [BBP#37 reporter (glb)]
|
|||
|
4.AT get into busy state [BBP#35 reporter (tommy_hk)]
|
|||
|
5.ssid + password length limitation when using AirKiss [BBP#45 reporter (zhchbin)]
|
|||
|
|
|||
|
Add APIs<49><73>
|
|||
|
1.espconn_secure_set_size<7A><65>set buffer size for SSL packet
|
|||
|
2.espconn_secure_get_size<7A><65>get SSL buffer size
|
|||
|
3.at_register_uart_rx_intr<74><72>set UART0 to be used by user or AT commands
|
|||
|
|
|||
|
Add AT command:
|
|||
|
1.AT+SLEEP: set ESP8266 sleep mode
|
|||
|
|
|||
|
esp_iot_sdk_v1.0.1_b1_15_04_02 release note
|
|||
|
Resolved Issues<65><73>Bugs below are eligible for Bug Bounty Program)<29><>
|
|||
|
1. SmartConfig loses one bit of SSID [BBP#14 reporter (<28><><EFBFBD>ƻ<EFBFBD>)]
|
|||
|
2. Connection to ESP8266 softAP failed after SmartConfig<69><67>BBP#24 reporter (<28><><EFBFBD><EFBFBD>)]
|
|||
|
3. Exception occurred while updating spi_flash_write [BBP#13 reporter (DarkByte)]
|
|||
|
|
|||
|
Optimize:
|
|||
|
1.espconn_set_opt: set configuration of TCP connection,add parameter for TCP keep-alive
|
|||
|
|
|||
|
Add APIs:
|
|||
|
1.espconn_clear_opt: clear configuration of TCP connection
|
|||
|
2.espconn_set_keepalive: set configuration of TCP keep-alive to detect if TCP connection broke
|
|||
|
3.espconn_get_keepalive: get configuration of TCP keep-alive
|
|||
|
|
|||
|
AT_v0.23_b1 release note
|
|||
|
Note: AT added some functions so flash size need to be 1024KB or more than that.
|
|||
|
|
|||
|
Resolved Issue<75><65>
|
|||
|
1.Always "busy" if TCP connection abnormally broke during AT+CIPSEND
|
|||
|
|
|||
|
Optimize:
|
|||
|
1.Add UDP transparent transmission [BBP#1 reporter (<28><>)]
|
|||
|
2.Optimize the initial value of AT+CWDHCP? [BBP#10 reporter (ondrej.dolejsi)]
|
|||
|
3.Add TCP keep-alive function in AT+CIPSTART
|
|||
|
|
|||
|
Add AT command:
|
|||
|
1.Add AT+CIPSENDEX which support quit from sending mode by "\0" (so an useful "\0" need to be "\\0")[BBP#7 reporter (Jerry Sy)]
|
|||
|
|
|||
|
esp_iot_sdk_v1.0.0_15_03_20 release note
|
|||
|
|
|||
|
Resolved Issues<65><73>
|
|||
|
1<EFBFBD><EFBFBD>Interrupt during flash erasing will cause wdt reset<65><74>
|
|||
|
2<EFBFBD><EFBFBD>Read/write rtc memory<72><79>
|
|||
|
3<EFBFBD><EFBFBD>If router disconnect to ESP8266, ESP8266 won<6F><6E>t reconnect;
|
|||
|
4<EFBFBD><EFBFBD>Connect to router which hid its SSID
|
|||
|
|
|||
|
Add APIs:
|
|||
|
1<EFBFBD><EFBFBD>system_update_cpu_freq: change CPU frequency<63><79>
|
|||
|
2<EFBFBD><EFBFBD>wifi_promiscuous_set_mac: set a mac address filter during sniffer<65><72>
|
|||
|
3<EFBFBD><EFBFBD>wifi_set_broadcast_if : set which interface will UDP broadcast send from<6F><6D>
|
|||
|
|
|||
|
Optimization:
|
|||
|
1<EFBFBD><EFBFBD>Optimize smartconfig to version v1.0<EFBFBD><EFBFBD>Please don't call any other APIs during SmartConfig.
|
|||
|
2<EFBFBD><EFBFBD>Optimize AT to version 0.22.0.0<EFBFBD><EFBFBD>
|
|||
|
3<EFBFBD><EFBFBD>Optimize the protection of system parameters , and add error-check about it<69><74>
|
|||
|
4<EFBFBD><EFBFBD>Optimize beacon delay of ESP8266 softAP<41><50>
|
|||
|
5<EFBFBD><EFBFBD>Optimize boot to version 1.3(b3)<29><>
|
|||
|
1><3E><>Add API system_restart_enhance: for factory test, support to load and run program in any specific address<73><73>
|
|||
|
2><3E><>Add APIs to get boot version and start address of current user bin<69><6E>
|
|||
|
3><3E><>Fix compatibility problem of dual flash<73><68>
|
|||
|
6<EFBFBD><EFBFBD>Optimize sniffer, structure sniffer_buf changed, please refer to document<6E><74>
|
|||
|
7<EFBFBD><EFBFBD>Optimize espconn<6E><6E>
|
|||
|
8<EFBFBD><EFBFBD>Optimize pwm<77><6D>
|
|||
|
9<EFBFBD><EFBFBD>Other optimize to make the software more reliable<6C><65>
|
|||
|
|
|||
|
AT_v0.22 release note
|
|||
|
|
|||
|
Important Note:
|
|||
|
1.AT added some functions so it's larger than before, if you want to compile it, please modify ld files according to the <20><>!!!readme!!!" file.
|
|||
|
2."AT+CIUPDATE" , if you use Espressif AT bin(\esp_iot_sdk_v1.0.0\bin\at) directly it will upgrade bin files from Espressif Cloud; if you compiled your own AT, you need to do your own "AT+CIUPDATE" ,we provide a demo(\esp_iot_sdk_v1.0.0\examples\at ) showing upgrade from local server.
|
|||
|
3. Previous version of AT<41><54>can not upgrade from Espressif Cloud any more<72><65>please use this latest AT.
|
|||
|
|
|||
|
Fix bug:
|
|||
|
1<EFBFBD><EFBFBD>Wrong return value of AT+CIPSTATUS<55><53>
|
|||
|
2<EFBFBD><EFBFBD>wdt rest after <20><>0,CONNECT FAIL<49><4C><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
Add AT commands<64><73>
|
|||
|
1<EFBFBD><EFBFBD>Change AT commands of which configuration will store into flash to two kinds<64><73>
|
|||
|
XXX_CUR: current<6E><74>only set configuration<6F><6E>won<6F><6E>t save it into Flash<73><68>
|
|||
|
XXX_DEF: default, set configuration and save it to Flash
|
|||
|
2<EFBFBD><EFBFBD>Add SmartConfig in AT<41><54>
|
|||
|
AT+CWSTARTSMART/AT+CWSTOPSMART: start / stop SmartConfig
|
|||
|
Notice<EFBFBD><EFBFBD>please refer to the document<6E><74> call <20><>AT+CWSTOPSMART<52><54> to stop SmartConfig first since <20><>AT+CWSTARTSMART<52><54><EFBFBD><EFBFBD>then call other AT commands. Don<6F><6E>t call any other AT commands during SmartConfig.
|
|||
|
3<EFBFBD><EFBFBD>AT+SAVETRANSLINK<4E><4B>save transparent transmission link to Flash<73><68>
|
|||
|
Note<EFBFBD><EFBFBD>AT+CIPMODE=1 set to enter transparent transmission mode<64><65>won<6F><6E>t save to Flash.
|
|||
|
|
|||
|
Add AT APIs
|
|||
|
1<EFBFBD><EFBFBD>at_customLinkMax<EFBFBD><EFBFBD> set the max link that allowed, most can be 10; if you want to set it, please set it before at_init; if you didn<64><6E>t set it, the max link allowed is 5 by default.
|
|||
|
2<EFBFBD><EFBFBD>at_enter_special_state/ at_leave_special_state<74><65>Enter/leave AT processing state. In processing state, AT core will return <20><>busy<73><79> for any further AT commands.
|
|||
|
3<EFBFBD><EFBFBD>at_set_custom_info<EFBFBD><EFBFBD>set custom version information of AT which can be got by AT+GMR<4D><52>
|
|||
|
4<EFBFBD><EFBFBD>at_get_version<EFBFBD><EFBFBD>get version information of AT lib .
|
|||
|
|
|||
|
Optimize
|
|||
|
1<EFBFBD><EFBFBD>Add UDP remote ip and remote port is allowed to be parameters of <20><>AT+CIPSEND<4E><44>
|
|||
|
2<EFBFBD><EFBFBD>Move <20><>AT+CIUPDATE<54><45> from lib to AT demo<6D><6F>\esp_iot_sdk\examples\at<61><74>, AT demo shows how to upgrade AT firmware from a local server. Notice that AT upgrade the bin files name have to be "user1.bin" and "user2.bin".
|
|||
|
3<EFBFBD><EFBFBD>Optimize <20><>AT+CIPSTA<54><41>, add gateway and netmask as parameters
|
|||
|
4<EFBFBD><EFBFBD>Optimize transparent transmission.
|
|||
|
|
|||
|
esp_iot_sdk_v0.9.5_15_01_22 Release Note
|
|||
|
Fix bugs:
|
|||
|
1<EFBFBD><EFBFBD>Incorrect status got by API : wifi_station_get_connect_status<75><73>
|
|||
|
2<EFBFBD><EFBFBD>Sniffer can not quit without restart<72><74>
|
|||
|
3<EFBFBD><EFBFBD>wifi_station_ap_change always return true<75><65>
|
|||
|
4<EFBFBD><EFBFBD>TCP connection issues
|
|||
|
|
|||
|
Add APIs:
|
|||
|
1<EFBFBD><EFBFBD>system_deep_sleep_set_option: set what the chip will do when deep-sleep wake up<75><70>
|
|||
|
2<EFBFBD><EFBFBD>wifi_status_led_uninstall<EFBFBD><EFBFBD>
|
|||
|
3<EFBFBD><EFBFBD>wifi_station_ap_get_info : get information of AP that ESP8266 station connected.
|
|||
|
4<EFBFBD><EFBFBD>wifi_station_dhcpc_status & wifi_softap_dhcps_status <20><> get DHCP status
|
|||
|
5<EFBFBD><EFBFBD>smart config APIs
|
|||
|
6<EFBFBD><EFBFBD>add beacon_interval parameter in struct softap_config
|
|||
|
7<EFBFBD><EFBFBD>espconn_recv_hold and espconn_recv_unhold to block TCP receiving data and unblock it.
|
|||
|
8<EFBFBD><EFBFBD>AT APIs to let user define their own AT.
|
|||
|
|
|||
|
Optimize<EFBFBD><EFBFBD>
|
|||
|
1<EFBFBD><EFBFBD>light sleep<65><70>modem sleep<65><70>deep sleep
|
|||
|
2<EFBFBD><EFBFBD>compile method<6F><64>./gen_misc.sh <20><>then follow the tips and steps.
|
|||
|
3<EFBFBD><EFBFBD>when no buffer for os_malloc<6F><63>return NULL instead of malloc assert.
|
|||
|
4<EFBFBD><EFBFBD>users can enable #define USE_OPTIMIZE_PRINTF in user_config.h to remove strings of os_printf from ram to irom
|
|||
|
5<EFBFBD><EFBFBD>faster the re-connection of ESP8266 station to router after deep-sleep.
|
|||
|
6<EFBFBD><EFBFBD>update to boot v1.2 to support new format user.bin<69><6E>
|
|||
|
7<EFBFBD><EFBFBD>update ARP
|
|||
|
8<EFBFBD><EFBFBD>update SSL
|
|||
|
9<EFBFBD><EFBFBD>revised system_deep_sleep<65><70>system_deep_sleep(0)<29><>set no wake up timer<65><72>connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST
|
|||
|
|
|||
|
|
|||
|
esp_iot_sdk_v0.9.4_14_12_19 Release Note
|
|||
|
1<EFBFBD><EFBFBD>Update sniffer to support capture HT20 packet, and the length of HT40 packet<65><74>
|
|||
|
2<EFBFBD><EFBFBD>Add APIs to set and get sleep type<70><65>
|
|||
|
3<EFBFBD><EFBFBD>Add APIs to get version info of sdk, delete version.h<><68>
|
|||
|
4<EFBFBD><EFBFBD>RAW in LWIP is open source now, add API of function ping<6E><67>
|
|||
|
5<EFBFBD><EFBFBD>Update spi driver<65><72>
|
|||
|
6<EFBFBD><EFBFBD>Optimize APIs related to espconn<6E><6E>
|
|||
|
7<EFBFBD><EFBFBD>Fix some bugs to make the software more reliable<6C><65>
|
|||
|
|
|||
|
esp_iot_sdk_v0.9.3_14_11_21 Release Note
|
|||
|
1<EFBFBD><EFBFBD>Add license documentation of ESPRESSIF SDK
|
|||
|
2<EFBFBD><EFBFBD>Add APIs to read and write RTC memory, and APIs to get RTC time.
|
|||
|
3<EFBFBD><EFBFBD>Add APIs to swap UART0
|
|||
|
4<EFBFBD><EFBFBD>Add API to read ADC, delete adc.c.
|
|||
|
5<EFBFBD><EFBFBD>Add API to read spi flash id
|
|||
|
6<EFBFBD><EFBFBD>Revise struct station_config, add bssid parameters to distinguish different AP with same ssid ;
|
|||
|
Note: if station_config.bssid_set is not 0 , station_config.bssid has to be set, or connection will fail. So in general, station_config.bssid_set need to be 0.
|
|||
|
7<EFBFBD><EFBFBD>Revise struct scan_config, add scan_config.show_hidden to set whether scan APs which ssid is hidden or not; not scan, set scan_config.show_hidden to be 0.
|
|||
|
Add bss_info.is_hidden in struct bss_info to show if this AP<41><50>s ssid is hidden.
|
|||
|
8<EFBFBD><EFBFBD>Revise struct softap_config, add softap_config.ssid_len. If softap_config.ssid_len == 0, check ssid till find a termination characters; otherwise it depends on softap_config.ssid_len.
|
|||
|
9<EFBFBD><EFBFBD>Revise API <20><>wifi_softap_set_config<69><67> to take effect immediately, needs not restart to make the configuration enable any more.
|
|||
|
10<EFBFBD><EFBFBD>Add APIs to set and get physical layer mode<64><65>802.11b/g/n<><6E>
|
|||
|
11<EFBFBD><EFBFBD>Add APIs to enable and disable DHCP server of ESP8266 softAP
|
|||
|
12<EFBFBD><EFBFBD>Add APIs to enable and disable DHCP client of ESP8266 station
|
|||
|
13<EFBFBD><EFBFBD>Add API to set range of ip address that get from DHCP server
|
|||
|
14<EFBFBD><EFBFBD>Add APIs to set and get how many TCP connections allowed at max.
|
|||
|
15<EFBFBD><EFBFBD>Add APIs to set and get how many TCP clients allowed at max to a TCP server.
|
|||
|
16<EFBFBD><EFBFBD>Revise <20><>wifi_set_ip_info<66><6F> and <20><>wifi_set_macaddr<64><72> to take effect immediately.
|
|||
|
17<EFBFBD><EFBFBD>Fix some bugs to make the software more reliable.
|