📄 avrcp_handler.h
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.4.2-release
FILE NAME
avrcp_handler.h
DESCRIPTION
*/
#ifndef _AVRCP_HANDLER_H_
#define _AVRCP_HANDLER_H_
/*************************************************************************
NAME
avHeadsetHandleAvrcpConnectCfm
DESCRIPTION
This function is called on receipt of an AVRCP_CONNECT_CFM message
*/
void avHeadsetHandleAvrcpConnectCfm(headsetTaskData *app, const AVRCP_CONNECT_CFM_T *cfm);
/*************************************************************************
NAME
avHeadsetHandleAvrcpConnectInd
DESCRIPTION
This function is called on receipt of an AVRCP_CONNECT_IND message
*/
void avHeadsetHandleAvrcpConnectInd(const headsetTaskData *app, const AVRCP_CONNECT_IND_T *ind);
/*************************************************************************
NAME
avHeadsetHandleAvrcpConnectIndReject
DESCRIPTION
This function is called on receipt of an AVRCP_CONNECT_IND message
*/
void avHeadsetHandleAvrcpConnectIndReject(AVRCP *avrcp, const AVRCP_CONNECT_IND_T *ind);
/*************************************************************************
NAME
avHeadsetHandleAvrcpDisconnectInd
DESCRIPTION
This function is called on receipt of an AVRCP_DISCONNECT_IND message
*/
void avHeadsetHandleAvrcpDisconnectInd(headsetTaskData *app);
/*************************************************************************
NAME
avHeadsetHandleAvrcpPassthroughInd
DESCRIPTION
This function is called on receipt of an AVRCP_PASSTHROUGH_IND message
*/
void avHeadsetHandleAvrcpPassthroughInd(const AVRCP_PASSTHROUGH_IND_T *ind);
/*************************************************************************
NAME
avHeadetHandleAvrcpUnitInfo
DESCRIPTION
This function is called on receipt of an AVRCP_UNITINFO_IND message
*/
void avHeadetHandleAvrcpUnitInfo(const AVRCP_UNITINFO_IND_T *ind);
/*************************************************************************
NAME
avHeadetHandleAvrcpSubUnitInfo
DESCRIPTION
This function is called on receipt of an AVRCP_SUBUNITINFO_IND message
*/
void avHeadetHandleAvrcpSubUnitInfo(const AVRCP_SUBUNITINFO_IND_T *ind);
/*************************************************************************
NAME
avHeadetHandleAvrcpVendorDependent
DESCRIPTION
This function is called on receipt of an AVRCP_VENDORDEPENDENT_INDD message
*/
void avHeadetHandleAvrcpVendorDependent(const AVRCP_VENDORDEPENDENT_IND_T *ind);
/*************************************************************************
NAME
controls_handler
DESCRIPTUION
Initiate avrcp pending button actions.
*/
void controls_handler(Task task, MessageId id, Message message);
/*************************************************************************
NAME
avHeadsetPausePress
DESCRIPTION
Signal that pause has been pressed.
Note that the AV Control specification states that the pause
button will toggle between playing/paused.
*/
void avHeadsetPausePress(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetPauseRelease
DESCRIPTION
Signal that pause has been released
*/
void avHeadsetPauseRelease(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetPlayPress
DESCRIPTION
Signal that play has been pressed
*/
void avHeadsetPlayPress(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetPlayRelease
DESCRIPTION
Signal that play has been released
*/
void avHeadsetPlayRelease(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetForwardPress
DESCRIPTION
Signal that Forward has been pressed
*/
void avHeadsetForwardPress(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetForwardRelease
DESCRIPTION
Signal that Forward has been released
*/
void avHeadsetForwardRelease(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetBackwardPress
DESCRIPTION
Signal that Backward has been pressed
*/
void avHeadsetBackwardPress(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetBackwardRelease
DESCRIPTION
Signal that Backward has been released
*/
void avHeadsetBackwardRelease(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetStopPress
DESCRIPTION
Signal that Stop has been pressed
*/
void avHeadsetStopPress(headsetTaskData* app);
/*************************************************************************
NAME
avHeadsetStopRelease
DESCRIPTION
Signal that Stop has been released
*/
void avHeadsetStopRelease(headsetTaskData* app);
#endif /* _AVRCP_HANDLER_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -