?? headset_common.h
字號:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.6.2-release
FILE NAME
headset_common.h
DESCRIPTION
*/
#ifndef _HEADSET_COMMON_H_
#define _HEADSET_COMMON_H_
/*************************************************************************
NAME
setA2dpState
DESCRIPTION
Set the AV Headset A2DP State to the specified state
*/
void setA2dpState(headsetTaskData *app, const headsetA2dpState state);
/*************************************************************************
NAME
setAvrcpState
DESCRIPTION
Set the AV Headset AVRCP State to the specified state
*/
void setAvrcpState(headsetTaskData *app, const headsetAvrcpState state);
/*************************************************************************
NAME
setHfpState
DESCRIPTION
Update the local hfp state to the new state.
*/
void setHfpState(headsetTaskData *app, const headsetHfpState state);
/****************************************************************************
NAME
headsetHandleRemoteSuppFeatures
DESCRIPTION
Supported features of the remote device contained in the message if the
read succeeded.
*/
void headsetHandleRemoteSuppFeatures(headsetTaskData *app, const CL_DM_REMOTE_FEATURES_CFM_T *cfm);
/****************************************************************************
NAME
isHeadsetIdle
DESCRIPTION
Returns TRUE if headset is idle i.e. no a2dp, avrcp or hfp/ hsp
connections are currently established. FALSE otherwise.
*/
bool isHeadsetIdle(const headsetTaskData *app);
/****************************************************************************
NAME
isHeadsetPairing
DESCRIPTION
Returns TRUE if headset is currently in pairing mode, FALSE otherwise.
*/
bool isHeadsetPairing(const headsetTaskData *app);
/****************************************************************************
NAME
headsetConnectToLastDevices
DESCRIPTION
Connect to last used AG and AV source.
*/
void headsetConnectToLastDevices(headsetTaskData *app);
/****************************************************************************
NAME
updateHeadsetScanning
DESCRIPTION
check if page scanning should be enabled
*/
void updateHeadsetScanning(headsetTaskData *app);
/****************************************************************************
NAME
headsetRestartAV
DESCRIPTION
Send message to restart the AV streaming after a specified delay
*/
void headsetRestartAV(headsetTaskData *app);
/****************************************************************************
NAME
headsetIsA2dpSourceAnAg
DESCRIPTION
Function to Determine if AG and A2DP source are same device.
*/
bool headsetIsA2dpSourceAnAg(headsetTaskData *app);
/*****************************************************************************
NAME
headsetIndicateState
DESCRIPTION
Function to indicate that the state of the headset
*/
void headsetIndicateState(headsetTaskData *app);
#endif /* _HEADSET_COMMON_H_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -