diff --git a/hardware/tools/esp8266/sdk/changelog.txt b/hardware/tools/esp8266/sdk/changelog.txt index 47322841f..e9453c59d 100644 --- a/hardware/tools/esp8266/sdk/changelog.txt +++ b/hardware/tools/esp8266/sdk/changelog.txt @@ -1,3 +1,27 @@ +esp_iot_sdk_v1.0.1_b2_15_04_10 release note +------------------------------------------- + +Fix bugs: +1.Call espconn_sent to send UDP packet in user_init cause reset.[BBP#2 reporter (????)] +2.UART & FlowControl issue: send data to FIFO without CTS flag will cause WDT [BBP#11 reporter (pvxx)] +3.SSL issue,add an API (espconn_secure_set_size) to set SSL buffer size [BBP#29 reporter (PeteW)] +4.UDP broadcast issue in WEP + +Optimize: +1.Add more details about measure ADC & VDD3P3 in appendix of document“2C-SDK-Espressif IoT SDK Programming Guide”[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: +1.espconn_secure_set_size:set buffer size for SSL packet +2.espconn_secure_get_size:get SSL buffer size +3.at_register_uart_rx_intr: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 ------------------------------------------- diff --git a/hardware/tools/esp8266/sdk/include/eagle_soc.h b/hardware/tools/esp8266/sdk/include/eagle_soc.h index c46a24329..59214159e 100644 --- a/hardware/tools/esp8266/sdk/include/eagle_soc.h +++ b/hardware/tools/esp8266/sdk/include/eagle_soc.h @@ -244,6 +244,7 @@ #define PERIPHS_IO_MUX_SD_DATA0_U (PERIPHS_IO_MUX + 0x20) #define FUNC_SDDATA0 0 #define FUNC_SPIQ_MISO 1 +#define FUNC_SPIQ 1 #define FUNC_GPIO7 3 #define FUNC_U1TXD 4 #define FUNC_UART1_TXD 4 diff --git a/hardware/tools/esp8266/sdk/include/espconn.h b/hardware/tools/esp8266/sdk/include/espconn.h index 94111c2db..b11124400 100644 --- a/hardware/tools/esp8266/sdk/include/espconn.h +++ b/hardware/tools/esp8266/sdk/include/espconn.h @@ -103,6 +103,14 @@ enum espconn_level{ ESPCONN_KEEPCNT }; +enum { + ESPCONN_IDLE = 0, + ESPCONN_CLIENT, + ESPCONN_SERVER, + ESPCONN_BOTH, + ESPCONN_MAX +}; + /****************************************************************************** * FunctionName : espconn_connect * Description : The function given as the connect @@ -399,6 +407,27 @@ sint8 espconn_secure_disconnect(struct espconn *espconn); sint8 espconn_secure_sent(struct espconn *espconn, uint8 *psent, uint16 length); +/****************************************************************************** + * FunctionName : espconn_secure_set_size + * Description : set the buffer size for client or server + * Parameters : level -- set for client or server + * 1: client,2:server,3:client and server + * size -- buffer size + * Returns : true or false +*******************************************************************************/ + +bool espconn_secure_set_size(uint8 level, uint16 size); + +/****************************************************************************** + * FunctionName : espconn_secure_get_size + * Description : get buffer size for client or server + * Parameters : level -- set for client or server + * 1: client,2:server,3:client and server + * Returns : buffer size for client or server +*******************************************************************************/ + +sint16 espconn_secure_get_size(uint8 level); + /****************************************************************************** * FunctionName : espconn_secure_accept * Description : The function given as the listen diff --git a/hardware/tools/esp8266/sdk/lib/liblwip.a b/hardware/tools/esp8266/sdk/lib/liblwip.a index 41d09216e..1cfca2841 100644 Binary files a/hardware/tools/esp8266/sdk/lib/liblwip.a and b/hardware/tools/esp8266/sdk/lib/liblwip.a differ diff --git a/hardware/tools/esp8266/sdk/lib/libmain.a b/hardware/tools/esp8266/sdk/lib/libmain.a index 30077f166..2b889d385 100644 Binary files a/hardware/tools/esp8266/sdk/lib/libmain.a and b/hardware/tools/esp8266/sdk/lib/libmain.a differ diff --git a/hardware/tools/esp8266/sdk/lib/libnet80211.a b/hardware/tools/esp8266/sdk/lib/libnet80211.a index 02c5a7419..84faea50a 100644 Binary files a/hardware/tools/esp8266/sdk/lib/libnet80211.a and b/hardware/tools/esp8266/sdk/lib/libnet80211.a differ diff --git a/hardware/tools/esp8266/sdk/lib/libpp.a b/hardware/tools/esp8266/sdk/lib/libpp.a index e1dc1ec2c..d7168ddde 100644 Binary files a/hardware/tools/esp8266/sdk/lib/libpp.a and b/hardware/tools/esp8266/sdk/lib/libpp.a differ diff --git a/hardware/tools/esp8266/sdk/lib/libsmartconfig.a b/hardware/tools/esp8266/sdk/lib/libsmartconfig.a index 9b30b2136..a73493874 100644 Binary files a/hardware/tools/esp8266/sdk/lib/libsmartconfig.a and b/hardware/tools/esp8266/sdk/lib/libsmartconfig.a differ diff --git a/hardware/tools/esp8266/sdk/lib/libssl.a b/hardware/tools/esp8266/sdk/lib/libssl.a index dcef7b9a0..d4660259c 100644 Binary files a/hardware/tools/esp8266/sdk/lib/libssl.a and b/hardware/tools/esp8266/sdk/lib/libssl.a differ diff --git a/hardware/tools/esp8266/sdk/lib/libwpa.a b/hardware/tools/esp8266/sdk/lib/libwpa.a index 4199bd8bf..7ae259010 100644 Binary files a/hardware/tools/esp8266/sdk/lib/libwpa.a and b/hardware/tools/esp8266/sdk/lib/libwpa.a differ diff --git a/hardware/tools/esp8266/sdk/version b/hardware/tools/esp8266/sdk/version index afaf360d3..108c1c648 100644 --- a/hardware/tools/esp8266/sdk/version +++ b/hardware/tools/esp8266/sdk/version @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.0.1_b2_15_04_10 \ No newline at end of file