27 #ifndef INCLUDE_OLA_RDM_RESPONDERHELPER_H_
28 #define INCLUDE_OLA_RDM_RESPONDERHELPER_H_
33 #include "ola/rdm/ResponderPersonality.h"
45 static bool ExtractUInt8(
const RDMRequest *request, uint8_t *output);
46 static bool ExtractUInt16(
const RDMRequest *request, uint16_t *output);
47 static bool ExtractUInt32(
const RDMRequest *request, uint32_t *output);
52 uint16_t device_model,
53 rdm_product_category product_category,
54 uint32_t software_version,
55 uint16_t dmx_footprint,
56 uint8_t current_personality,
57 uint8_t personality_count,
58 uint16_t dmx_start_address,
59 uint16_t sub_device_count,
61 uint8_t queued_message_count = 0);
65 uint16_t device_model,
66 rdm_product_category product_category,
67 uint32_t software_version,
69 uint16_t dmx_start_address,
70 uint16_t sub_device_count,
72 uint8_t queued_message_count = 0);
76 const std::vector<rdm_product_detail> &product_details,
77 uint8_t queued_message_count = 0);
82 uint8_t queued_message_count = 0);
86 uint16_t start_address,
87 uint8_t queued_message_count = 0);
89 static const RDMResponse *GetPersonalityDescription(
92 uint8_t queued_message_count = 0);
97 uint8_t queued_message_count = 0);
102 uint8_t queued_message_count = 0);
107 uint8_t queued_message_count = 0);
112 uint16_t start_address,
113 uint8_t queued_message_count = 0);
117 uint16_t *dmx_address,
118 uint8_t queued_message_count = 0);
122 uint8_t queued_message_count = 0);
128 rdm_data_type data_type,
129 rdm_command_class command_class,
131 rdm_pid_prefix prefix,
133 uint32_t default_value,
136 uint8_t queued_message_count = 0);
137 static const RDMResponse *GetASCIIParamDescription(
140 rdm_command_class command_class,
142 uint8_t queued_message_count = 0);
143 static const RDMResponse *GetBitFieldParamDescription(
147 rdm_command_class command_class,
149 uint8_t queued_message_count = 0);
152 const std::string &value,
153 uint8_t queued_message_count = 0);
157 uint8_t queued_message_count = 0);
160 uint8_t queued_message_count = 0);
164 uint8_t queued_message_count = 0);
167 uint8_t queued_message_count = 0);
170 uint8_t queued_message_count = 0);
174 uint8_t queued_message_count = 0);
177 uint8_t queued_message_count = 0);
180 uint8_t queued_message_count = 0);
183 uint8_t queued_message_count = 0);
186 uint8_t queued_message_count = 0);
189 uint8_t queued_message_count = 0);
193 #endif // INCLUDE_OLA_RDM_RESPONDERHELPER_H_