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

📄 hfp_headset_call_control.h

📁 CSR蓝牙芯片 无线蓝牙耳机的语音网关程序 蓝牙耳机程序已经上传
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004

FILE NAME
    hfp_headset_call_control.h
    
DESCRIPTION
    
*/

#ifndef _HFP_HEADSET_CALL_CONTROL_H_
#define _HFP_HEADSET_CALL_CONTROL_H_


/****************************************************************************
NAME    
    hfpHeadsetAnswerCall
    
DESCRIPTION
    Answer an incoming call from the headset

RETURNS
    void
*/
void hfpHeadsetAnswerCall(const headsetTaskData *app);


/****************************************************************************
NAME    
    hfpHeadsetHandleAnswerCallCfm
    
DESCRIPTION
    Cfm from the HFP lib telling us whether the answer call response was
    accepted by the AG or not.

RETURNS
    void
*/
void hfpHeadsetHandleAnswerCallCfm(headsetTaskData *app, const HFP_ANSWER_CALL_CFM_T *cfm);


/****************************************************************************
NAME    
    hfpHeadsetRejectCall
    
DESCRIPTION
    Reject an incoming/ outgoing call from the headset

RETURNS
    void
*/
void hfpHeadsetRejectCall(const headsetTaskData *app);


/****************************************************************************
NAME    
    hfpHeadsetHandleRejectCallCfm
    
DESCRIPTION
    Cfm from the HFP lib telling us whether the reject call response was
    accepted by the AG or not.

RETURNS
    void
*/
void hfpHeadsetHandleRejectCallCfm(headsetTaskData *app, const HFP_REJECT_CALL_CFM_T *cfm);


/****************************************************************************
NAME    
    hfpHeadsetHangUpCall
    
DESCRIPTION
    Hang up the call from the headset.

RETURNS
    void
*/
void hfpHeadsetHangUpCall(const headsetTaskData *app);


/****************************************************************************
NAME    
    hfpHeadsetHandleTerminateCallCfm
    
DESCRIPTION
    Cfm from the HFP lib telling us whether the hang up call response was 
    accepted  by the AG or not.

RETURNS
    void
*/
void hfpHeadsetHandleTerminateCallCfm(headsetTaskData *app, const HFP_TERMINATE_CALL_CFM_T *cfm);


/****************************************************************************
NAME    
    hfpHeadsetTransferAudio
    
DESCRIPTION
    If the audio is at the headset end transfer it back to the AG and
    vice versa.

RETURNS
    void
*/
void hfpHeadsetTransferAudio(const headsetTaskData *app, hfp_audio_transfer_direction dir);


#endif /* _HFP_HEADSET_CALL_CONTROL_H_ */

⌨️ 快捷键说明

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