Open Lighting Architecture
0.9.5
|
Represents the state of a response and/or any error codes.
RDM Handlers should first check for error being non-empty as this represents an underlying transport error. Then the resonse_code should be checked to catch invalid responses, timeouts etc. Finally, the value of response_type should be checked against the rdm_response_type codes.
Public Member Functions | |
bool | WasAcked () const |
bool | WasNacked () const |
uint16_t | NackReason () const |
unsigned int | AckTimer () const |
Public Attributes | |
std::string | error |
rdm_response_code | response_code |
uint8_t | response_type |
uint8_t | message_count |
uint16_t | m_param |
bool | set_command |
uint16_t | pid_value |
uint16_t ola::rdm::ResponseStatus::m_param |
Number of queued messages
uint8_t ola::rdm::ResponseStatus::message_count |
The RDM response type