ESP8266 WiFi software – Software Development Kit (espressif)
Dit is de officiële SDK voor de ESP8266 SoC chip.
Standaard heb je de SDK uitvoering: ESP8266 Non-OS SDK,
daar is een variant op gemaakt om met seriële (AT) commando’s de “modem” aan te sturen: ESP8266 AT SDK
de ESP8266 RTOS SDK versie is gebaseerd op FreeRTOS en is te downloaden op Github.
Download ESP8266 Espressif SDK @ espressif.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
AT_v0.51_on_esp_iot_sdk_v1.5.0_15_11_27 Since this ESP8266_AT_v0.51, AT firmware is too large to fit in 4Mbit (512KB) Flash. Please use 8Mbit (1MB) or larger Flash. Revise the error of the first byte in AT command when UART RX interrupt handler is implemented. Revise the malfunction of display when AT+CWLAP is invoked to scan a specific AP._V1.5.0 AT_v0.50_on_esp_iot_sdk_v1.4.0_15_09_18 Command "AT+CWSAP" add a parameter to set whether broadcast the SSID of ESP8266 soft-AP or not. Add new command "AT+CWSTARTSMART=<type>" to set a specific protocol type for SmartConfig, <type>:1- ESPTOUCH,2-AirKiss,3-ESPTOUCH+AirKiss. Add "AT+CWDHCPS_CUR" and "AT+CWDHCPS_DEF" related commands to set/check DHCP lease time and IP range. AT_v0.20_on_esp_iot_sdk_v0.9.3_14_11_28 1. Added AT command to set and get APIP/APMAC/STAIP /STAMAC 2. Added AT command to enable and disable DHCP 3. Added UDP transmission 4. Added AT command to enter deep-sleep mode. 5. Added AT command to control echo. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 |
esp_iot_sdk_v1.5.0_15_11_27 Resolved Issues(Bugs below are eligible for Bug Bounty Program): Returned value of system_get_rst_info is wrong. Optimization: Optimize espconn_regist_recvcb for UDP transmission. Print information will prompt errors if the input parameters of os_time_arm excess the upper limit. Optimize memory management. Optimize RF frequency offset. Print information will prompt errors if the size of bin file is too large in OTA. Optimize mDNS. Revise UART output print error when powered on again after call system_uart_swap. Revise errors during multiple UDP transmissions. Revise the error when wifi_station_set_config_default is called and the same AP is set as before, while information cannot be stored in the Flash. Optimize the error of packet loss during UDP transmission process under single station mode. Add new function, WPA2-Enterprise is supported. SmartConfig version is upgraded to V2.5.3. Mesh version is upgraded to V0.2.3. User application needs to add "-lcrypto" in 'LINKFLAGS_eagle.app.v6" area of Makefile. Added APIs: espconn_abort: break TCP connection compulsively. espconn_secure_delete: delete the SSL server when ESP8266 runs as SSL server. wifi_station_set_cert_key: set certificate and private key for WPA2 Enterprise. wifi_station_clear_cert_key: release the resouce of connecting to WPA2 Enterprise AP, and clear the status. AT_v0.51 Release Note: Since this ESP8266_NONOS_SDK_V1.5.0, AT firmware is too large to fit in 4Mbit (512KB) Flash. Please use 8Mbit (1MB) or larger Flash. Revise the error of the first byte in AT command when UART RX interrupt handler is implemented. Revise the malfunction of display when AT+CWLAP is invoked to scan a specific AP. esp_iot_sdk_v1.4.0_15_09_18 Resolved Issues(Bugs below are eligible for Bug Bounty Program): Espconn may fail to download big chunk of data(FOTA). Invalid TCP data sent issue. Fatal exceptions occur when change WiFi mode in WiFi scan callback. WiFi compatibility problem of special network card. Deep sleep may appear high current under certain circumstances. Optimization: Add a new method to check memory leaks (API : system_show_malloc). Add print information when exception happens. Resolve the problem of os_timer_disarm. Optimize DHCP server, add API to set up the lease time of DHCP server. More details are in the “Added APIs”. Add event “EVENT_STAMODE_DHCP_TIMEOUT” for the DHCP timeout handling mechanism. Optimize handling of the reception of data and ZWP message. Add new APIs to support SSL bidirectional authentication. More details are in the “Added APIs”. Add new APIs to set up SSL certificates and encryption keys. espconn_secure_set_default_certificate & 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 “Added APIs”. Optimize the process of FOTA (firmware upgrade through Wi-Fi). Please update the \esp_iot_sdk\makefile and \esp_iot_sdk\app\gen_misc. Optimize mDNS, and resolve the problem that in certain case the ESP8266 softAP can not work in the sta+AP mode. Release mesh as a lib in the esp_iot_sdk, and do not provide SDK of the mesh version any more. Optimize mesh’s handling of UDP packets. Optimize checking of the validity of the mesh API’s parameters. Add an API to set up the largest hop of mesh. For detailed information, go to mesh instructions. Optimize the process of powering up and booting to shorten booting time by 20 ms. Optimize the function of automatic frequency offset calibration. Optimize the function of sniffer. Strengthen reliability of the checking of beacon timeout. Optimize Wi-Fi event mechanism, and add event “ EVENT_SOFTAPMODE_PROBEREQRECVED”, and reason for a failed connection. Optimize Wi-Fi callback function and strengthen reliability of the software. Add the function of data transferring between stations in the soft-AP mode. Update SmartConfig to the version of 2.5.1. Update esp_init_data_default.bin. Please use the newest esp_init_data_default.bin when burning. 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: System API system_show_malloc : for checking memory leak, to print the memory usage. DHCP server lease time related APIs wifi_softap_set_dhcps_lease_time:set ESP8266 softAP DHCP server lease time. wifi_softap_get_dhcps_lease_time:check ESP8266 softAP DHCP server lease time. wifi_softap_reset_dhcps_lease_time:reset ESP8266 softAP DHCP server lease time which is 120 minutes by default. wifi_station_dhcpc_set_maxtry:set the maximum number that ESP8266 station DHCP client will try to reconnect to the AP. Force sleep APIs wifi_fpm_open:enable force sleep function. wifi_fpm_close:disable force sleep function. wifi_fpm_do_sleep:force ESP8266 enter sleep mode. wifi_fpm_do_wakeup:wake ESP8266 up from force sleep. wifi_fpm_set_sleep_type:set sleep type of force sleep function. wifi_fpm_get_sleep_type:get sleep type of force sleep function. Send packet freedom APIs (to send user-define 802.11 packets) wifi_register_send_pkt_freedom_cb:register a callback for sending user-define 802.11 packets. wifi_unregister_send_pkt_freedom_cb:unregister the callback for sending user-define 802.11 packets. wifi_send_pkt_freedom:send user-define 802.11 packet. RFID LOCP APIs wifi_rfid_locp_recv_open:enable RFID LOCP to receive WDS packets. wifi_rfid_locp_recv_close:disable RFID LOCP. wifi_register_rfid_locp_recv_cb:register a callback of receiving WDS packets. wifi_unregister_rfid_locp_recv_cb:unregister the callback of receiving WDS packets. Rate Control APIs wifi_set_user_fixed_rate:set the fixed rate and mask of sending data from ESP8266 wifi_get_user_fixed_rate:check the fixed rate and mask of ESP8266 wifi_set_user_sup_rate:set the rate range supported by ESP8266 to limit the rate of sending packets from other devices. wifi_set_user_rate_limit:limit the rate of sending data from ESP8266. wifi_set_user_limit_rate_mask:set the interfaces of ESP8266 whose rate of sending packets is limited by wifi_set_user_rate_limit. wifi_get_user_limit_rate_mask:get the interfaces of ESP8266 whose rate of sending packets is limited by wifi_set_user_rate_limit. Espconn APIs espconn_sendto:send UDP data. espconn_secure_cert_req_enable:enable certificates verification function when ESP8266 runs as SSL client. espconn_secure_cert_req_disable:disable certificates verification function when ESP8266 runs as SSL client. espconn_secure_set_default_certificate:set the certificate when ESP8266 runs as SSL server. espconn_secure_set_default_private_key:set the encryption key when ESP8266 runs as SSL server. SmartConfig API smartconfig_set_type: set the protocol type of SmartConfig. esp_iot_sdk_v1.3.0_15_08_08 Resolved Issues(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. 2.Format string of os_random can't be supported by atoi. 3.Optimized os_printf seems to have an issue on 4 bytes aligned and other valuable suggestions. 4.SmartConfig can’t get IP address after connected to router. 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" (\esp_iot_sdk_v1.3.0\tools) updated, please use the latest one, 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: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 esp_iot_sdk_v1.2.0_15_07_03 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 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 esp_iot_sdk_v1.1.1_15_06_05 Resolved Issues(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. 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, corresponding phone APP v0.3.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: 1.PWM APIs: Updated: pwm_init,add parameter to set PWM channel and GPIO pin Added: (1)get_pwm_version:get version information of PWM driver (2)pwm_set_period:set PWM period (3)pwm_get_period:get PWM period Deleted: (1)pwm_set_freq:set PWM frequency (2)pwm_get_freq:get PWM frequency 2.Read/write flash with protection (1)system_param_save_with_protect:write data into flash with backup protection (2)system_param_load:read data which saved into flash with backup protection 3.system_get_rst_info:get information about current startup,it is a normal startup or watch dog reset. struct rst_info is revised from parameter "flag" to "reason" which is introduced in document "2C_ESP8266__Programming Guide" 4.at_response:set AT response 5.at_register_response_func: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: 1.AT+CIPDINFO:set configuration whether show remote IP and remote port with “+IPD” or not esp_iot_sdk_v1.1.0_15_05_26 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 esp_iot_sdk_v1.0.1_15_04_24 Note: AT added some functions so flash size need to be 1024KB or more than that. Resolved Issues(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. [赵云华] 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 “ICACHE_RODATA_ATTR” for Symbol 'ICACHE_RODATA_ATTR' could not be resolved. [龚军臣] 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. [落笔正] 7.optimize document that WPA password length range : 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,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 2.AT add status of ESP8266 station connect to AP 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.0_15_03_20 Fix bugs: 1、 Interrupt during flash erasing will cause wdt reset; 2、 Read/write rtc memory; 3、 If router disconnect to ESP8266, ESP8266 won’t reconnect; 4、 Connect to router which hid its SSID Add APIs: 1、system_update_cpu_freq: change CPU frequency; 2、wifi_promiscuous_set_mac: set a mac address filter during sniffer; 3、wifi_set_broadcast_if : set which interface will UDP broadcast send from; Optimization: 1、Optimize smartconfig to version v1.0;Please don't call any other APIs during SmartConfig. 2、Optimize AT to version 0.22.0.0; 3、Optimize the protection of system parameters , and add error-check about it; 4、Optimize beacon delay of ESP8266 softAP; 5、Optimize boot to version 1.3(b3); 1>、Add API system_restart_enhance: for factory test, support to load and run program in any specific address; 2>、Add APIs to get boot version and start address of current user bin; 3>、Fix compatibility problem of dual flash; 6、Optimize sniffer, structure sniffer_buf changed, please refer to document; 7、Optimize espconn; 8、Optimize pwm; 9、Other optimize to make the software more reliable; 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 “!!!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,can not upgrade from Espressif Cloud any more,please use this latest AT. Fix bug: 1、Wrong return value of AT+CIPSTATUS; 2、wdt rest after “0,CONNECT FAIL”; Add AT commands: 1、 Change AT commands of which configuration will store into flash to two kinds: XXX_CUR: current,only set configuration,won’t save it into Flash; XXX_DEF: default, set configuration and save it to Flash 2、Add SmartConfig in AT: AT+CWSTARTSMART/AT+CWSTOPSMART: start / stop SmartConfig Notice:please refer to the document, call “AT+CWSTOPSMART” to stop SmartConfig first since “AT+CWSTARTSMART”,then call other AT commands. Don’t call any other AT commands during SmartConfig. 3、 AT+SAVETRANSLINK:save transparent transmission link to Flash; Note:AT+CIPMODE=1 set to enter transparent transmission mode,won‘t save to Flash. Add AT APIs 1、at_customLinkMax: 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’t set it, the max link allowed is 5 by default. 2、at_enter_special_state/ at_leave_special_state:Enter/leave AT processing state. In processing state, AT core will return “busy” for any further AT commands. 3、at_set_custom_info:set custom version information of AT which can be got by AT+GMR; 4、at_get_version:get version information of AT lib . Optimize 1、 Add UDP remote ip and remote port is allowed to be parameters of “AT+CIPSEND” 2、 Move “AT+CIUPDATE” from lib to AT demo(\esp_iot_sdk\examples\at), 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、 Optimize “AT+CIPSTA”, add gateway and netmask as parameters 4、 Optimize transparent transmission. Known issues: 1. DHCP client may get wrong IP address 2. Lib c string issue 3. wifi_station_get_connect_status won‘t change immediately. esp_iot_sdk_v0.9.5_15_01_23 AT becomes a lib attached to esp_iot_sdk Programming guide in “document” shows APIs for user to define their own AT commands AT bin files are in \esp_iot_sdk\bin\at,please pay attention to the “readme.txt” Fix bugs: 1、Incorrect status got by API : wifi_station_get_connect_status; 2、Sniffer can not quit without restart; 3、wifi_station_ap_change always return true; 4、TCP connection issues Add APIs: 1、system_deep_sleep_set_option: set what the chip will do when deep-sleep wake up; 2、wifi_status_led_uninstall; 3、wifi_station_ap_get_info : get information of AP that ESP8266 station connected. 4、wifi_station_dhcpc_status & wifi_softap_dhcps_status : get DHCP status 5、smart config APIs, more details in documents. 6、add beacon_interval parameter in struct softap_config 7、espconn_recv_hold and espconn_recv_unhold to block TCP receiving data and unblock it. 8、AT APIs to let user define their own AT, more details in documents. Optimize: 1、light sleep、modem sleep、deep sleep 2、compile method:./gen_misc.sh ,then follow the tips and steps. 3、when no buffer for os_malloc,return NULL instead of malloc assert. 4、users can enable #define USE_OPTIMIZE_PRINTF in user_config.h to remove strings of os_printf from ram to irom 5、faster the re-connection of ESP8266 station to router after deep-sleep. 6、update to boot v1.2 to support new format user.bin; 7、update ARP 8、update SSL 9、revised system_deep_sleep,system_deep_sleep(0),set no wake up timer,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 1、Update sniffer to support capture HT20 packet, and the length of HT40 packet; 2、Add APIs to set and get sleep type; 3、Add APIs to get version info of sdk, delete version.h; 4、RAW in LWIP is open source now, add API of function ping; 5、Update spi driver; 6、Optimize APIs related to espconn; 7、Fix some bugs to make the software more reliable; Known Issue: 1、exception of small probability occured while recving multi-client data in softap 2、restart of small probability occured while tcp client reconnecting |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
ESP8266_RTOS_SDK_V1.4.0 update boot.bin to v1.5; phy version to 762; add wifi_station_set/get_hostname api; optimize net80211; optimize ssl; optimize ota; optimize dhcp client; update smartconfig to version 2.5.3; support gpio wakeup; enable IGMP in lwip; some modify due to phy update; add espconn_init in espconn.h; update cjson/freertos/ssl; add lwip/nopoll source code; add libairkiss.a/airkiss.h, update smart_config; update esp_init_data_default.bin; irom0 too large, start addr change to 0x20000; some modifications for system stability; header files update, add API documents (pdf & html); fix a bug in wifi_send_pkt_freedom; modify driver code due to _xt_isr_attach parameter changed; many other optimization; ESP8266_RTOS_SDK_V1.3.0_15_11_02 Add libssc.a, simple serial console lib. Add libspiffs.a, SPI file system. Add libwps.a to support WPS. Add libespconn.a, Espressif connection lib. Add libespnow.a to support Espressif ESP-NOW. Add libmesh.a, Espressif mesh. Add libnopoll.a, websocket. Add make_lib.sh in “third_party” folder. Add modem-sleep & light-sleep supported. Update libcirom.a to support float IO. Update gen_misc.sh & gen_misc.bat. Update header files, add comments in doxygen style. Update libsmartconfig.a to version 2.5.2. Update libssl.a. Updates driver (PWM/UART/GPIO/SPI/Hardware timer). Update open source codes of third_party. Modify “ld” files, “dram0 len” should be 0×18000 in RTOS SDK. Remove header files in extra_include, which are already in compile folder. Other APIs sync from non-OS SDK, more details in documentation“20B-ESP8266__RTOS_SDK_API Reference”. Other optimization to make the software more stable. ESP8266_RTOS_SDK_V1.1.0_15_08_21 Release Notes Supports PWM. Supports C++. Refer to ld folder for more details. Add rand to libminic. Add REASON_EXT_SYS_RST to rst_reason. Updated the compilation script gen_misc.sh and gen_misc.bat to use the new boot and to remove the old one. Update folder tools to support CRC check of bin files. Refer to tools folder for more details. Optimize the WiFi event handling. Fix bugs in printf when system is low on memory. Fix exception and WDT reset bugs. Fix Wi-Fi connection bugs. Fix Wi-Fi scan bugs. Optimize wifi_station_get_connect_status API to more accurate RSSI values. More optimization of RTOS SDK. Miscellaneous minor bugs. |
[#/esp/sdk/esp8266″ ]