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

Byte-by-byte report-frame reassembler (fixed buffer, resyncs on noise). More...

#include <ld2410.h>

Public Attributes

uint8_t buf [LD2410_FRAME_MAX]
 frame under construction
 
uint16_t pos
 bytes collected so far
 
uint16_t total
 expected full-frame length (known after the length field)
 
uint8_t hdr_match
 header bytes matched while syncing (phase = pos<4)
 
uint8_t phase
 0 sync, 1 length, 2 body
 

Detailed Description

Byte-by-byte report-frame reassembler (fixed buffer, resyncs on noise).

Definition at line 75 of file ld2410.h.

Member Data Documentation

◆ buf

uint8_t Ld2410Stream::buf[LD2410_FRAME_MAX]

frame under construction

Definition at line 77 of file ld2410.h.

◆ pos

uint16_t Ld2410Stream::pos

bytes collected so far

Definition at line 78 of file ld2410.h.

◆ total

uint16_t Ld2410Stream::total

expected full-frame length (known after the length field)

Definition at line 79 of file ld2410.h.

◆ hdr_match

uint8_t Ld2410Stream::hdr_match

header bytes matched while syncing (phase = pos<4)

Definition at line 80 of file ld2410.h.

◆ phase

uint8_t Ld2410Stream::phase

0 sync, 1 length, 2 body

Definition at line 81 of file ld2410.h.


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