Open Lighting Architecture
Latest Git
|
The raw data for a RDM message and its associated timing information.
A RDMFrame holds the raw data and timing metadata for a RDM message. If no timing data was available, the timing values will be 0.
RDMFrames include the RDM Start Code (0xCC).
Classes | |
struct | Options |
Public Member Functions | |
RDMFrame (const uint8_t *data, unsigned int length, const Options &options=Options()) | |
Create an RDMFrame from a uint8_t pointer. More... | |
RDMFrame (const ola::io::ByteString &data, const Options &options=Options()) | |
Create a RDMFrame using a ByteString. string. More... | |
bool | operator== (const RDMFrame &other) const |
Test for equality. More... | |
Public Attributes | |
ola::io::ByteString | data |
The raw RDM data, including the RDM start code. | |
struct { | |
uint32_t response_time | |
The time between the end of the last byte of the request to the start of the response. | |
uint32_t break_time | |
The duration of the break. | |
uint32_t mark_time | |
The duration of the mark-after-break. | |
uint32_t data_time | |
The time between the first and last byte of the data. | |
} | timing |
The timing measurements for an RDM Frame. More... | |
|
explicit |
bool ola::rdm::RDMFrame::operator== | ( | const RDMFrame & | other | ) | const |
Test for equality.
other | The RDMFrame to test against. |
struct { ... } ola::rdm::RDMFrame::timing |
The timing measurements for an RDM Frame.
All times are measured in nanoseconds.
For DUB responses, the break and mark values will be 0.