Chapter 4. Software framework
In ESP-IDF v3.0 and later versions, if you open the PSRAM related options of the Bluetooth
menu in menuconfig, and put part of the .bss/.data section and heap of Bluedroid (Host)
into PSRAM, almost 50 KB memory space can be saved.
4.1.46 When I use the “gattc_gatts_coex.c”example on ESP32 to test BLE multi-
connection, it can only connect to four devices even after I set the BLE Max con-
nections in menuconfig to ve. What is the reason?
• Please set the BT/BLE MAX ACL CONNECTION in menuconfig to ve.
4.1.47 Does ESP32-C3 BLE support master and slave mode at the same time? What is
the number of connections in master mode and slave mode?
IDF: release/v4.3, master
• ESP32-C3 supports master and slave mode at the same time, which share 8 connections. For
example, if ESP32-C3 connects to 4 slave devices, it can be connected by 8 - 4 = 4 master devices.
• In addition, when ESP32-C3 is used as a slave, it can be connected by 8 master devices; when used
as a master, it can connect to 8 slave devices.
4.1.48 What is the maximum MTU Size of ESP32 Classic Bluetooth?
• ESP32 Classic Bluetooth has two protocols, namely A2DP and SPP. The maximum MTU Size setting of BT
A2DP (default) is 1008 bytes, of which the header occupies 12 bytes and the actual amount of data transmitted
by the application layer is 1008 - 12 = 996 (bytes); the maximum MTU Size of BT SPP (default) Set to 990
bytes.
4.1.49 How can I resolve the frequently occurred ELxXX error (such as ELx200) when
Wi-Fi and Ble co-exit?
CHIP: ESP32
• It has been xed in commit 386a8e37f19fecc9ef62e72441e6e1272fa985b9. Please switch to the
corresponding commit to test.
4.1.50 How does BLE capture packets?
• There are many available tools, such as:
– TI Packet snier
– NRF Packet snier
Espressif Systems 52
Submit Document Feedback
Release master