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 RESPONSE_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);
106 m_controller->SendRDMRequest(request, on_complete);
110 m_impl->RunFullDiscovery(callback);
114 m_impl->RunIncrementalDiscovery(callback);
118 return m_impl->GetDescriptor();
130 #endif // PLUGINS_USBPRO_ARDUINOWIDGET_H_ Definitions and Interfaces to implement an RDMController that sends a single message at a time...
A BidirectionalFileDescriptor that also generates notifications when closed.
Definition: Descriptor.h:282
The interface that can send RDM commands, as well as perform discovery operations.
Definition: RDMControllerInterface.h:104
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:234
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
A RDM unique identifier (UID).
A class used to hold a single universe of DMX data.
An RDM Controller that queues messages and only sends a single message at a time. ...
The base class for all 1 argument callbacks.
Definition: Callback.h:982
Definition: QueueingRDMController.h:88
Represents a RDM UID.
Definition: UID.h:57
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44