FreeRTOS: BLE
BLE
Return to main page ↑
BTAvsrcInterface_t Struct Reference

#include <bt_hal_avsrc_profile.h>

Data Fields

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

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: