service_human_interface_device.h
service_human_interface_device.h provides an easy way to implement human interface device service.
◆ MAX_EXT_REP_REF_NUM
#define MAX_EXT_REP_REF_NUM 5 |
maximum number of external report reference
◆ MAX_INCLUDED_SERVICE_NUM
#define MAX_INCLUDED_SERVICE_NUM 3 |
maximum number of included services
◆ HIDS_REPORT_TYPE
HID report type.
Enumerator |
---|
HID_REPORT_INPUT | 1
|
HID_REPORT_OUTPUT | 2
|
HID_REPORT_FEATURE | 3
|
◆ HIDS_init()
Initialization function of human interface device service.
- Parameters
-
- Returns
- None.
◆ HIDS_add_report()
Initialization function of human interface device service.
- Parameters
-
- Returns
- att_handle attribute handle of report characteristic value.
- Attention
- HID service requires at least one report characteristic.