zephyr::raw

Function bt_le_bond_exists

Source
pub unsafe extern "C" fn bt_le_bond_exists(
    id: u8,
    addr: *const bt_addr_le_t,
) -> bool
Expand description

@brief Check if a device identified by a Bluetooth LE address is bonded.

Valid Bluetooth LE identity addresses are either public address or random static address.

@param id Local identity (typically @ref BT_ID_DEFAULT). @param addr Bluetooth LE device address.

@return true if @p addr is bonded with local @p id