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

📄 hfp_headset_sco.h

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

FILE NAME
    hfp_headset_sco.h
    
DESCRIPTION
    
*/

#ifndef _HFP_HEADSET_SCO_H_
#define _HFP_HEADSET_SCO_H_


/****************************************************************************
NAME    
    hfpGetBestScoPktType
    
DESCRIPTION
    This function looks at the supported features of the remote device and
    returns the most appropriate packet type depending on what packets the other
    end can support. If the remote end supports HV3 then this is the type 
    returned. Failing that it checks if HV2 is supported and if so returns that.
    Otherwise it returns the default packet type that all devices must support
    HV1.

RETURNS
    sco_pkt_type
*/
sco_pkt_type hfpGetBestScoPktType(const headsetTaskData *app);


/****************************************************************************
NAME    
    hfpSetupScoRouting
    
DESCRIPTION
    Set up the SCO routing to the PCM.

RETURNS
    bool
*/
bool hfpSetupScoRouting(headsetTaskData *app);


/****************************************************************************
NAME    
    hfpHeadsetHandleScoConnectInd
    
DESCRIPTION
    Indication of the AG opening a SCO to the headset.

RETURNS
    void
*/
void hfpHeadsetHandleScoConnectInd(headsetTaskData *app, const HFP_SCO_CONNECT_IND_T *ind);


/****************************************************************************
NAME    
    hfpHeadsetHandleScoDisconnectInd
    
DESCRIPTION
    Indication that the SCO connection has been released.

RETURNS
    void
*/
void hfpHeadsetHandleScoDisconnectInd(headsetTaskData *app, const HFP_SCO_DISCONNECT_IND_T *ind);



#endif /* _HFP_HEADSET_SCO_H_ */

⌨️ 快捷键说明

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