ESPHome  2024.3.2
Public Member Functions | Protected Member Functions | Protected Attributes
esphome::vbus::VBusListener Class Referenceabstract

#include <vbus.h>

Inheritance diagram for esphome::vbus::VBusListener:
esphome::vbus::DeltaSolBS2009BSensor esphome::vbus::DeltaSolBS2009Sensor esphome::vbus::DeltaSolBSPlusBSensor esphome::vbus::DeltaSolBSPlusSensor esphome::vbus::DeltaSolCBSensor esphome::vbus::DeltaSolCS2BSensor esphome::vbus::DeltaSolCS2Sensor esphome::vbus::DeltaSolCSensor esphome::vbus::DeltaSolCSPlusBSensor esphome::vbus::DeltaSolCSPlusSensor esphome::vbus::VBusCustomBSensor esphome::vbus::VBusCustomSensor

Public Member Functions

void set_command (uint16_t command)
 
void set_source (uint16_t source)
 
void set_dest (uint16_t dest)
 
void on_message (uint16_t command, uint16_t source, uint16_t dest, std::vector< uint8_t > &message)
 

Protected Member Functions

virtual void handle_message (std::vector< uint8_t > &message)=0
 

Protected Attributes

uint16_t command_ {0xffff}
 
uint16_t source_ {0xffff}
 
uint16_t dest_ {0xffff}
 

Detailed Description

Definition at line 13 of file vbus.h.

Member Function Documentation

◆ handle_message()

virtual void esphome::vbus::VBusListener::handle_message ( std::vector< uint8_t > &  message)
protectedpure virtual

◆ on_message()

void esphome::vbus::VBusListener::on_message ( uint16_t  command,
uint16_t  source,
uint16_t  dest,
std::vector< uint8_t > &  message 
)

Definition at line 114 of file vbus.cpp.

◆ set_command()

void esphome::vbus::VBusListener::set_command ( uint16_t  command)
inline

Definition at line 15 of file vbus.h.

◆ set_dest()

void esphome::vbus::VBusListener::set_dest ( uint16_t  dest)
inline

Definition at line 17 of file vbus.h.

◆ set_source()

void esphome::vbus::VBusListener::set_source ( uint16_t  source)
inline

Definition at line 16 of file vbus.h.

Field Documentation

◆ command_

uint16_t esphome::vbus::VBusListener::command_ {0xffff}
protected

Definition at line 22 of file vbus.h.

◆ dest_

uint16_t esphome::vbus::VBusListener::dest_ {0xffff}
protected

Definition at line 24 of file vbus.h.

◆ source_

uint16_t esphome::vbus::VBusListener::source_ {0xffff}
protected

Definition at line 23 of file vbus.h.


The documentation for this class was generated from the following files: