请勿使用本旧版本 SDK,建议使用 最新发布 SDK。
Licensing for SDK 1.1.0 change to the Espressif MIT license since ESP8266_NONOS_SDK_V1.1.0_15_05_26
Since the launch of the Espressif Bug Bounty Program beginning on March 20, 2015, we’ve received some important bug reports across the world which have helped us a lot in improving our SDK and our support to customers as well. We’d like to name them in our release note to show our great appreciations to all of the reporters for their feedback.
ESP8266_NONOS_SDK_V1.1.0_15_05_26 Release Note
Resolved Issues(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.[智捷通]
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 “2.Overview”,if RF is disabled,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:
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 :set RF TX power according to VDD33
7.system_phy_set_rfoption : set RF option
8.wifi_station_get_rssi:get rssi of AP which ESP8266 station connected to
9.wifi_softap_get_station_num :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:
1.AT+RFPOWER :set maximum RF TX power
2.AT+RFVDD : set RF TX power according to VDD33
If using esp_iot_sdk_v1.1.0_15_05_22 to compile AT demo which in \examples\at,please enable #define AT_CUSTOM_UPGRADE in user_config.h
自从乐鑫信息科技于 2015-03-20 启动 Bug 赏金计划以来,我们收到了一些重要问题反馈及建议,感谢世界各地的开发者对 ESP8266的关注,推动我们的软件更进一步,技术支持团队也得到迅速地成长。我们将在如下发布日志中点名感谢您的帮助。
注意:从 ESP8266_NONOS_SDK_V1.1.0_15_05_26 起,切换为 Espressif MIT license
ESP8266_NONOS_SDK_V1.1.0_15_05_26 Release Note
修正问题(符合乐鑫 Bug 赏金计划):
1.随机值的生成可以被预测,完善随机数的产生机制 [projectgus]
2.softAP+station 模式下,可能连接 ESP8266 soft-AP 失败 [智捷通]
3.内存不足导致 SSL 连接时重启. [TuanPM]
4.Smart config 相关问题 [bigbear]
文档 "2C_ESP8266__Programming Guide" 更新:
1.更新附录中的 RTC 示例代码,RTC 时钟会因 deep-sleep 清零. [andrew]
2.附录新增 "3.espconn callback"介绍 espconn callbacks,不同的 espconn callback 中 espconn 结构体指针可能不同.[nagverma]
3.“2.概述”中增加 RF 设置的说明,如果不打开 RF ,ESP8266 station 和 soft-AP 均失效。[yiaiguo]
4.修正 API 名称 "wifi_softap_set_dhcps_offer_option" [ryan]
优化:
1.解决特定测试环境下某些 Wi-Fi events 可能缺失的问题。
2.UDP 透传可能变成单向传输的相关问题 [orgmar]
3.优化 FOTA 的底层实现,加快升级速度
4.ESP8266 soft-AP 最多可连接 8 个 station, 默认最大连接个数为 4
5.当多个 AP 的 SSID password相同时,ESP8266 station 默认连接信号最强的 AP。[stefan]
6.更新 boot_v1.4 及编译文件,更新 flash download tool_v1.2,支持 1024KB+1024KB flash map , flash map 的详细介绍见文档 "2A-ESP8266_IOT_SDK_User_Manual"
7.优化 PWM driver
8.优化 structure mdns_info 支持 10 组 text data.
9.请务必在 user_main.c 中新增 user_rf_pre_init , 用户可在 user_rf_pre_init 中调用 system_phy_set_rfoption 配置 RF 初始化。可参考 IOT_Demo (\esp_iot_sdk\examples) 中的 user_main.c
10.改进 smart config
(1)无需在 smart config 前调用 wifi_station_set_auto_connect 关闭自动连接。
(2)删除 smartconfig_get_status
(3)更新文档 "2C_ESP8266__Programming Guide" 中 smartconfig_start 的使用示例
11.删除 os_api.h 中部分无用的 API,如下:
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.移除 os_api.h 中断相关的 API , 请使用 ets_sys.h 中的 API 代替 具体移除以下 API :
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.移除 eagle_soc.h 中的 GPIO pull-down 的定义
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)
注意:
ESP8266 GPIO 没有 pull-down 功能。
新增 APIs:
1.sntp_set_timezone: SNTP 设置时区
2.espconn_dns_setserver : 设置默认 DNS server
3.system_uart_de_swap : 取消 UART0 转换
4.system_get_flash_size_map: 查询 flash size 和 flash map
5.system_phy_set_max_tpw : 设置 RF TX power 最大值
6.system_phy_set_tpw_via_vdd33 :根据 VDD33 设置 RF TX power
7.system_phy_set_rfoption : 设置 RF
8.wifi_station_get_rssi:查询 ESP8266 station 连接的 AP 的信号强度
9.wifi_softap_get_station_num :查询连接到 ESP8266 soft-AP 的 station 数目
AT_v0.24 Release Note:
注意:运行 AT 固件,支持云端升级,请使用 1024KB 或以上容量的 flash
优化:
1."AT+CIPSEND" 发送数据时,数据不回显
2.优化"AT+CWJAP?" 可获得信道和信号强度
3.必须在 ESP8266 station 连接到 AP 后,才能查询到 ESP8266 station IP
新增 AT command:
1.AT+RFPOWER :设置 RF TX power 最大值
2.AT+RFVDD : 根据 VDD33 设置 RF TX power
如果使用 esp_iot_sdk_v1.1.0_15_05_22,编译 \examples\at 提供的 AT demo,请使能 user_config.h 中的 #define AT_CUSTOM_UPGRADE
Thanks for your interest in ESP8266 !