24 #ifndef PLUGINS_USBDMX_ANYMAOUTPUTPORT_H_
25 #define PLUGINS_USBDMX_ANYMAOUTPUTPORT_H_
31 #include "ola/thread/Thread.h"
32 #include "olad/Port.h"
44 libusb_device_handle *usb_handle,
45 const std::string &serial);
47 std::string SerialNumber()
const {
return m_serial; }
52 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
53 std::string Description()
const {
return ""; }
56 static const unsigned int URB_TIMEOUT_MS = 500;
57 static const unsigned int UDMX_SET_CHANNEL_RANGE = 0x0002;
61 libusb_device_handle *m_usb_handle;
66 bool SendDMX(
const DmxBuffer &buffer_old);
71 #endif // PLUGINS_USBDMX_ANYMAOUTPUTPORT_H_