zephyr::raw

Function bt_le_per_adv_sync_transfer

source
pub unsafe extern "C" fn bt_le_per_adv_sync_transfer(
    per_adv_sync: *const bt_le_per_adv_sync,
    conn: *const bt_conn,
    service_data: u16,
) -> i32
Expand description

@brief Transfer the periodic advertising sync information to a peer device.

This will allow another device to quickly synchronize to the same periodic advertising train that this device is currently synced to.

@param per_adv_sync The periodic advertising sync to transfer. @param conn The peer device that will receive the sync information. @param service_data Application service data provided to the remote host.

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