feat(ble/bluedroid): Support resolve BLE address for interval usage

(cherry picked from commit b88b511362)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
This commit is contained in:
Zhang Hai Peng
2024-09-25 12:13:31 +08:00
parent 707d097b01
commit 2fbe37a0e5
3 changed files with 14 additions and 2 deletions
@@ -134,10 +134,15 @@ uint8_t btm_acl_active_count(void)
return count;
}
#if (BLE_INCLUDED == TRUE)
// address resolution status
uint8_t btm_get_ble_addr_resolve_status(void)
{
return (uint8_t) btm_cb.addr_res_en;
}
void btm_ble_addr_resolve_enable(bool enable)
{
#if (BLE_INCLUDED == TRUE)
btm_cb.addr_res_en = enable;
#endif
}
#endif /*BLE_INCLUDED*/