19 void on_message(uint16_t command, uint16_t source, uint16_t dest, std::vector<uint8_t> &message);
31 void dump_config()
override;
48 std::vector<VBusListener *> listeners_{};
void set_dest(uint16_t dest)
const float DATA
For components that import data from directly connected sensors like DHT.
void on_message(uint16_t command, uint16_t source, uint16_t dest, std::vector< uint8_t > &message)
std::function< float(std::vector< uint8_t > &)> message_parser_t
std::vector< uint8_t > buffer_
void set_source(uint16_t source)
float get_setup_priority() const override
void set_command(uint16_t command)
Implementation of SPI Controller mode.
virtual void handle_message(std::vector< uint8_t > &message)=0
void register_listener(VBusListener *listener)