21 #ifndef PLUGINS_USBPRO_ENTTECUSBPROWIDGETIMPL_H_
22 #define PLUGINS_USBPRO_ENTTECUSBPROWIDGETIMPL_H_
44 RECEIVED_DMX_LABEL_1 = 5,
55 RECEIVED_DMX_LABEL_2 = 156,
60 RDM_DISCOVERY_2 = 196,
71 uint8_t change_to_rx_mode;
74 uint8_t rdm_discovery;
97 const DmxBuffer &FetchDMX()
const {
return m_input_buffer; }
100 bool ChangeToReceiveMode(
bool change_only);
102 bool SetParameters(uint8_t break_time, uint8_t mab_time, uint8_t rate);
112 MuteDeviceCallback *mute_complete);
113 void UnMuteAll(UnMuteDeviceCallback *unmute_complete);
116 BranchCallback *callback);
120 void HandleParameters(
const uint8_t *data,
unsigned int length);
122 void HandleDMXDiff(
const uint8_t *data,
unsigned int length);
134 std::deque<usb_pro_params_callback*> m_outstanding_param_callbacks;
139 uint8_t m_transaction_number;
144 MuteDeviceCallback *m_mute_callback;
145 UnMuteDeviceCallback *m_unmute_callback;
146 BranchCallback *m_branch_callback;
148 const uint8_t *m_discovery_response;
149 unsigned int m_discovery_response_size;
151 void HandleDMX(
const uint8_t *data,
unsigned int length);
155 bool PackAndSendRDMRequest(uint8_t label,
162 #endif // PLUGINS_USBPRO_ENTTECUSBPROWIDGETIMPL_H_