Bluetooth: host: Add bt_configure_data_path for vendor data path
Implemented host function for configuring vendor specific data path for use with ISO, and fixed passing of path ID in setup. Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
parent
3f6737f688
commit
06900485ec
3 changed files with 57 additions and 8 deletions
|
@ -2169,6 +2169,23 @@ void bt_foreach_bond(uint8_t id, void (*func)(const struct bt_bond_info *info,
|
|||
void *user_data),
|
||||
void *user_data);
|
||||
|
||||
/** @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.
|
||||
*/
|
||||
int bt_configure_data_path(uint8_t dir, uint8_t id, uint8_t vs_config_len,
|
||||
const uint8_t *vs_config);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue