pub unsafe extern "C" fn bt_le_per_adv_sync_transfer_subscribe(
conn: *const bt_conn,
param: *const bt_le_per_adv_sync_transfer_param,
) -> i32
Expand description
@brief Subscribe to periodic advertising sync transfers (PASTs).
Sets the parameters and allow other devices to transfer periodic advertising syncs.
@param conn The connection to set the parameters for. If NULL default parameters for all connections will be set. Parameters set for specific connection will always have precedence. @param param The periodic advertising sync transfer parameters.
@return Zero on success or (negative) error code otherwise.