?? headset_slc.h
字號:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004
FILE NAME
headset_slc.h
DESCRIPTION
*/
#ifndef _HEADSET_SLC_H_
#define _HEADSET_SLC_H_
/*the action to take on the auto reconnect*/
typedef enum AutoReconnectActionTag
{
AR_LastConnected = 0 ,
AR_Last = 1 ,
AR_Default = 2 ,
AR_LastThenDefault = 3 ,
AR_DefaultThenLast = 4 ,
AR_Swap = 5 ,
AR_SwapSwap = 6
}ARAction_t ;
/****************************************************************************
NAME
headsetHandleSlcConnectInd
DESCRIPTION
Handle a request to establish an SLC from the AG.
RETURNS
void
*/
void headsetHandleSlcConnectInd(hsTaskData *app, const HFP_SLC_CONNECT_IND_T *ind);
/****************************************************************************
NAME
headsetHandleSlcConnectCfm
DESCRIPTION
Confirmation that the SLC has been established (or not).
RETURNS
void
*/
bool headsetHandleSlcConnectCfm(hsTaskData *app, const HFP_SLC_CONNECT_CFM_T *cfm);
/****************************************************************************
NAME
slcConnectAfterLinkLoss
DESCRIPTION
Request to create a connection to a remote AG after a link loss has occured.
RETURNS
void
*/
void slcConnectAfterLinkLoss ( hsTaskData *pApp ) ;
/****************************************************************************
NAME
slcEstablishSLCRequest
DESCRIPTION
Request to create a connection to a remote AG.
RETURNS
void
*/
void slcEstablishSLCRequest ( hsTaskData *pApp, hfp_profile pProfile ) ;
/****************************************************************************
NAME
headsetDisconnectSlc
DESCRIPTION
Disconnect the SLC associated with this profile instance.
RETURNS
void
*/
void headsetDisconnectSlc(hsTaskData *app);
/****************************************************************************
NAME
headsetHandleSlcDisconnectInd
DESCRIPTION
Indication that the SLC has been released.
RETURNS
void
*/
void headsetHandleSlcDisconnectInd(hsTaskData *app, const HFP_SLC_DISCONNECT_IND_T *ind);
/****************************************************************************
NAME
headsetHandleRemoteSuppFeatures
DESCRIPTION
Supported features of the remote device contained in the message if the
read succeeded.
RETURNS
void
*/
void headsetHandleRemoteSuppFeatures(hsTaskData *app, const CL_DM_REMOTE_FEATURES_CFM_T *cfm) ;
/****************************************************************************
NAME
headsetHandleServiceIndicator
DESCRIPTION
Interprets the service Indicator messages and sends the appropriate Headset message
RETURNS
void
*/
void headsetHandleServiceIndicator ( hsTaskData * pApp , const HFP_SERVICE_IND_T *pInd ) ;
/*records ifr a call transfer is occuring - last reconnect action may change because of this */
void slcCallTransferInProgress( hsTaskData * pApp) ;
void slcCallTransferNotInProgress( hsTaskData * pApp ) ;
/*stores the bdaddr as the last *connected/default user */
void slcStoreBdaddr ( hsTaskData * pApp , const bdaddr * pAddr) ;
/* Reset slc management */
void slcReset(void);
#endif /* _HEADSET_SLC_H_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -