Skip to main content

ble_gap_rpa_resolve

Function ble_gap_rpa_resolve 

Source
pub unsafe extern "C" fn ble_gap_rpa_resolve(
    rpa: *mut u8,
    ida: *mut u8,
    addr_type: *mut u8,
) -> bool
Expand description

Try to resolve an RPA using all stored peer IRKs and local IRKs.

  • rpa: input Resolvable Private Address
  • ida: output Identity Address
  • addr_type: output Address type * If resolved with peer IRK -> peer identity address is copied * If resolved with local IRK -> set to all zeros * If not resolved -> unchanged

Returns: ESP_OK if resolve, ESP_FAIL otherwise.