21 #ifndef PLUGINS_USBPRO_ARDUINOWIDGET_H_
22 #define PLUGINS_USBPRO_ARDUINOWIDGET_H_
29 #include "plugins/usbpro/BaseUsbProWidget.h"
62 uint8_t m_transaction_id;
67 void HandleMessage(uint8_t label,
70 void HandleRDMResponse(
const uint8_t *data,
unsigned int length);
73 static const uint8_t RDM_REQUEST_LABEL;
76 static const uint8_t RESPONSE_OK;
77 static const uint8_t RESPONSE_WAS_BROADCAST;
78 static const uint8_t RESPONSE_FAILED;
79 static const uint8_t RESPONSE_FAILED_CHECKSUM;
80 static const uint8_t RESONSE_INVALID_DESTINATION;
81 static const uint8_t RESPONSE_INVALID_COMMAND;
94 unsigned int queue_size = 20);
97 void Stop() { m_impl->
Stop(); }
100 return m_impl->SendDMX(buffer);
113 m_impl->RunIncrementalDiscovery(callback);
117 return m_impl->GetDescriptor();
123 ArduinoWidgetImpl *m_impl;
129 #endif // PLUGINS_USBPRO_ARDUINOWIDGET_H_