30 #if !defined(__BOOTLOADER_HID_REPORT_IDS_H__) 31 #define __BOOTLOADER_HID_REPORT_IDS_H__ 33 #include "packet/command_packet.h" 42 kBootloaderReportID_CommandOut = 1,
43 kBootloaderReportID_DataOut = 2,
44 kBootloaderReportID_CommandIn = 3,
45 kBootloaderReportID_DataIn = 4
49 typedef struct _bl_hid_header
53 uint8_t packetLengthLsb;
59 typedef struct _bl_hid_report
62 uint8_t packet[kMinPacketBufferSize];
65 #endif // __BOOTLOADER_HID_REPORT_IDS_H__
Structure of a bootloader HID report.
Definition: bootloader_hid_report_ids.h:59
bl_hid_header_t header
Header of the report.
Definition: bootloader_hid_report_ids.h:61