ESPHome  2024.4.0
Public Member Functions
esphome::ld2420::LD2420Listener Class Reference

#include <ld2420.h>

Inheritance diagram for esphome::ld2420::LD2420Listener:
esphome::ld2420::LD2420BinarySensor esphome::ld2420::LD2420Sensor esphome::ld2420::LD2420TextSensor

Public Member Functions

virtual void on_presence (bool presence)
 
virtual void on_distance (uint16_t distance)
 
virtual void on_energy (uint16_t *sensor_energy, size_t size)
 
virtual void on_fw_version (std::string &fw)
 

Detailed Description

Definition at line 102 of file ld2420.h.

Member Function Documentation

◆ on_distance()

virtual void esphome::ld2420::LD2420Listener::on_distance ( uint16_t  distance)
inlinevirtual

Reimplemented in esphome::ld2420::LD2420Sensor.

Definition at line 105 of file ld2420.h.

◆ on_energy()

virtual void esphome::ld2420::LD2420Listener::on_energy ( uint16_t *  sensor_energy,
size_t  size 
)
inlinevirtual

Reimplemented in esphome::ld2420::LD2420Sensor.

Definition at line 106 of file ld2420.h.

◆ on_fw_version()

virtual void esphome::ld2420::LD2420Listener::on_fw_version ( std::string &  fw)
inlinevirtual

Reimplemented in esphome::ld2420::LD2420TextSensor.

Definition at line 107 of file ld2420.h.

◆ on_presence()

virtual void esphome::ld2420::LD2420Listener::on_presence ( bool  presence)
inlinevirtual

Reimplemented in esphome::ld2420::LD2420BinarySensor.

Definition at line 104 of file ld2420.h.


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