COMMON IO-BLE v1.0.0
Hardware abstraction layer for Bluetooth
 
Loading...
Searching...
No Matches
BTAvsrcInterface_t Struct Reference

Represents the standard AV connection interface. More...

#include <bt_hal_avsrc_profile.h>

Data Fields

size_t xSize
 
BTStatus_t(* pxAvsrcInit )(BTAvsrcCallbacks_t *pxCallbacks)
 Initializes A2DP module.
 
BTStatus_t(* pxAvsrcCleanup )()
 Cleans up A2DP module.
 
BTStatus_t(* pxAvsrcConnect )(BTBdaddr_t *pxRemote_addr)
 Starts connect for A2DP Source profile.
 
BTStatus_t(* pxAvsrcDisconnect )(BTBdaddr_t *pxRemote_addr)
 Starts disconnect for A2DP Source profile.
 

Detailed Description

Represents the standard AV connection interface.

Field Documentation

◆ xSize

size_t BTAvsrcInterface_t::xSize

Set this to size of BTAvsrcInterface_t

◆ pxAvsrcInit

BTStatus_t(* BTAvsrcInterface_t::pxAvsrcInit) (BTAvsrcCallbacks_t *pxCallbacks)

Initializes A2DP module.

Parameters
[in]callbacks,BTAvsrcCallbacks_tcallbacks.
Returns
BTHAL_STATUS_SUCCESS if init is successful. Or any other error code

◆ pxAvsrcCleanup

BTStatus_t(* BTAvsrcInterface_t::pxAvsrcCleanup) ()

Cleans up A2DP module.

Parameters
None
Returns
BT_STATUS_SUCCESS if cleanup is successful

◆ pxAvsrcConnect

BTStatus_t(* BTAvsrcInterface_t::pxAvsrcConnect) (BTBdaddr_t *pxRemote_addr)

Starts connect for A2DP Source profile.

Parameters
[in]BTBdaddr_t:BT Address of remote device
Returns
BTHAL_STATUS_SUCCESS if the operation is successful, else error code.

◆ pxAvsrcDisconnect

BTStatus_t(* BTAvsrcInterface_t::pxAvsrcDisconnect) (BTBdaddr_t *pxRemote_addr)

Starts disconnect for A2DP Source profile.

Parameters
[in]BTBdaddr_t:BT Address of remote device
Returns
BTHAL_STATUS_SUCCESS if the operation is successful, else error code.

The documentation for this struct was generated from the following file: