22 #ifndef PLUGINS_USBPRO_GENERICUSBPROWIDGET_H_
23 #define PLUGINS_USBPRO_GENERICUSBPROWIDGET_H_
29 #include "ola/thread/SchedulerInterface.h"
30 #include "plugins/usbpro/BaseUsbProWidget.h"
38 uint8_t firmware_high;
61 virtual bool SendDMX(
const DmxBuffer &buffer);
62 bool ChangeToReceiveMode(
bool change_only);
70 static const uint8_t RECEIVED_DMX_LABEL = 5;
74 virtual void HandleMessage(uint8_t label,
77 void HandleDMX(
const uint8_t *data,
unsigned int length);
83 std::deque<usb_pro_params_callback*> m_outstanding_param_callbacks;
85 void HandleParameters(
const uint8_t *data,
unsigned int length);
86 void HandleDMXDiff(
const uint8_t *data,
unsigned int length);
88 static const uint8_t REPROGRAM_FIRMWARE_LABEL = 2;
89 static const uint8_t PARAMETERS_LABEL = 3;
90 static const uint8_t SET_PARAMETERS_LABEL = 4;
91 static const uint8_t DMX_RX_MODE_LABEL = 8;
92 static const uint8_t DMX_CHANGED_LABEL = 9;
97 #endif // PLUGINS_USBPRO_GENERICUSBPROWIDGET_H_