Chapter 4. Software framework
4.1.54 What is the maximum supported broadcast length of BLE 5.0 broadcast after it
is set to legacy mode?
• The maximum supported length is 31-byte.
4.1.55 How can I set a BLE broadcast package as unconnectable package?
CHIP: ESP32
• please reffer to the
static esp_ble_adv_params_t adv_params = {
.adv_int_min
.adv_int_max
.adv_type
.own_addr_type
//.peer_addr
//.peer_addr_type
.channel_map
.adv_filter_policy = ADV_FILTER_ALLOW_SCAN_ANY_CON_ANY,
}
4.1.56 How can I send Bluetooth HCI commands directly to ESP32-WROOM-32D mod-
ule through the serial port?
• Please refer to controller_hci_uart_esp32.
• When ESP32 is used as a controller, and the other device serves as a host, HCI commands can be sent to
ESP32 via UART.
4.1.57 Does ESP32 support transmitting audio stream using A2DP?
Yes, please refer to example a2dp_source.
4.1.58 How many devices can be connected at the most as suggested by the White List of
ESP32 Bluetooth LE?
• The maximum supported number is 12.
4.1.59 Can ESP32 Bluetooth LE use PSRAM?
To enable Bluetooth LE to use PSRAM, please go to Component config > Bluetooth > Blue-
droid Options and enable
Espressif Systems
gatt_server
demo,and set adv_type as ADV_TYPE_NONCONN_IND.
= 0x20,
= 0x40,
= ADV_TYPE_NONCONN_IND,
= BLE_ADDR_TYPE_PUBLIC,
=
=
= ADV_CHNL_ALL,
BT/BLE will first malloc the memory from the
54
Submit Document Feedback
PSRAM。
Release master
Need help?
Do you have a question about the ESP and is the answer not in the manual?