ESP-IDF Release v3.1.2
Documentation for release v3.1.2 is available at https://docs.espressif.com/projects/esp-idf/en/v3.1.2/
ESP-IDF v3.1.2 is a bugfix-only update for ESP-IDF v3.1.1. Release v3.1.2 is compatible with apps written for ESP-IDF v3.1.x.
This is the list of changes since release v3.1.1:
Wi-Fi Related
- Fix bug that MIC verification fails on soft-AP mode
- Modify mesh root to have same behavior as normal Wi-Fi STA in state change
- sniffer: Fix bug where control packets were not captured
- sniffer: Fix issue where disabling sniffer would permanently disable Wi-Fi STA mode, if both were being used together.
- Fix crash in soft-AP mode
- Fix ACM (Admission Control Management) bug
- Enable RX BAR (Block ACK Request)
- Fix issue which causes an iOS device to use 802.11g data rate when connecting to ESP32 AP, instead of 802.11n.
- Fix issue which causes an ESP32 in station mode to disconnect from certain APs which announce two SSIDs.
- Fix occasional failure of
esp_restart()
oresp_wifi_stop()
in Wi-Fi/BT coexist mode. - Add a timer which is started by
esp_wifi_stop()
. Stop Wi-Fi forcibly once the timer expires.
Bluetooth Related
BLE Related
- Add set default passkey function to set static passkey
- Add option to only accept specified Authentication
- Add BLE disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
- Check
peer_addr_type
field ofesp_ble_adv_params_t
and return error if the value is invalid - Fix rare BLE
assert(32768, 0)
orassert(65536, 0)
crashes in controllerrwble.c
- Fix BLE asserts when Wi-Fi coexistence is enabled
Classic BT Related
- Allow dynamic allocation of SBC encoder/decoder buffer used in A2DP
- SPP: Fix service_name buffer size
- SPP: Add profile descriptor list
Controller Related
- Fix ACL RX buffer corruption if a high priority task blocks the Bluetooth task
- Fix a crash which may happen when BT controller is disabled while BLE is in use
- Fix Wi-Fi issues (timeouts, buffer errors) after disabling controller
- Fix Wi-Fi issues (RX failures, TX timeouts, lack of buffers) which occur when disabling BT controller
- Fix interrupt watchdog timeout when Wi-Fi coexistence is enabled
Bluetooth Sniffer Mode
- Fix miscalculation of sniff anchor point resulting in connection supervision timeout
- Allow setting sniff attempts larger than 255
Ethernet related
- Fix potential memory leak when
L2_TO_L3_RX_BUF_MODE
is not selected
LWIP related
- Fix rare crash when closing a TCP socket, due to race between
sys_arch_mbox_fetch
/sys_arch_mbox_post
andsys_arch_mbox_free
mDNS related
- Fix crash on network change
System Related
- Do not attempt to load PHY init data when NVS is not initialized
- Allow interrupts to be allocated and freed on different cores
- Support 64MBit PSRAM (1.8V and 3.3V)
- Fix deadlock when accessing AES, SHA, MPI hardware accelerators (#2295)
- freertos: use
xTaskQueueMutex
to protect tick count - mbedtls: Fix compilation errors when
CONFIG_MBEDTLS_HARDWARE_AES
is disabled - esp_timer: Add semaphore to prevent deleting timers while callbacks are dispatched
Storage Related
- fatfs: Fix a potential deadlock caused by logging in critical sections
Peripheral Driver Related
- i2c: enable I2C master hardware filter by default
- spi: fix crash when ISR callbacks are not in IRAM but driver configuration enables ISRs in IRAM.
Obtaining v3.1.2
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.1.2 --recursive https://github.com/espressif/esp-idf.git esp-idf-v3.1.2
cd esp-idf-v3.1.2/
This is the recommended way of obtaining v3.1.2 of ESP-IDF.
Download an archive with submodules included
Attached to this release is an esp-idf-v3.1.2.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.1.2.zip