![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Human Interface Device service implementation. More...
Go to the source code of this file.
Macros | |
#define | HID_SVC_UUID ATT_UUID_HID_SERVICE |
HID Service. | |
#define | HID_MAX_REPORT_MAP_LEN 512 |
Max length of the report map value. | |
#define | HID_MAX_REPORT_LEN 32 |
Max length of an output report value. | |
#define | HID_INIT_REPORT_MAP_LEN 1 |
Initial length of the report map value. | |
HID Spec Version | |
#define | HID_VERSION 0x0111 |
HID Spec Version: 1.11. | |
HID Report Types | |
#define | HID_REPORT_TYPE_INPUT 0x01 |
Input type. | |
#define | HID_REPORT_TYPE_OUTPUT 0x02 |
Output type. | |
#define | HID_REPORT_TYPE_FEATURE 0x03 |
Feature type. | |
HID Protocol Mode Types | |
#define | HID_PROTOCOL_MODE_BOOT 0x00 |
Boot mode. | |
#define | HID_PROTOCOL_MODE_REPORT 0x01 |
Report mode. | |
HID Control Point Values | |
#define | HID_CONTROL_POINT_SUSPEND 0x00 |
Suspend. | |
#define | HID_CONTROL_POINT_RESUME 0x01 |
Resume. | |
Functions | |
void | SvcHidAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcHidRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcHidRegister (attsWriteCback_t writeCb, attsReadCback_t readCb) |
Register a read and write callback functions for the ATT Group. More... | |
void * | SvcHidAddGroupDyn (void) |
Add the Hid Service using the dynamic attribute subsystem. More... | |
Human Interface Device service implementation.
Copyright (c) 2015-2018 Arm Ltd. All Rights Reserved. Arm Ltd. confidential and proprietary.
IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact Arm Ltd. prior to any use, copying or further distribution of this software.
Definition in file svc_hid.h.