COMMON IO-BLE v1.0.0
Hardware abstraction layer for Bluetooth
 
Loading...
Searching...
No Matches
bt_hal_avsrc_profile.h File Reference

BT HAL provides the interfaces for A2DP Source profile for local device. More...

#include <stddef.h>
#include <stdint.h>
#include "bt_hal_manager_types.h"

Go to the source code of this file.

Data Structures

struct  BTAvsrcCallbacks_t
 Represents the AVSRC callbacks. More...
 
struct  BTAvsrcInterface_t
 Represents the standard AV connection interface. More...
 

Typedefs

typedef void(* BTAvsrcConnectionStateCallback_t) (BTAvConnectionState_t xState, BTBdaddr_t *pxBdAddr)
 Callback invoked in to notify AV connection state change.
 
typedef void(* BTAvsrcAudioStateCallback_t) (BTAvAudioState_t xState, BTBdaddr_t *pxBdAddr)
 Callback invoked in to notify AV Audio state change.
 
typedef void(* BTAvsrcAclPriorityCallback_t) (BTAvsrcAclPriority_t xPriority, BTBdaddr_t *pxBdAddr)
 Callback invoked when ACL priority changes Priority can change when the stack enables/disables silent A2DP data while A2DP keepalive feature is enabled.
 

Enumerations

enum  BTAvConnectionState_t { eBTAvsrcConnectionStateDisconnected = 0 , eBTAvsrcConnectionStateConnecting = 1 , eBTAvsrcConnectionStateConnected = 2 , eBTAvsrcConnectionStateDisconnecting = 3 }
 Bluetooth AV connection states. More...
 
enum  BTAvAudioState_t { eBTAvsrcAudioStateRemoteSuspend = 0 , eBTAvsrcAudioStateStopped = 1 , eBTAvsrcAudioStateStarted = 2 }
 Bluetooth AV data path states. More...
 
enum  BTAvsrcAclPriority_t { eBTAvsrcAclPriorityLow = 0 , eBTAvsrcAclPriorityHigh = 1 }
 Bluetooth AV ACL Priority. More...
 

Functions

const BTAvsrcInterface_tBT_GetAvsrcInterface ()
 

Detailed Description

BT HAL provides the interfaces for A2DP Source profile for local device.

USAGE

Function Documentation

◆ BT_GetAvsrcInterface()

const BTAvsrcInterface_t * BT_GetAvsrcInterface ( )

Gets the BT AV interface.

Returns
BTAvsrcInterface_t if the operation is successful, else NULL.