请勿使用本旧版本 SDK,建议使用 最新发布 SDK。
ESP8266_NONOS_SDK_V1.2.0_15_07_03 Release Note
Resolved Issues(Bugs below are eligible for Bug Bounty Program):
1.TLS server disconnect to ESP8266 may cause crash. [孙新虎]
Optimization:
- Update SmartConfig to version 2.4 , corresponding to ESPTOUCH APP v0.3.4 (https://github.com/EspressifApp/), delete parameter "sc_type type" in smartconfig_start, SmartConfig type can be got automatically.
- Add parameter "sint16 freq_offset; " in structure "bss_info" to get AP's frequency offset.
- Folder "ld" is updated, please use the latest one (\esp_iot_sdk_v1.2.0\ld )
- Add UDP transparent transmission example in documentation "4B-ESP8266__AT Command Examples"
- Revise the scan issue that may cause Wi-Fi connection break.
- Add ESP-NOW function, more details in "Add APIs"
- Add WPS function,more details in "Add APIs"
- Fixed a DNS fail issue with special router
- ESPCONN enter sent callback late in UDP transmission
- ESPCONN TCP shakehand may fail issue
- ESPCONN SSL connection fail may cause crash
- ESPCONN optimize SSL error handler
- Memory optimization
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
自从乐鑫信息科技于 2015-03-20 启动 Bug 赏金计划以来,我们收到了一些重要问题反馈及建议,感谢世界各地的开发者对 ESP8266的关注,推动我们的软件更进一步,技术支持团队也得到迅速地成长。我们将在如下发布日志中点名感谢您的帮助。
ESP8266_NONOS_SDK_V1.2.0_15_07_03 Release Note
修正问题(符合乐鑫 Bug 赏金计划):
1.TLS server 主动断开连接导致崩溃的问题. [孙新虎]
优化:
1.更新 SmartConfig 到版本 v2.4 ,请对应使用 ESPTOUCH APP v0.3.4 (https://github.com/EspressifApp/)
SmartConfig 删除了接口 smartconfig_start 中的参数"sc_type type", SmartConfig 的类型可自动获得,无需再设置。
2.结构体"bss_info"中增加参数 "sint16 freq_offset",可获得 AP 的频偏值
3.更新了文件夹 "ld", 请更新使用最新的 ld 文件( \esp_iot_sdk_v1.2.0\ld )
4.文档 "4B-ESP8266__AT Command Examples" 中增加 UDP 透传的使用示例
5.修正扫描附近 AP 可能导致 Wi-Fi 断开的问题
6.新增 ESP-NOW 功能,详细内容见 "新增 APIs"
7.新增 WPS 功能,详细内容见 "新增 APIs"
8.修正特殊路由下 DNS fail 的问题
9.优化 espconn 修复以下问题:
(1) UDP SEND OK回复慢的问题
(2) 某些服务器 TCP 握手失败的问题
(3) TLS server 主动断开连接导致崩溃的问题.
(4) 优化TLS server主动断开连接与接收数据出错的处理
10. 内存优化
新增 APIs:
1.ESP-NOW APIs
esp_now_init: 初始化 ESP-NOW 功能
esp_now_deinit: 卸载 ESP-NOW 功能
esp_now_register_recv_cb: 注册 ESP-NOW 收包回调
esp_now_unregister_recv_cb: 注销 ESP-NOW 收包回调
esp_now_send: 发送 ESP-NOW 数据包
esp_now_add_peer: 增加 ESP-NOW 关联设备
esp_now_del_peer: 删除 ESP-NOW 关联设备
esp_now_set_self_role: 设置自身的 ESP-NOW 角色
esp_now_get_self_role: 查询自身的 ESP-NOW 角色
esp_now_set_peer_role: 设置指定设备的 ESP-NOW 角色
esp_now_get_peer_role: 查询指定设备的 ESP-NOW 角色
esp_now_set_peer_key: 设置指定设备的 ESP-NOW 密钥
esp_now_get_peer_key: 查询指定设备的 ESP-NOW 密钥
2. WPS APIs
wifi_wps_enable : 使能 WPS
wifi_wps_disable: 去能 WPS
wifi_wps_start: 开始 WPS 交互
wifi_set_wps_cb: 设置 WPS 回调
3.软件看门狗 APIs
system_soft_wdt_stop: 停止软件看门狗
system_soft_wdt_restart: 重新启动软件看门狗
4.sntp_get_timezone: 查询 SNTP 时区
AT_v0.30 Release Note:
注意:运行 AT 固件,支持云端升级,请使用 1024KB 或以上容量的 flash
1.指令"AT+CWSTARTSMART" 不需要再设置参数,SmartConfig 的类型可自动获得,无需设置。
2.指令"AT+CWLAP" 可获得扫描到的 AP 频偏值
3.内存优化