Merge branch 'feat/support_get_ble_local_irk_v5.4' into 'release/v5.4'

feat(ble/bluedroid): add API to get local BLE IRK (v5.4)

See merge request espressif/esp-idf!42760
This commit is contained in:
Island
2025-10-29 10:25:25 +08:00
4 changed files with 71 additions and 0 deletions
@@ -2561,6 +2561,20 @@ void BTM_BleReadControllerFeatures(tBTM_BLE_CTRL_FEATURES_CBACK *p_vsc_cback);
//extern
UINT8 *BTM_CheckAdvData( UINT8 *p_adv, UINT16 adv_data_len, UINT8 type, UINT8 *p_length);
/******************************************************************************
**
** Function BTM_GetLocalIRK
**
** Description Get the local Identity Resolving Key (IRK) from the device control block.
**
** Parameters irk : output buffer (16 bytes) to copy IRK into
**
** Returns true if IRK is available, false otherwise
**
******************************************************************************/
bool BTM_GetLocalIRK(uint8_t *irk);
/*******************************************************************************
**
** Function BTM_BleGetCurrentAddress