ESP-IDF Release v3.0.4
Documentation for release v3.0.4 is available at https://docs.espressif.com/projects/esp-idf/en/v3.0.4/
ESP-IDF v3.0.4 is a bugfix-only update for ESP-IDF v3.0.3. Release v3.0.4 is compatible with apps written for ESP-IDF v3.0.x.
The latest stable version of ESP-IDF is v3.1.
This is the list of changes since release v3.0.3:
Bluetooth Related
- Fix CVE-2018-5383 for BLE ("Bluetooth implementations may not sufficiently validate elliptic curve parameters during Diffie-Hellman key exchange")
(Note: ESP-IDF V3.1 has the fix for both BLE & Classic BT.) - Retrieve disconnection reason in AVDT when ACL-U link is disconnected
- Fix uncleared LMP transaction collision state after rejecting sniff request from slave
- BLE: Fix to correctly stop advertising when connected
- Fix version exchange issue
- Fix get bond list error when connection is not bonded
- Fix SC_MITM_BOND failure in SMP for iphones
- Fix for BT timer oneshot mode sometimes triggering twice
- Increase max value and default for scan duplicate filter
- Fix memory leak in security server
- Check support of AFH in remote slave device's LM feature when determine whether to send LMP_set_AFH
- BLE: Fix get incorrect adv packet sometimes
- Fix incorrect computation of PCM data buffer size in A2DP sink
- Fix a probable memory leak for BTA_GATTS_CONF_EVT event
- Fix a bug where BT controller init/deinit/enable/disable can cause a crash
LWIP Related
- Backport LWIP timer implementation from LWIP v2.0.3
- Fix compilation when AutoIP feature is enabled
- Fix assert when closing a nonblocking TCP socket
- Example: fix the crash when http2_request example send/recv fail
WiFi Related
- Add CCMP encryption compatibility
- Improve 802.11n TX reliability for some APs
- Fix next beacon and dtim time update issue when a beacon is not received for more than one beacon interval
- Fix AP loss in some circumstances
- Fix for scanning during connect process
- Add check for beacon length in modem sleep
- Fix for SoftAP sometimes deauthing wrong station when inactivity timer expires
- Fix the system assert when receiving empty MCS in association response frame
- Reorder MPDU as AMPDU (fixes situation where AP alternates between sending each type)
System Related
- Support for QIO mode of XM25QU64A flash chip
ULP Related
- Correct some instruction fetch and execute times
- Fix calculation of ulp_run() argument
- Add documentation for JUMPS instruction
- Additional small fixes & documentation cleanup
Driver Related
- spi: fix the issue that spi driver cannot be used when flash is disabled
Storage Related
- SPIFFS: Fix stackoverflow due to recursion in vfs_spiffs_readdir_r
Documentation Related
- Add new version-specific instructions for
git clone
- Add documentation page explaining different versions.
Obtaining v3.0.4
For full installation instructions, see the ESP-IDF Programming Guide.
The source files attached to this release will not work due to our use of git submodules. Use one of the following methods instead:
Using git
To get this release, use the following commands:
git clone -b v3.0.4 --recursive https://github.com/espressif/esp-idf.git esp-idf-v3.0.4
cd esp-idf-v3.0.4/
This is the recommended way of obtaining v3.0.4 of ESP-IDF.
Download an archive with submodules included
Attached to this release is an esp-idf-v3.0.4.zip
archive. It includes .git
directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from Github.
This archive can also be downloaded from Espressif's download server:
https://dl.espressif.com/dl/esp-idf/releases/esp-idf-v3.0.4.zip