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;
77 std::string Description()
const {
return "Dummy Port"; }
89 unsigned int expected_count;
90 unsigned int current_count;
93 } broadcast_request_tracker;
99 ResponderMap m_responders;
102 void HandleBroadcastAck(broadcast_request_tracker *tracker,
103 ola::rdm::rdm_response_code code,
105 const std::vector<std::string> &packets);
109 static const unsigned int kStartAddress = 0xffffff00;
114 #endif // PLUGINS_DUMMY_DUMMYPORT_H_