21 #ifndef PLUGINS_USBPRO_ENTTECUSBPROWIDGETIMPL_H_
22 #define PLUGINS_USBPRO_ENTTECUSBPROWIDGETIMPL_H_
39 RECEIVED_DMX_LABEL_1 = 5,
50 RECEIVED_DMX_LABEL_2 = 156,
55 RDM_DISCOVERY_2 = 196,
66 uint8_t change_to_rx_mode;
69 uint8_t rdm_discovery;
92 const DmxBuffer &FetchDMX()
const {
return m_input_buffer; }
95 bool ChangeToReceiveMode(
bool change_only);
97 bool SetParameters(uint8_t break_time, uint8_t mab_time, uint8_t rate);
107 MuteDeviceCallback *mute_complete);
108 void UnMuteAll(UnMuteDeviceCallback *unmute_complete);
111 BranchCallback *callback);
115 void HandleParameters(
const uint8_t *data,
unsigned int length);
117 void HandleDMXDiff(
const uint8_t *data,
unsigned int length);
129 std::deque<usb_pro_params_callback*> m_outstanding_param_callbacks;
134 uint8_t m_transaction_number;
139 MuteDeviceCallback *m_mute_callback;
140 UnMuteDeviceCallback *m_unmute_callback;
141 BranchCallback *m_branch_callback;
143 const uint8_t *m_discovery_response;
144 unsigned int m_discovery_response_size;
146 void HandleDMX(
const uint8_t *data,
unsigned int length);
150 bool PackAndSendRDMRequest(uint8_t label,
157 #endif // PLUGINS_USBPRO_ENTTECUSBPROWIDGETIMPL_H_