zephyr::raw

Function bt_le_per_adv_sync_transfer_unsubscribe

source
pub unsafe extern "C" fn bt_le_per_adv_sync_transfer_unsubscribe(
    conn: *const bt_conn,
) -> i32
Expand description

@brief Unsubscribe from periodic advertising sync transfers (PASTs).

Remove the parameters that allow other devices to transfer periodic advertising syncs.

@param conn The connection to remove the parameters for. If NULL default parameters for all connections will be removed. Unsubscribing for a specific device, will still allow other devices to transfer periodic advertising syncs.

@return Zero on success or (negative) error code otherwise.