a2dp_sd_security.h

来自「dongle蓝牙适配器(a2dp_source_dongle)源代码」· C头文件 代码 · 共 70 行

H
70
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2007
Part of Stereo-Headset-SDK Q1-2007.Release

FILE NAME
    a2dp_sd_security.h
    
DESCRIPTION
    
*/

#ifndef A2DP_SD_SECURITY_H
#define A2DP_SD_SECURITY_H


/****************************************************************************
NAME    
    a2dpSdSecurityInit
    
DESCRIPTION
    Set the security settings for this application

RETURNS
    
*/
void a2dpSdSecurityInit(void);


/****************************************************************************
NAME    
    a2dpSdHandlePinCodeInd
    
DESCRIPTION
    Respond to a PIN code request with the stored PIN.

RETURNS
    
*/
void a2dpSdHandlePinCodeInd(const CL_SM_PIN_CODE_IND_T *ind);


/****************************************************************************
NAME    
    a2dpSdHandleAuthoriseInd
    
DESCRIPTION
    Respond to an authorise indication from the connection library.

RETURNS
    
*/
void a2dpSdHandleAuthoriseInd(const a2dpSourceDongleTaskData *theApp, const CL_SM_AUTHORISE_IND_T *ind);


/****************************************************************************
NAME    
    a2dpSdHandleAuthoriseIndReject
    
DESCRIPTION
    Reject the authorise request immediately, the application is in the 
    wrong state.

RETURNS
    
*/
void a2dpSdHandleAuthoriseIndReject(const CL_SM_AUTHORISE_IND_T *ind);


#endif /* A2DP_SD_SECURITY_H */

⌨️ 快捷键说明

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