Merge branch 'feature/support_for_32_and_128_bit_custom_uuids' into 'master'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs Closes IDFGH-10721 See merge request espressif/esp-idf!27069
This commit is contained in:
@@ -4103,6 +4103,22 @@ BOOLEAN BTM_HasEirService( UINT32 *p_eir_uuid, UINT16 uuid16 );
|
||||
tBTM_EIR_SEARCH_RESULT BTM_HasInquiryEirService( tBTM_INQ_RESULTS *p_results,
|
||||
UINT16 uuid16 );
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_HasCustomEirService
|
||||
**
|
||||
** Description This function is called to know if UUID is already in custom
|
||||
** UUID list.
|
||||
**
|
||||
** Parameters custom_uuid - pointer to custom_uuid array in tBTA_DM_CB
|
||||
** uuid - UUID struct
|
||||
**
|
||||
** Returns TRUE - if found
|
||||
** FALSE - if not found
|
||||
**
|
||||
*******************************************************************************/
|
||||
BOOLEAN BTM_HasCustomEirService( tBT_UUID *custom_uuid, tBT_UUID uuid );
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_AddEirService
|
||||
@@ -4118,6 +4134,20 @@ tBTM_EIR_SEARCH_RESULT BTM_HasInquiryEirService( tBTM_INQ_RESULTS *p_results,
|
||||
//extern
|
||||
void BTM_AddEirService( UINT32 *p_eir_uuid, UINT16 uuid16 );
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_AddCustomEirService
|
||||
**
|
||||
** Description This function is called to add a custom UUID.
|
||||
**
|
||||
** Parameters custom_uuid - pointer to custom_uuid array in tBTA_DM_CB
|
||||
** uuid - UUID struct
|
||||
**
|
||||
** Returns None
|
||||
**
|
||||
*******************************************************************************/
|
||||
void BTM_AddCustomEirService(tBT_UUID *custom_uuid, tBT_UUID uuid);
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_RemoveEirService
|
||||
@@ -4133,6 +4163,20 @@ void BTM_AddEirService( UINT32 *p_eir_uuid, UINT16 uuid16 );
|
||||
//extern
|
||||
void BTM_RemoveEirService( UINT32 *p_eir_uuid, UINT16 uuid16 );
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_RemoveCustomEirService
|
||||
**
|
||||
** Description This function is called to remove a a custom UUID.
|
||||
**
|
||||
** Parameters custom_uuid - pointer to custom_uuid array in tBTA_DM_CB
|
||||
uuid - UUID struct
|
||||
**
|
||||
** Returns None
|
||||
**
|
||||
*******************************************************************************/
|
||||
void BTM_RemoveCustomEirService(tBT_UUID *custom_uuid, tBT_UUID uuid);
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function BTM_GetEirSupportedServices
|
||||
|
||||
Reference in New Issue
Block a user