Static Public Attributes |
static const uint8_t | RECEIVED_DMX_LABEL = 5 |
static const uint8_t | DEVICE_LABEL = 78 |
static const uint8_t | DMX_LABEL = 6 |
static const uint8_t | GET_PARAMS = 3 |
static const uint8_t | HARDWARE_VERSION_LABEL = 14 |
static const uint8_t | MANUFACTURER_LABEL = 77 |
static const uint8_t | SERIAL_LABEL = 10 |
Protected Member Functions |
virtual void | HandleMessage (uint8_t label, const uint8_t *data, unsigned int length) |
void | HandleDMX (const uint8_t *data, unsigned int length) |
Member Function Documentation
const DmxBuffer & ola::plugin::usbpro::GenericUsbProWidget::FetchDMX |
( |
| ) |
const |
Return the latest DMX data
void ola::plugin::usbpro::GenericUsbProWidget::GenericStop |
( |
| ) |
|
Stop the rdm discovery process if it's running
Send a request for the widget's parameters. TODO(simon): add timers to these
void ola::plugin::usbpro::GenericUsbProWidget::SetDMXCallback |
( |
ola::Callback0< void > * |
callback | ) |
|
Set the callback to run when new DMX data arrives
bool ola::plugin::usbpro::GenericUsbProWidget::SetParameters |
( |
uint8_t |
break_time, |
|
|
uint8_t |
mab_time, |
|
|
uint8_t |
rate |
|
) |
| |
Set the widget's parameters. Due to the lack of confirmation, this returns immediately.
The documentation for this class was generated from the following files: