LD2410Async
Asynchronous Arduino ESP32 library for the LD2410 mmWave radar sensor
Loading...
Searching...
No Matches
LD2410Async.cpp File Reference
#include "Arduino.h"
#include "Ticker.h"
#include "LD2410Async.h"
#include "LD2410Defs.h"
#include "LD2410Types.h"
#include "LD2410CommandBuilder.h"

Go to the source code of this file.

Functions

bool bufferEndsWith (const byte *buffer, int iMax, const byte *pattern)
 Checks whether the last 4 bytes of a buffer match the value supplied in pattern.
 
String byte2hex (byte b, bool addZero=true)
 

Function Documentation

◆ bufferEndsWith()

bool bufferEndsWith ( const byte * buffer,
int iMax,
const byte * pattern )

Checks whether the last 4 bytes of a buffer match the value supplied in pattern.

Definition at line 17 of file LD2410Async.cpp.

◆ byte2hex()

String byte2hex ( byte b,
bool addZero = true )

Definition at line 29 of file LD2410Async.cpp.