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

📄 hid_keyboard_auth.h

📁 CSR蓝牙无线键盘源码,实现无线键盘功能
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.5.2-release

FILE NAME
    hid_keyboard_auth.h
DESCRIPTION
    This file contains the authentication functions.    
*/

#ifndef _HID_KEYBOARD_AUTH_H_
#define _HID_KEYBOARD_AUTH_H_

/*************************************************************************
NAME    
    appIsPinCodeEntry
DESCRIPTION
    Returns boolean indicating if pin code entry is currently in progress.
RETURNS
    bool - TRUE if pin code is being entered, FALSE otherwise.
*/
extern bool appIsPinCodeEntry(appTaskData *theApp);

/*************************************************************************
NAME    
    appIsAuthenticated
DESCRIPTION
    Returns boolean indicating if device has completed authentication.
RETURNS
    bool - TRUE if authentication successful, FALSE otherwise.
*/
extern bool appIsAuthenticated(appTaskData *theApp);

/*************************************************************************
NAME    
    appStartPinCodeEntry
DESCRIPTION
    This is called when authenticating has started, normally when a pin
    code indication is received.
RETURNS
    void     
*/
extern void appStartPinCodeEntry(appTaskData *theApp);

/*************************************************************************
NAME    
    appStopPinCodeEntry
DESCRIPTION
    This function stops pin code entry.
RETURNS
    void     
*/
extern void appStopPinCodeEntry(appTaskData *theApp, bool success);

/*************************************************************************
NAME    
    appHandleDataPinCode
DESCRIPTION
    Handles data on interrupt channel passed down by firmware.  This
    function attempts to build up a pin code.
RETURNS
    void     
*/
void appHandleDataPinCode(appTaskData *theApp, Source source);

#endif

⌨️ 快捷键说明

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