Go to the source code of this file.
◆ bt_pacs_cap_foreach_func_t
bt_pacs_cap_foreach_func_t |
Published Audio Capability iterator callback.
- Parameters
-
cap | Capability found. |
user_data | Data given. |
- Returns
- true to continue to the next capability
-
false to stop the iteration
◆ bt_pacs_cap_foreach()
Published Audio Capability iterator.
Iterate capabilities with endpoint direction specified.
- Parameters
-
dir | Direction of the endpoint to look capability for. |
func | Callback function. |
user_data | Data to pass to the callback. |
◆ bt_pacs_cap_register()
Register Published Audio Capability.
Register Audio Local Capability.
- Parameters
-
dir | Direction of the endpoint to register capability for. |
cap | Capability structure. |
- Returns
- 0 in case of success or negative value in case of error.
◆ bt_pacs_cap_unregister()
Unregister Published Audio Capability.
Unregister Audio Local Capability.
- Parameters
-
dir | Direction of the endpoint to unregister capability for. |
cap | Capability structure. |
- Returns
- 0 in case of success or negative value in case of error.
◆ bt_pacs_get_available_contexts()
Get the available contexts for an endpoint type.
- Parameters
-
dir | Direction of the endpoints to get contexts for. |
- Returns
- Bitmask of available contexts.
◆ bt_pacs_set_available_contexts()
Set the available contexts for an endpoint type.
- Parameters
-
dir | Direction of the endpoints to change available contexts for. |
contexts | The contexts to be set. |
◆ bt_pacs_set_location()
Set the location for an endpoint type.
- Parameters
-
dir | Direction of the endpoints to change location for. |
location | The location to be set. |
◆ bt_pacs_set_supported_contexts()
Set the supported contexts for an endpoint type.
- Parameters
-
dir | Direction of the endpoints to change available contexts for. |
contexts | The contexts to be set. |