21 #ifndef PLUGINS_DUMMY_DUMMYPORT_H_
22 #define PLUGINS_DUMMY_DUMMYPORT_H_
33 #include "olad/Port.h"
44 : number_of_dimmers(1),
45 dimmer_sub_device_count(4),
46 number_of_moving_lights(1),
47 number_of_dummy_responders(1),
48 number_of_ack_timer_responders(0),
49 number_of_advanced_dimmers(1),
50 number_of_sensor_responders(1),
51 number_of_network_responders(1) {
54 uint8_t number_of_dimmers;
55 uint16_t dimmer_sub_device_count;
56 uint8_t number_of_moving_lights;
57 uint8_t number_of_dummy_responders;
58 uint8_t number_of_ack_timer_responders;
59 uint8_t number_of_advanced_dimmers;
60 uint8_t number_of_sensor_responders;
61 uint8_t number_of_network_responders;
68 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
69 std::string Description()
const {
return "Dummy Port"; }
77 unsigned int expected_count;
78 unsigned int current_count;
81 } broadcast_request_tracker;
87 ResponderMap m_responders;
90 void HandleBroadcastAck(broadcast_request_tracker *tracker,
91 ola::rdm::rdm_response_code code,
93 const std::vector<std::string> &packets);
97 static const unsigned int kStartAddress = 0xffffff00;
102 #endif // PLUGINS_DUMMY_DUMMYPORT_H_