mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
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:
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user