📄 hfp_handler.h
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.4.2-release
FILE NAME
hfp_handler.h
DESCRIPTION
*/
#ifndef _HFP_HANDLER_H_
#define _HFP_HANDLER_H_
/****************************************************************************
NAME
hfpHeadsetAnswerCall
DESCRIPTION
Answer an incoming call from the headset
*/
void hfpHeadsetAnswerCall(const headsetTaskData *app);
/****************************************************************************
NAME
hfpHeadsetRejectCall
DESCRIPTION
Reject an incoming/ outgoing call from the headset
*/
void hfpHeadsetRejectCall(const headsetTaskData *app);
/****************************************************************************
NAME
hfpHeadsetHangUpCall
DESCRIPTION
Hang up the call from the headset.
*/
void hfpHeadsetHangUpCall(const headsetTaskData *app);
/****************************************************************************
NAME
hfpHeadsetLastNumberRedial
DESCRIPTION
Request a last numebr redial from the AG.
*/
void hfpHeadsetLastNumberRedial(const headsetTaskData *app);
/****************************************************************************
NAME
hfpHeadsetHandleVoiceRecognitionInd
DESCRIPTION
Handle indication of the change in the state of the AG's voice recognition.
*/
void hfpHeadsetHandleVoiceRecognitionInd(headsetTaskData *app, const HFP_VOICE_RECOGNITION_IND_T *ind);
/****************************************************************************
NAME
hfpHeadsetVoiceRecognitionEnable
DESCRIPTION
Enable/ disable voice recognition at the AG.
*/
void hfpHeadsetVoiceRecognitionEnable(headsetTaskData *app, uint16 enable);
/****************************************************************************
NAME
hfpHeadsetHandleVoiceRecognitionCfm
DESCRIPTION
Received a cfm in response to a request from the headset that the AG
enable /disable its voice recognition engine.
*/
void hfpHeadsetHandleVoiceRecognitionCfm(headsetTaskData *app, const HFP_VOICE_RECOGNITION_ENABLE_CFM_T *cfm);
/****************************************************************************
NAME
hfpHeadsetHandleCallIndicator
DESCRIPTION
HFP call indicator update.
*/
void hfpHeadsetHandleCallIndicator(headsetTaskData *app, const HFP_CALL_IND_T *ind);
/****************************************************************************
NAME
hfpHeadsetHandleCallSetupIndicator
DESCRIPTION
HFP call setup indicator update.
*/
void hfpHeadsetHandleCallSetupIndicator(headsetTaskData *app, const HFP_CALL_SETUP_IND_T *ind);
#endif /* _HFP_HANDLER_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -