DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
Ld2410Report Struct Reference

A decoded LD2410 target report. Engineering fields are 0 unless engineering. More...

#include <ld2410.h>

Public Attributes

uint8_t engineering
 1 if this was an engineering-mode frame (per-gate energies valid)
 
uint8_t state
 one of LD2410_STATE_*
 
uint16_t moving_cm
 moving target distance (cm)
 
uint8_t moving_energy
 moving target energy (0-100)
 
uint16_t static_cm
 stationary target distance (cm)
 
uint8_t static_energy
 stationary target energy (0-100)
 
uint16_t detect_cm
 overall detection distance (cm)
 
uint8_t max_moving_gate
 highest configured moving gate
 
uint8_t max_static_gate
 highest configured stationary gate
 
uint8_t moving_gate_energy [LD2410_MAX_GATES]
 per-gate moving energy (0-100)
 
uint8_t static_gate_energy [LD2410_MAX_GATES]
 per-gate stationary energy (0-100)
 
uint8_t light
 photosensor level (0-255)
 
uint8_t out_pin
 OUT pin level (0/1)
 

Detailed Description

A decoded LD2410 target report. Engineering fields are 0 unless engineering.

Definition at line 48 of file ld2410.h.

Member Data Documentation

◆ engineering

uint8_t Ld2410Report::engineering

1 if this was an engineering-mode frame (per-gate energies valid)

Definition at line 50 of file ld2410.h.

◆ state

uint8_t Ld2410Report::state

one of LD2410_STATE_*

Definition at line 51 of file ld2410.h.

◆ moving_cm

uint16_t Ld2410Report::moving_cm

moving target distance (cm)

Definition at line 52 of file ld2410.h.

◆ moving_energy

uint8_t Ld2410Report::moving_energy

moving target energy (0-100)

Definition at line 53 of file ld2410.h.

◆ static_cm

uint16_t Ld2410Report::static_cm

stationary target distance (cm)

Definition at line 54 of file ld2410.h.

◆ static_energy

uint8_t Ld2410Report::static_energy

stationary target energy (0-100)

Definition at line 55 of file ld2410.h.

◆ detect_cm

uint16_t Ld2410Report::detect_cm

overall detection distance (cm)

Definition at line 56 of file ld2410.h.

◆ max_moving_gate

uint8_t Ld2410Report::max_moving_gate

highest configured moving gate

Definition at line 58 of file ld2410.h.

◆ max_static_gate

uint8_t Ld2410Report::max_static_gate

highest configured stationary gate

Definition at line 59 of file ld2410.h.

◆ moving_gate_energy

uint8_t Ld2410Report::moving_gate_energy[LD2410_MAX_GATES]

per-gate moving energy (0-100)

Definition at line 60 of file ld2410.h.

◆ static_gate_energy

uint8_t Ld2410Report::static_gate_energy[LD2410_MAX_GATES]

per-gate stationary energy (0-100)

Definition at line 61 of file ld2410.h.

◆ light

uint8_t Ld2410Report::light

photosensor level (0-255)

Definition at line 62 of file ld2410.h.

◆ out_pin

uint8_t Ld2410Report::out_pin

OUT pin level (0/1)

Definition at line 63 of file ld2410.h.


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