Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hid.h
Go to the documentation of this file.
1
4
5
/*
6
* Copyright 2026 Xiaomi Corporation
7
*
8
* SPDX-License-Identifier: Apache-2.0
9
*/
10
11
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_CLASSIC_HID_H_
12
#define ZEPHYR_INCLUDE_BLUETOOTH_CLASSIC_HID_H_
13
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
34
#define BT_HID_PROTOCOL_BOOT_MODE 0x00U
36
#define BT_HID_PROTOCOL_REPORT_MODE 0x01U
38
47
#define BT_HID_REPORT_TYPE_OTHER 0x00U
49
#define BT_HID_REPORT_TYPE_INPUT 0x01U
51
#define BT_HID_REPORT_TYPE_OUTPUT 0x02U
53
#define BT_HID_REPORT_TYPE_FEATURE 0x03U
55
65
#define BT_HID_HS_RSP_SUCCESS 0x00U
67
#define BT_HID_HS_RSP_NOT_READY 0x01U
69
#define BT_HID_HS_RSP_ERR_INVALID_REPORT_ID 0x02U
71
#define BT_HID_HS_RSP_ERR_UNSUPPORTED_REQ 0x03U
73
#define BT_HID_HS_RSP_ERR_INVALID_PARAM 0x04U
75
#define BT_HID_HS_RSP_ERR_UNKNOWN 0x0eU
77
#define BT_HID_HS_RSP_ERR_FATAL 0x0fU
79
80
#ifdef __cplusplus
81
}
82
#endif
83
87
88
#endif
/* ZEPHYR_INCLUDE_BLUETOOTH_CLASSIC_HID_H_ */
include
zephyr
bluetooth
classic
hid.h
Generated on
for Zephyr Project API by
1.16.1