zephyr::raw

Function bt_foreach_bond

source
pub unsafe extern "C" fn bt_foreach_bond(
    id: u8,
    func: Option<unsafe extern "C" fn(_: *const bt_bond_info, _: *mut c_void)>,
    user_data: *mut c_void,
)
Expand description

@brief Iterate through all existing bonds.

@param id Local identity (mostly just BT_ID_DEFAULT). @param func Function to call for each bond. @param user_data Data to pass to the callback function.