|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
SX1262 radio driver implementation for IO-Homecontrol. More...
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.sx1262" |
| static const uint8_t | esphome::home_io_control::SX1262_SYNC_WORD_PARAM_24_BITS = 0x18 |
SX1262 radio driver implementation for IO-Homecontrol.
Unlike the SX1276, the SX1262 does not provide Semtech's IoHomeOn mode for IO-Homecontrol. On SX1276 that mode handles key protocol details in hardware: CRC generation and checking, packet boundary handling, and delivery of already-decoded protocol bytes in the FIFO. On SX1262 those pieces are reproduced in software by SoftPhyDriverBase (shared with RadioLR1121) on top of generic GFSK support; this file supplies the SPI transport and every register/opcode encoding SoftPhyDriverBase's shared RX/TX orchestration calls through virtual primitives.
The chip interface itself is opcode-based SPI instead of the SX1276 register model, and every transaction must respect the BUSY line. For experiment builds, the RX path prioritizes preserving the chip-reported bytes and metadata verbatim.
Definition in file radio_sx1262.cpp.