headset_hfp_call.h
来自「bc5_stereo:bluetooth stereo Headset CODE」· C头文件 代码 · 共 128 行
H
128 行
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2007
Part of Stereo-Headset-SDK Q1-2007.Release
FILE NAME
headset_hfp_call.h
DESCRIPTION
Handles HFP call functionality.
*/
#ifndef HEADSET_HFP_CALL_H
#define HEADSET_HFP_CALL_H
#include "headset_private.h"
/****************************************************************************
FUNCTIONS
*/
/****************************************************************************
NAME
hfpCallInitiateVoiceDial
DESCRIPTION
If HFP and connected - issues command
If HFP and not connected - connects and issues if not in call
If HSP sends button press
*/
void hfpCallInitiateVoiceDial ( hsTaskData* pApp );
/****************************************************************************
NAME
hfpCallCancelVoiceDial
DESCRIPTION
Cancels a voice dial request.
*/
void hfpCallCancelVoiceDial ( hsTaskData * pApp );
/****************************************************************************
NAME
hfpCallInitiateLNR
DESCRIPTION
If HFP and connected - issues command
If HFP and not connected - connects and issues if not in call
If HSP sends button press
*/
void hfpCallInitiateLNR ( hsTaskData * pApp );
/****************************************************************************
NAME
hfpCallAnswer
DESCRIPTION
Answer an incoming call from the headset.
*/
void hfpCallAnswer ( hsTaskData *pApp );
/****************************************************************************
NAME
headsetRejectCall
DESCRIPTION
Reject an incoming/ outgoing call from the headset.
*/
void hfpCallReject ( hsTaskData *pApp );
/****************************************************************************
NAME
hfpCallHangUp
DESCRIPTION
Hang up the call from the headset.
*/
void hfpCallHangUp ( const hsTaskData *pApp );
/****************************************************************************
NAME
hfpCallTransferToggle
DESCRIPTION
If the audio is at the headset end transfer it back to the AG and
vice versa.
*/
void hfpCallTransferToggle ( hsTaskData *pApp );
/****************************************************************************
NAME
hfpCallRecallQueuedEvent
DESCRIPTION
Checks to see if an event was Queued and issues it.
*/
void hfpCallRecallQueuedEvent ( hsTaskData * pApp );
/****************************************************************************
NAME
hfpCallClearQueuedEvent
DESCRIPTION
Clears the QUEUE - used on failure to connect / power on / off etc.
*/
void hfpCallClearQueuedEvent ( hsTaskData * pApp );
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?