zephyr::raw

Function bt_unpair

source
pub unsafe extern "C" fn bt_unpair(
    id: u8,
    addr: *const bt_addr_le_t,
) -> i32
Expand description

@brief Clear pairing information.

@param id Local identity (mostly just BT_ID_DEFAULT). @param addr Remote address, NULL or BT_ADDR_LE_ANY to clear all remote devices.

@return 0 on success or negative error value on failure.