zephyr::raw

Function bt_le_per_adv_sync_recv_enable

source
pub unsafe extern "C" fn bt_le_per_adv_sync_recv_enable(
    per_adv_sync: *mut bt_le_per_adv_sync,
) -> i32
Expand description

@brief Enables receiving periodic advertising reports for a sync.

If the sync is already receiving the reports, -EALREADY is returned.

@param per_adv_sync The periodic advertising sync object.

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