headset_auth.h

来自「bc5_stereo:bluetooth stereo Headset CODE」· C头文件 代码 · 共 56 行

H
56
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2005-2007

FILE NAME
    headset_auth.h
    
DESCRIPTION
    Authorises remote device.
*/

#include "headset_private.h"

#ifndef _HEADSET_AUTH_PRIVATE_H_
#define _HEADSET_AUTH_PRIVATE_H_


/****************************************************************************
  FUNCTIONS
*/

/*************************************************************************
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(hsTaskData * pApp , const CL_SM_PIN_CODE_IND_T* ind);


/****************************************************************************
NAME    
    headsetHandleAuthoriseInd
    
DESCRIPTION
    Request to authorise access to a particular service.

*/
void headsetHandleAuthoriseInd(hsTaskData * pApp , const CL_SM_AUTHORISE_IND_T *ind);


/****************************************************************************
NAME    
    headsetHandleAuthenticateCfm
    
DESCRIPTION
    Indicates whether the authentication succeeded or not.

*/
void headsetHandleAuthenticateCfm(hsTaskData * pApp , const CL_SM_AUTHENTICATE_CFM_T *cfm);


#endif /* _HEADSET_AUTH_PRIVATE_H_ */

⌨️ 快捷键说明

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