zephyr::raw

Function bt_configure_data_path

source
pub unsafe extern "C" fn bt_configure_data_path(
    dir: u8,
    id: u8,
    vs_config_len: u8,
    vs_config: *const u8,
) -> i32
Expand description

@brief Configure vendor data path

Request the Controller to configure the data transport path in a given direction between the Controller and the Host.

@param dir Direction to be configured, BT_HCI_DATAPATH_DIR_HOST_TO_CTLR or BT_HCI_DATAPATH_DIR_CTLR_TO_HOST @param id Vendor specific logical transport channel ID, range [BT_HCI_DATAPATH_ID_VS..BT_HCI_DATAPATH_ID_VS_END] @param vs_config_len Length of additional vendor specific configuration data @param vs_config Pointer to additional vendor specific configuration data

@return 0 in case of success or negative value in case of error.