|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
LR1121 radio driver implementation for IO-Homecontrol. More...
#include "radio_lr1121.h"#include "esphome/core/log.h"#include "esphome/core/application.h"#include <cinttypes>Go to the source code of this file.
Namespaces | |
| namespace | esphome |
| namespace | esphome::home_io_control |
Variables | |
| static const char *const | esphome::home_io_control::TAG = "home_io_control.lr1121" |
| static const uint32_t | esphome::home_io_control::LR1121_BUSY_TIMEOUT_MS = 3000 |
LR1121 radio driver implementation for IO-Homecontrol.
See radio_lr1121.h for the architectural context: this driver is a re-plumbed RadioSX1262 over a different SPI command set. Everything about the software UART PHY (TX bit-encoding, RX probe/CRC recovery) is identical to the SX1262 and lives in radio_soft_phy.{h,cpp}; the IRQ-driven RX/TX orchestration both drivers share is in SoftPhyDriverBase (radio_soft_phy_driver_base.{h,cpp}). This file only has to reproduce the LR1121-specific transport (16-bit opcodes, two-transaction command/response, 32-bit IRQ word) and the chip's own GFSK/RF-switch/TCXO/PA configuration.
Definition in file radio_lr1121.cpp.