A decoded LD2410 target report. Engineering fields are 0 unless engineering.
More...
#include <ld2410.h>
A decoded LD2410 target report. Engineering fields are 0 unless engineering.
Definition at line 48 of file ld2410.h.
◆ 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
per-gate moving energy (0-100)
Definition at line 60 of file ld2410.h.
◆ static_gate_energy
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: