29 #ifndef INCLUDE_OLA_RDM_RDMAPIIMPLINTERFACE_H_
30 #define INCLUDE_OLA_RDM_RDMAPIIMPLINTERFACE_H_
36 #include <ola/rdm/RDMResponseCodes.h>
54 RDMStatusCode response_code;
55 uint8_t response_type;
62 bool WasAcked()
const {
63 return (error.empty() && response_code == RDM_COMPLETED_OK &&
64 response_type == RDM_ACK);
67 bool WasNacked()
const {
68 return (error.empty() && response_code == RDM_COMPLETED_OK &&
69 response_type == RDM_NACK_REASON);
73 uint16_t NackReason()
const {
return m_param; }
76 unsigned int AckTimer()
const {
return 100 *
m_param; }
100 unsigned int universe,
104 const uint8_t *data = NULL,
105 unsigned int data_length = 0) = 0;
110 unsigned int universe,
114 const uint8_t *data = NULL,
115 unsigned int data_length = 0) = 0;
119 unsigned int universe,
123 const uint8_t *data = NULL,
124 unsigned int data_length = 0) = 0;
128 #endif // INCLUDE_OLA_RDM_RDMAPIIMPLINTERFACE_H_