zephyr::raw

Function bt_le_per_adv_list_add

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

@brief Add a device to the periodic advertising list.

Add peer device LE address to the periodic advertising list. This will make it possibly to automatically create a periodic advertising sync to this device.

@param addr Bluetooth LE identity address. @param sid The advertising set ID. This value is obtained from the @ref bt_le_scan_recv_info in the scan callback.

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