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

📄 headset_security.h

📁 针对bluelab3.42的handsfree车载蓝牙的参考
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.4.2-release

FILE NAME
    headset_security.h
    
DESCRIPTION
    
*/


#ifndef _HEADSET_SECURITY_H_
#define _HEADSET_SECURITY_H_


/*************************************************************************
NAME    
     headsetHandlePinCodeInd
    
DESCRIPTION
     This function is called on receipt on an CL_PIN_CODE_IND message
     being recieved.  The AV Headset default pin code is sent back.     
*/
void headsetHandlePinCodeInd(const headsetTaskData *app, const CL_SM_PIN_CODE_IND_T *ind);


/****************************************************************************
NAME    
    headsetHandleAuthoriseInd
    
DESCRIPTION
    Request to authorise access to a particular service.
*/
void headsetHandleAuthoriseInd(const CL_SM_AUTHORISE_IND_T *ind);


/****************************************************************************
NAME    
    headsetHandleAuthenticateCfm
    
DESCRIPTION
    Indicates whether the authentication succeeded or not.
*/
void headsetHandleAuthenticateCfm(const CL_SM_AUTHENTICATE_CFM_T *cfm);


/****************************************************************************
NAME    
    headsetEnterPairingMode
    
DESCRIPTION
    Put the headset into pairing mode. The headset will only supply a valid 
    PIN code if in pairing mode, otherwise all authentication attempts will
    be rejected.
*/
void headsetEnterPairingMode(headsetTaskData *app);


/****************************************************************************
NAME    
    headsetEnterPairingMode
    
DESCRIPTION
    Exit pairing mode. 
*/
void headsetExitPairingMode(headsetTaskData *app);

/*****************************************************************************
NAME    
    headsetClearPairedDevices
    
DESCRIPTION
    Clear paired device list, last connected PSKeys and the last codec connected 
*/
void headsetClearPairedDevices(headsetTaskData *app);




#endif /* _HEADSET_SECURITY_H_ */

⌨️ 快捷键说明

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