ESPHome 2025.5.0
Loading...
Searching...
No Matches
beo4_protocol.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::remote_base
 

Enumerations

enum class  esphome::remote_base::RxSt { esphome::remote_base::RX_IDLE , esphome::remote_base::RX_DATA , esphome::remote_base::RX_STOP }
 

Variables

constexpr uint16_t esphome::remote_base::PW_CARR_US = 200
 
constexpr uint16_t esphome::remote_base::PW_ZERO_US = 2925
 
constexpr uint16_t esphome::remote_base::PW_SAME_US = 6050
 
constexpr uint16_t esphome::remote_base::PW_ONE_US = 9175
 
constexpr uint16_t esphome::remote_base::PW_STOP_US = 12300
 
constexpr uint16_t esphome::remote_base::PW_START_US = 15425
 
constexpr uint8_t esphome::remote_base::PC_ZERO = (PW_CARR_US + PW_ZERO_US) / 3125
 
constexpr uint8_t esphome::remote_base::PC_SAME = (PW_CARR_US + PW_SAME_US) / 3125
 
constexpr uint8_t esphome::remote_base::PC_ONE = (PW_CARR_US + PW_ONE_US) / 3125
 
constexpr uint8_t esphome::remote_base::PC_STOP = (PW_CARR_US + PW_STOP_US) / 3125
 
constexpr uint8_t esphome::remote_base::PC_START = (PW_CARR_US + PW_START_US) / 3125
 
constexpr uint32_t esphome::remote_base::N_BITS = 1 + 8 + 8
 
constexpr uint32_t esphome::remote_base::N_SYM = 2 + ((3 + 17 + 1) * 2u)