⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a2dp_sd_avrcp.h

📁 CSR蓝牙MP3播放USB DONGLE源码
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.5.2-release

FILE NAME
    a2dp_sd_avrcp.h
    
DESCRIPTION
    
*/

#ifndef A2DP_SD_AVRCP_H
#define A2DP_SD_AVRCP_H


/****************************************************************************
NAME
    a2dpSdRcpHandleConnectInd   
    
DESCRIPTION
    Handle a request to establish an incoming RCP connection. 

RETURNS
    void
*/
void a2dpSdRcpHandleConnectInd(AVRCP *avrcp, const bdaddr *addr, const AVRCP_CONNECT_IND_T *ind);


/****************************************************************************
NAME    
    a2dpSdRcpHandleConnectIndReject

DESCRIPTION
    Reject the RCP connection we're in the wrong state.

RETURNS
    void
*/
void a2dpSdRcpHandleConnectIndReject(AVRCP *avrcp, const AVRCP_CONNECT_IND_T *ind);


/****************************************************************************
NAME    
    a2dpSdRcpHandleConnectCfm

DESCRIPTION
    Handle a connect_cfm message indicating whether the RCP connection
    was successfully established.

RETURNS
    void
*/
void a2dpSdRcpHandleConnectCfm(a2dpSourceDongleTaskData *theApp, const AVRCP_CONNECT_CFM_T *cfm);


/****************************************************************************
NAME    
    a2dpSdRcpHandleDisconnect

DESCRIPTION
    The RCP connection has been disconnected by either the local or the 
    remote end.

RETURNS
    void
*/
void a2dpSdRcpHandleDisconnect(a2dpSourceDongleTaskData *theApp);


/****************************************************************************
NAME    
    a2dpSdRcpHandlePassthroughInd

DESCRIPTION
    Sent by the library when the remote control has issued a passthrough 
    command. Send back the response and action the comand.

RETURNS
    void
*/
void a2dpSdRcpHandlePassthroughInd(AVRCP *avrcp, const AVRCP_PASSTHROUGH_IND_T *ind);


/****************************************************************************
NAME    
    a2dpSdRcpHandleUnitInfoInd

DESCRIPTION
    The remote device has issued the UnitInfo command.

RETURNS
    void
*/
void a2dpSdRcpHandleUnitInfoInd(AVRCP *avrcp, const AVRCP_UNITINFO_IND_T *ind);


/****************************************************************************
NAME    
    a2dpSdRcpHandleSubUnitInfoInd

DESCRIPTION
    The remote device has issued the SubunitInfo command.

RETURNS
    void
*/
void a2dpSdRcpHandleSubUnitInfoInd(AVRCP *avrcp, const AVRCP_SUBUNITINFO_IND_T *ind);

/****************************************************************************
NAME    
    a2dpSdRcpHandleVendorDependentInd

DESCRIPTION
    The remote device has issued a VendorDependent command.

RETURNS
    void
*/
void a2dpSdRcpHandleVendorDependentInd(AVRCP *avrcp, const AVRCP_VENDORDEPENDENT_IND_T *ind);
#endif /* A2DP_SD_AVRCP_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -