ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
rc_switch_protocol.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::remote_base
 

Functions

 esphome::remote_base::ESPHOME_LOG_TAG (TAG, "remote.rc_switch")
 
RCSwitchBase esphome::remote_base::rc_switch_protocol (uint8_t index)
 RAM copy of RC_SWITCH_PROTOCOLS[index] (0 when out of range) for the transmit actions and the dumper, made with progmem_memcpy so no byte load ever touches the flash table on ESP8266.
 
RCSwitchBase esphome::remote_base::rc_switch_protocol_copy (const RCSwitchBase *protocol)
 RAM copy of a protocol stored in flash, made with progmem_memcpy (own name: rc_switch_protocol(0) stays unambiguous)
 
uint64_t esphome::remote_base::decode_binary_string (const std::string &data)
 
uint64_t esphome::remote_base::decode_binary_string_mask (const std::string &data)