mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
fix(bt/bqb): Modify BQB related configurations
This commit is contained in:
@ -47,13 +47,12 @@ config BT_CLASSIC_ENABLED
|
|||||||
help
|
help
|
||||||
For now this option needs "SMP_ENABLE" to be set to yes
|
For now this option needs "SMP_ENABLE" to be set to yes
|
||||||
|
|
||||||
config BT_BQB_ENABLED
|
config BT_CLASSIC_BQB_ENABLED
|
||||||
bool "BT HOST BQB"
|
bool "Host Qualitifcation support for Classic Bluetooth"
|
||||||
depends on BT_CLASSIC_ENABLED
|
depends on BT_CLASSIC_ENABLED
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This enables the BQB support.
|
This enables functionalities of Host qualification for Classic Bluetooth.
|
||||||
Only for bt BQB test.
|
|
||||||
|
|
||||||
config BT_A2DP_ENABLE
|
config BT_A2DP_ENABLE
|
||||||
bool "A2DP"
|
bool "A2DP"
|
||||||
|
@ -96,10 +96,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//BQB(BT)
|
//BQB(BT)
|
||||||
#ifdef CONFIG_BT_BQB_ENABLED
|
#ifdef CONFIG_BT_CLASSIC_BQB_ENABLED
|
||||||
#define UC_BT_BQB_ENABLED CONFIG_BT_BQB_ENABLED
|
#define UC_BT_CLASSIC_BQB_ENABLED CONFIG_BT_CLASSIC_BQB_ENABLED
|
||||||
#else
|
#else
|
||||||
#define UC_BT_BQB_ENABLED FALSE
|
#define UC_BT_CLASSIC_BQB_ENABLED FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//BLE
|
//BLE
|
||||||
|
@ -519,10 +519,10 @@
|
|||||||
#define BTM_BLE_PRIVATE_ADDR_INT UC_BT_BLE_RPA_TIMEOUT
|
#define BTM_BLE_PRIVATE_ADDR_INT UC_BT_BLE_RPA_TIMEOUT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (UC_BT_BQB_ENABLED == TRUE)
|
#if (UC_BT_CLASSIC_BQB_ENABLED == TRUE)
|
||||||
#define BT_BQB_INCLUDED TRUE
|
#define BT_CLASSIC_BQB_INCLUDED TRUE
|
||||||
#else
|
#else
|
||||||
#define BT_BQB_INCLUDED FALSE
|
#define BT_CLASSIC_BQB_INCLUDED FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* This feature is used to eanble interleaved scan*/
|
/* This feature is used to eanble interleaved scan*/
|
||||||
@ -1536,6 +1536,12 @@
|
|||||||
#define RFCOMM_INCLUDED FALSE
|
#define RFCOMM_INCLUDED FALSE
|
||||||
#endif
|
#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
|
#ifndef BTA_JV_RFCOMM_INCLUDED
|
||||||
#define BTA_JV_RFCOMM_INCLUDED FALSE
|
#define BTA_JV_RFCOMM_INCLUDED FALSE
|
||||||
#endif
|
#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);
|
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.
|
** 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 i;
|
||||||
UINT8 dlci;
|
UINT8 dlci;
|
||||||
@ -543,7 +543,7 @@ void bqb_rfc_send_msc_cmd(BD_ADDR cert_pts_addr)
|
|||||||
}
|
}
|
||||||
osi_free(p_pars);
|
osi_free(p_pars);
|
||||||
}
|
}
|
||||||
#endif /* BT_BQB_INCLUDED */
|
#endif /* BT_RFCOMM_BQB_INCLUDED */
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
**
|
**
|
||||||
|
Reference in New Issue
Block a user