Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
proto_timing.h File Reference

Physical-layer radio and timing parameters for the IO-Homecontrol protocol. More...

#include <cstdint>
Include dependency graph for proto_timing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  esphome
namespace  esphome::home_io_control

Variables

static constexpr uint32_t esphome::home_io_control::FREQ_CH1 = 868250000
 The protocol uses 3 frequency channels in the 868 MHz ISM band.
static constexpr uint32_t esphome::home_io_control::FREQ_CH2 = 868950000
 Channel 2: 868.95 MHz (1W and 2W, TX channel).
static constexpr uint32_t esphome::home_io_control::FREQ_CH3 = 869850000
 Channel 3: 869.85 MHz (2W only).
static constexpr uint16_t esphome::home_io_control::LONG_PREAMBLE = 1024
 Preamble is a sequence of 0xAA bytes that precedes every frame.
static constexpr uint16_t esphome::home_io_control::SHORT_PREAMBLE = 8
 8 bytes for response/continuation frames
static constexpr int32_t esphome::home_io_control::HOP_TIME_US = 2700
 Timing constants for frequency hopping and response waiting.
static constexpr int32_t esphome::home_io_control::RESPONSE_CHANNEL_WAIT_MS = 50
 Per-channel dwell while waiting for an exchange response.
static constexpr int32_t esphome::home_io_control::RESPONSE_WAIT_MS = 500
 Wait for response to non-start frame.
static constexpr int32_t esphome::home_io_control::RESPONSE_START_WAIT_MS = 1000
 Wait for a response to a start frame — the first frame of an exchange, and the one a sleeping device has just been woken by.
static constexpr int32_t esphome::home_io_control::RESPONSE_AUTH_WAIT_MS
 Wait for final response after challenge response.
static constexpr int32_t esphome::home_io_control::EXCHANGE_RETRY_DELAY_MS = 250
 Gap between retries within one HA command.
static constexpr uint8_t esphome::home_io_control::EXCHANGE_RETRY_COUNT = 3
 Attempts per command before reporting failure.
static constexpr int16_t esphome::home_io_control::LBT_RSSI_THRESHOLD_DBM = -90
 Listen-before-talk (LBT) parameters for ETSI EN 300 220 compliance.
static constexpr uint8_t esphome::home_io_control::LBT_MAX_RETRIES = 5
 Max carrier-sense attempts before TX anyway.
static constexpr uint8_t esphome::home_io_control::LBT_RETRY_DELAY_MS = 5
 Backoff between LBT checks (≥ 5ms per ETSI).
static constexpr uint16_t esphome::home_io_control::PAIRING_DISCOVERY_WAIT_MS = 2000
 Canonical defaults for the chip-neutral runtime-tunable pairing/discovery parameters.
static constexpr uint16_t esphome::home_io_control::PAIRING_DISCOVERY_INITIAL_DWELL_MS = 300
 Dwell on CH2 before discovery hopping begins.
static constexpr uint8_t esphome::home_io_control::PAIRING_KEY_EXCHANGE_RETRIES = 3
 Retries for the authenticated key-exchange phase.

Detailed Description

Physical-layer radio and timing parameters for the IO-Homecontrol protocol.

Definition in file proto_timing.h.