21#ifndef INCLUDE_OLA_RDM_RDMFRAME_H_
22#define INCLUDE_OLA_RDM_RDMFRAME_H_
25#include <ola/io/ByteString.h>
46 explicit Options(
bool _prepend_start_code)
The raw data for a RDM message and its associated timing information.
Definition RDMFrame.h:40
bool operator==(const RDMFrame &other) const
Test for equality.
Definition RDMFrame.cpp:48
RDMFrame(const uint8_t *data, unsigned int length, const Options &options=Options())
Create an RDMFrame from a uint8_t pointer.
Definition RDMFrame.cpp:30
struct ola::rdm::RDMFrame::@9 timing
The timing measurements for an RDM Frame.
ola::io::ByteString data
The raw RDM data, including the RDM start code.
Definition RDMFrame.h:85
uint32_t mark_time
The duration of the mark-after-break.
Definition RDMFrame.h:102
uint32_t response_time
The time between the end of the last byte of the request to the start of the response.
Definition RDMFrame.h:99
uint32_t data_time
The time between the first and last byte of the data.
Definition RDMFrame.h:106
uint32_t break_time
The duration of the break.
Definition RDMFrame.h:101
std::vector< RDMFrame > RDMFrames
A vector of RDMFrames.
Definition RDMFrame.h:113
The namespace containing all OLA symbols.
Definition Credentials.cpp:44
bool prepend_start_code
True if the source data does not include a start code.
Definition RDMFrame.h:53