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

Go to the source code of this file.

Namespaces

namespace  LD2410Defs
 

Variables

constexpr size_t LD2410Defs::LD2410_Buffer_Size = 0x40
 
constexpr byte LD2410Defs::headData [4] { 0xF4, 0xF3, 0xF2, 0xF1 }
 
constexpr byte LD2410Defs::tailData [4] { 0xF8, 0xF7, 0xF6, 0xF5 }
 
constexpr byte LD2410Defs::headConfig [4] { 0xFD, 0xFC, 0xFB, 0xFA }
 
constexpr byte LD2410Defs::tailConfig [4] { 4, 3, 2, 1 }
 
constexpr byte LD2410Defs::configEnableCommand = 0xff
 
constexpr byte LD2410Defs::configEnableCommandData [6] { 4, 0, configEnableCommand, 0, 1, 0 }
 
constexpr byte LD2410Defs::configDisableCommand = 0xFE
 
constexpr byte LD2410Defs::configDisableCommandData [4] { 2, 0, configDisableCommand, 0 }
 
constexpr byte LD2410Defs::requestMacAddressCommand = 0xA5
 
constexpr byte LD2410Defs::requestMacAddressCommandData [6] { 4, 0, requestMacAddressCommand, 0, 1, 0 }
 
constexpr byte LD2410Defs::requestFirmwareCommand = 0xA0
 
constexpr byte LD2410Defs::requestFirmwareCommandData [4] { 2, 0, requestFirmwareCommand, 0 }
 
constexpr byte LD2410Defs::requestDistanceResolutionCommand = 0xAB
 
constexpr byte LD2410Defs::requestDistanceResolutionCommandData [4] { 2, 0, requestDistanceResolutionCommand, 0 }
 
constexpr byte LD2410Defs::setDistanceResolutionCommand = 0xAA
 
constexpr byte LD2410Defs::setDistanceResolution75cmCommandData [6] { 4, 0, setDistanceResolutionCommand, 0, 0, 0 }
 
constexpr byte LD2410Defs::setDistanceResolution20cmCommandData [6] { 4, 0, setDistanceResolutionCommand, 0, 1, 0 }
 
constexpr byte LD2410Defs::setBaudRateCommand = 0xA1
 
constexpr byte LD2410Defs::setBaudRateCommandData [6] { 4, 0, setBaudRateCommand, 0, 7, 0 }
 
constexpr byte LD2410Defs::restoreFactorySettingsAsyncCommand = 0xA2
 
constexpr byte LD2410Defs::restoreFactorSettingsCommandData [4] { 2, 0, restoreFactorySettingsAsyncCommand, 0 }
 
constexpr byte LD2410Defs::rebootCommand = 0xA3
 
constexpr byte LD2410Defs::rebootCommandData [4] { 2, 0, rebootCommand, 0 }
 
constexpr byte LD2410Defs::bluetoothSettingsCommand = 0xA4
 
constexpr byte LD2410Defs::bluetoothSettingsOnCommandData [6] { 4, 0, bluetoothSettingsCommand, 0, 1, 0 }
 
constexpr byte LD2410Defs::bluetoothSettingsOffCommandData [6] { 4, 0, bluetoothSettingsCommand, 0, 0, 0 }
 
constexpr byte LD2410Defs::getBluetoothPermissionsCommand = 0xA8
 
constexpr byte LD2410Defs::setBluetoothPasswordCommand = 0xA9
 
constexpr byte LD2410Defs::setBluetoothPasswordCommandData [10] { 8, 0, setBluetoothPasswordCommand, 0, 0x48, 0x69, 0x4C, 0x69, 0x6E, 0x6B }
 
constexpr byte LD2410Defs::requestParamsCommand = 0x61
 
constexpr byte LD2410Defs::requestParamsCommandData [4] { 2, 0, requestParamsCommand, 0 }
 
constexpr byte LD2410Defs::engineeringModeEnableComand = 0x62
 
constexpr byte LD2410Defs::engineeringModeEnableCommandData [4] { 2, 0, engineeringModeEnableComand, 0 }
 
constexpr byte LD2410Defs::engineeringModeDisableComand = 0x63
 
constexpr byte LD2410Defs::engineeringModeDisableCommandData [4] { 2, 0, engineeringModeDisableComand, 0 }
 
constexpr byte LD2410Defs::requestAuxControlSettingsCommand = 0xAE
 
constexpr byte LD2410Defs::requestAuxControlSettingsCommandData [4] { 2, 0, requestAuxControlSettingsCommand, 0 }
 
constexpr byte LD2410Defs::setAuxControlSettingsCommand = 0xAD
 
constexpr byte LD2410Defs::setAuxControlSettingCommandData [8] { 6, 0, setAuxControlSettingsCommand, 0, 0, 0x80, 0, 0 }
 
constexpr byte LD2410Defs::beginAutoConfigCommand = 0x0B
 
constexpr byte LD2410Defs::beginAutoConfigCommandData [6] { 4, 0, beginAutoConfigCommand, 0, 0x0A, 0 }
 
constexpr byte LD2410Defs::requestAutoConfigStatusCommand = 0x1B
 
constexpr byte LD2410Defs::requestAutoConfigStatusCommandData [4] { 2, 0, requestAutoConfigStatusCommand, 0 }
 
constexpr byte LD2410Defs::distanceGateSensitivityConfigCommand = 0x64
 
constexpr byte LD2410Defs::distanceGateSensitivityConfigCommandData [0x16]
 
constexpr byte LD2410Defs::maxGateCommand = 0x60
 
constexpr byte LD2410Defs::maxGateCommandData [0x16]