mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-21 06:56:11 -04:00
fix(bt/bqb): Modify BQB related configurations
This commit is contained in:
parent
f05c0a36e8
commit
2b8e8e832a
@ -47,13 +47,12 @@ config BT_CLASSIC_ENABLED
|
||||
help
|
||||
For now this option needs "SMP_ENABLE" to be set to yes
|
||||
|
||||
config BT_BQB_ENABLED
|
||||
bool "BT HOST BQB"
|
||||
config BT_CLASSIC_BQB_ENABLED
|
||||
bool "Host Qualitifcation support for Classic Bluetooth"
|
||||
depends on BT_CLASSIC_ENABLED
|
||||
default n
|
||||
help
|
||||
This enables the BQB support.
|
||||
Only for bt BQB test.
|
||||
This enables functionalities of Host qualification for Classic Bluetooth.
|
||||
|
||||
config BT_A2DP_ENABLE
|
||||
bool "A2DP"
|
||||
|
@ -96,10 +96,10 @@
|
||||
#endif
|
||||
|
||||
//BQB(BT)
|
||||
#ifdef CONFIG_BT_BQB_ENABLED
|
||||
#define UC_BT_BQB_ENABLED CONFIG_BT_BQB_ENABLED
|
||||
#ifdef CONFIG_BT_CLASSIC_BQB_ENABLED
|
||||
#define UC_BT_CLASSIC_BQB_ENABLED CONFIG_BT_CLASSIC_BQB_ENABLED
|
||||
#else
|
||||
#define UC_BT_BQB_ENABLED FALSE
|
||||
#define UC_BT_CLASSIC_BQB_ENABLED FALSE
|
||||
#endif
|
||||
|
||||
//BLE
|
||||
|
@ -519,10 +519,10 @@
|
||||
#define BTM_BLE_PRIVATE_ADDR_INT UC_BT_BLE_RPA_TIMEOUT
|
||||
#endif
|
||||
|
||||
#if (UC_BT_BQB_ENABLED == TRUE)
|
||||
#define BT_BQB_INCLUDED TRUE
|
||||
#if (UC_BT_CLASSIC_BQB_ENABLED == TRUE)
|
||||
#define BT_CLASSIC_BQB_INCLUDED TRUE
|
||||
#else
|
||||
#define BT_BQB_INCLUDED FALSE
|
||||
#define BT_CLASSIC_BQB_INCLUDED FALSE
|
||||
#endif
|
||||
|
||||
/* This feature is used to eanble interleaved scan*/
|
||||
@ -1536,6 +1536,12 @@
|
||||
#define RFCOMM_INCLUDED FALSE
|
||||
#endif
|
||||
|
||||
#if (RFCOMM_INCLUDED == TRUE) && (BT_CLASSIC_BQB_INCLUDED == TRUE)
|
||||
#define BT_RFCOMM_BQB_INCLUDED TRUE
|
||||
#else
|
||||
#define BT_RFCOMM_BQB_INCLUDED FALSE
|
||||
#endif
|
||||
|
||||
#ifndef BTA_JV_RFCOMM_INCLUDED
|
||||
#define BTA_JV_RFCOMM_INCLUDED FALSE
|
||||
#endif
|
||||
|
@ -500,15 +500,15 @@ void rfc_send_rpn (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command,
|
||||
rfc_send_buf_uih (p_mcb, RFCOMM_MX_DLCI, p_buf);
|
||||
}
|
||||
|
||||
#if BT_BQB_INCLUDED
|
||||
#if BT_RFCOMM_BQB_INCLUDED
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function bqb_rfc_send_msc_cmd
|
||||
** Function rfc_bqb_send_msc_cmd
|
||||
**
|
||||
** Description This function sends msc command for BQB test.
|
||||
**
|
||||
*******************************************************************************/
|
||||
void bqb_rfc_send_msc_cmd(BD_ADDR cert_pts_addr)
|
||||
void rfc_bqb_send_msc_cmd(BD_ADDR cert_pts_addr)
|
||||
{
|
||||
UINT8 i;
|
||||
UINT8 dlci;
|
||||
@ -543,7 +543,7 @@ void bqb_rfc_send_msc_cmd(BD_ADDR cert_pts_addr)
|
||||
}
|
||||
osi_free(p_pars);
|
||||
}
|
||||
#endif /* BT_BQB_INCLUDED */
|
||||
#endif /* BT_RFCOMM_BQB_INCLUDED */
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
|
Loading…
Reference in New Issue
Block a user