35 #define HID_SVC_UUID ATT_UUID_HID_SERVICE 42 #define HID_VERSION 0x0111 49 #define HID_REPORT_TYPE_INPUT 0x01 50 #define HID_REPORT_TYPE_OUTPUT 0x02 51 #define HID_REPORT_TYPE_FEATURE 0x03 58 #define HID_PROTOCOL_MODE_BOOT 0x00 59 #define HID_PROTOCOL_MODE_REPORT 0x01 66 #define HID_CONTROL_POINT_SUSPEND 0x00 67 #define HID_CONTROL_POINT_RESUME 0x01 71 #define HID_MAX_REPORT_MAP_LEN 512 74 #define HID_MAX_REPORT_LEN 32 77 #define HID_INIT_REPORT_MAP_LEN 1 87 #define HID_START_HDL 0x100 88 #define HID_END_HDL (HID_MAX_HDL - 1) HID Mouse Boot Input Characteristic Declaration.
HID Feature Report Characteristic Declaration.
HID Mouse Boot Input Value.
Proprietary Service Declaration.
HID Output Report Characteristic Declaration.
void * SvcHidAddGroupDyn(void)
Add the Hid Service using the dynamic attribute subsystem.
HID Report Map Characteristic Declaration.
HID Input Report Characteristic Declaration.
HID Output Report Reference Descriptor.
uint8_t(* attsWriteCback_t)(dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, uint16_t len, uint8_t *pValue, attsAttr_t *pAttr)
Attribute group write callback.
HID Keyboard Boot Output Value.
HID Mouse Boot Input CCC Descriptor.
HID Information Characteristic Declaration.
HID External Report Descriptor.
HID Input Report CCC Descriptor.
HID Keyboard Boot Input CCC Descriptor.
HID Feature Report Value.
HID Input Report Reference Descriptor.
HID Input Report Characteristic Declaration.
HID Feature Report Reference Descriptor.
HID Input Report CCC Descriptor.
HID Input Report Reference Descriptor.
void SvcHidRemoveGroup(void)
Remove the services from the attribute server.
HID Input Report Reference Descriptor.
uint8_t(* attsReadCback_t)(dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, attsAttr_t *pAttr)
Attribute group read callback.
HID Keyboard Boot Input Value.
HID Control Point Characteristic Declaration.
void SvcHidRegister(attsWriteCback_t writeCb, attsReadCback_t readCb)
Register a read and write callback functions for the ATT Group.
HID Protocol Mode Characteristic Declaration.
HID Keyboard Boot Input Characteristic Declaration.
HID Input Report Characteristic Declaration.
#define HID_START_HDL
Start handle.
HID Input Report CCC Descriptor.
HID Keyboard Boot Output Characteristic Declaration.
void SvcHidAddGroup(void)
Add the services to the attribute server.