21 #ifndef PLUGINS_USBPRO_ARDUINOWIDGET_H_
22 #define PLUGINS_USBPRO_ARDUINOWIDGET_H_
30 #include "plugins/usbpro/BaseUsbProWidget.h"
63 uint8_t m_transaction_id;
65 std::auto_ptr<const ola::rdm::RDMRequest> m_pending_request;
68 void HandleMessage(uint8_t label,
71 void HandleRDMResponse(
const uint8_t *data,
unsigned int length);
74 static const uint8_t RDM_REQUEST_LABEL;
77 static const uint8_t RESPONSE_OK;
78 static const uint8_t RESPONSE_WAS_BROADCAST;
79 static const uint8_t RESPONSE_FAILED;
80 static const uint8_t RESPONSE_FAILED_CHECKSUM;
81 static const uint8_t RESONSE_INVALID_DESTINATION;
82 static const uint8_t RESPONSE_INVALID_COMMAND;
95 unsigned int queue_size = 20);
98 void Stop() { m_impl->
Stop(); }
101 return m_impl->SendDMX(buffer);
118 return m_impl->GetDescriptor();
124 ArduinoWidgetImpl *m_impl;
130 #endif // PLUGINS_USBPRO_ARDUINOWIDGET_H_