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 reer to the gatt_server demo,and set adv_type as ADV_TYPE_NONCONN_IND.
static esp_ble_adv_params_t adv_params = {
.adv_int_min = 0x20,
.adv_int_max = 0x40,
.adv_type = ADV_TYPE_NONCONN_IND,
.own_addr_type = BLE_ADDR_TYPE_PUBLIC,
//.peer_addr =
//.peer_addr_type =
.channel_map = ADV_CHNL_ALL,
.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 BT/BLE will rst malloc the memory from the PSRAM。
Espressif Systems 54
Submit Document Feedback
Release master