mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-19 07:55:54 +00:00
fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE GPIO DEBUG
This commit is contained in:
@@ -205,6 +205,16 @@ the advertising packet will be discarded until the memory is restored. */
|
||||
#define BTDM_BLE_CHAN_ASS_EN (0)
|
||||
#endif
|
||||
|
||||
#if CONFIG_BTDM_CTRL_CONTROLLER_DEBUG_MODE_1
|
||||
#define BTDM_CTRL_CONTROLLER_DEBUG_MODE_1 (1 << 1)
|
||||
#else
|
||||
#define BTDM_CTRL_CONTROLLER_DEBUG_MODE_1 0
|
||||
#endif
|
||||
|
||||
#ifndef BTDM_CTRL_CONTROLLER_DEBUG_FLAG
|
||||
#define BTDM_CTRL_CONTROLLER_DEBUG_FLAG (BTDM_CTRL_CONTROLLER_DEBUG_MODE_1 | CONTROLLER_ADV_LOST_DEBUG_BIT)
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BTDM_BLE_PING_EN)
|
||||
#define BTDM_BLE_PING_EN (CONFIG_BTDM_BLE_PING_EN)
|
||||
#else
|
||||
@@ -224,7 +234,7 @@ the advertising packet will be discarded until the memory is restored. */
|
||||
.normal_adv_size = NORMAL_SCAN_DUPLICATE_CACHE_SIZE, \
|
||||
.mesh_adv_size = MESH_DUPLICATE_SCAN_CACHE_SIZE, \
|
||||
.send_adv_reserved_size = SCAN_SEND_ADV_RESERVED_SIZE, \
|
||||
.controller_debug_flag = CONTROLLER_ADV_LOST_DEBUG_BIT, \
|
||||
.controller_debug_flag = BTDM_CTRL_CONTROLLER_DEBUG_FLAG, \
|
||||
.mode = BTDM_CONTROLLER_MODE_EFF, \
|
||||
.ble_max_conn = CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF, \
|
||||
.bt_max_acl_conn = CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF, \
|
||||
|
Reference in New Issue
Block a user