Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams Struct Reference

The GFSK SetPacketParams fields both software-PHY chips program identically. More...

#include <radio_soft_phy_driver_base.h>

Collaboration diagram for esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams:

Public Attributes

uint16_t preamble_bytes
 Byte-denominated, like every other preamble value in this codebase.
uint8_t preamble_detector
 Chip-specific detector-length selector.
uint8_t sync_word_param
 Chip-specific 24-bit sync-word selector.
uint8_t packet_type
 Known-length / fixed-length selector.
uint8_t payload_len
 Configured payload length.
uint8_t crc_type
 Chip-specific CRC-mode selector.

Detailed Description

The GFSK SetPacketParams fields both software-PHY chips program identically.

Both drivers build the same nine-byte SetPacketParams payload in the same order; only the preamble-detector length and the sync-word selector are chip constants, and only the opcode and transport differ. Everything else — the field order and the byte/bit preamble conversion that the 63e2502 fix had to patch in two places — lives in build_gfsk_packet_params.

Definition at line 200 of file radio_soft_phy_driver_base.h.

Member Data Documentation

◆ crc_type

uint8_t esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams::crc_type

Chip-specific CRC-mode selector.

Definition at line 206 of file radio_soft_phy_driver_base.h.

◆ packet_type

uint8_t esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams::packet_type

Known-length / fixed-length selector.

Definition at line 204 of file radio_soft_phy_driver_base.h.

◆ payload_len

uint8_t esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams::payload_len

Configured payload length.

Definition at line 205 of file radio_soft_phy_driver_base.h.

◆ preamble_bytes

uint16_t esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams::preamble_bytes

Byte-denominated, like every other preamble value in this codebase.

Definition at line 201 of file radio_soft_phy_driver_base.h.

◆ preamble_detector

uint8_t esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams::preamble_detector

Chip-specific detector-length selector.

Definition at line 202 of file radio_soft_phy_driver_base.h.

◆ sync_word_param

uint8_t esphome::home_io_control::SoftPhyDriverBase::SoftPhyPacketParams::sync_word_param

Chip-specific 24-bit sync-word selector.

Definition at line 203 of file radio_soft_phy_driver_base.h.


The documentation for this struct was generated from the following file: