ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::ld24xx Namespace Reference

Typedefs

template<typename T >
using SensorWithDedup = sensor::SensorWithDedup<T>
 

Functions

template<size_t N>
optional< size_t > find_index (const uint32_t(&arr)[N], uint32_t value)
 
const char * format_mac_str (const uint8_t *mac_address, std::span< char, MAC_ADDRESS_PRETTY_BUFFER_SIZE > buffer)
 
void format_version_str (const uint8_t *version, std::span< char, 20 > buffer)
 

Typedef Documentation

◆ SensorWithDedup

Definition at line 57 of file ld24xx.h.

Function Documentation

◆ find_index()

template<size_t N>
optional< size_t > esphome::ld24xx::find_index ( const uint32_t(&) arr[N],
uint32_t value )

Definition at line 28 of file ld24xx.h.

◆ format_mac_str()

const char * esphome::ld24xx::format_mac_str ( const uint8_t * mac_address,
std::span< char, MAC_ADDRESS_PRETTY_BUFFER_SIZE > buffer )
inline

Definition at line 41 of file ld24xx.h.

◆ format_version_str()

void esphome::ld24xx::format_version_str ( const uint8_t * version,
std::span< char, 20 > buffer )
inline

Definition at line 51 of file ld24xx.h.