#ifndef DFU_DEFS_H
#define DFU_DEFS_H

#define DFU_USB_IFACE_CLASS             254
#define DFU_USB_IFACE_SUBCLASS          1
#define DFU_USB_IFACE_PROTOCOL_APPMODE  1
#define DFU_USB_IFACE_PROTOCOL_DFUMODE  2

#define DFU_USB_REQ_DETACH      0
#define DFU_USB_REQ_DNLOAD      1
#define DFU_USB_REQ_UPLOAD      2
#define DFU_USB_REQ_GETSTATUS   3
#define DFU_USB_REQ_CLRSTATUS   4
#define DFU_USB_REQ_GETSTATE    5
#define DFU_USB_REQ_ABORT       6



#endif // DFU_DEFS_H
