📄 app_device.h
字号:
/* Copyright (C) Cambridge Silicon Radio Ltd. 2005-2006 */
/* Part of BlueLab 3.6.2-release */
#ifndef __app_device_h
#define __app_device_h
extern void appDeviceInit(appDeviceTaskData *theDevice, uint8 dev_num, uint32 dev_class, appDongleTaskData *theApp, const char *pin);
extern void appDeviceConnectRequest(appDeviceTaskData *theDevice, const bdaddr *bd_addr, bool initial);
extern void appDeviceConnectIndication(appDeviceTaskData *theDevice, uint16 cid);
extern void appDeviceUnplugRequest(appDeviceTaskData *theDevice);
extern bool appDeviceIsEmpty(appDeviceTaskData *theDevice, uint32 dev_class);
extern bool appDeviceIsBdaddr(appDeviceTaskData *theDevice, const bdaddr *bd_addr);
extern bool appDeviceIsDisconnected(appDeviceTaskData *theDevice);
extern bool appDeviceHidGetReport(appDeviceTaskData *theDevice, Sink sink, uint16 *length);
extern bool appDeviceHidGetIdle(appDeviceTaskData *theDevice, Sink sink, uint16 *length);
extern bool appDeviceHidGetProtocol(appDeviceTaskData *theDevice, Sink sink, uint16 *length);
extern bool appDeviceHidSetReport(appDeviceTaskData *theDevice, int report_length, const uint8 *report_data);
extern bool appDeviceHidSetIdle(appDeviceTaskData *theDevice, uint8 idle_rate);
extern bool appDeviceHidSetProtocol(appDeviceTaskData *theDevice, hid_protocol protocol);
enum
{
APP_DEVICE_UNPLUG_IND = 100,
APP_DEVICE_CONNECT_IND,
APP_DEVICE_DISCONNECT_IND
};
extern l2cap_config_params l2cap_config;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -