ESPHome 2025.5.0
Loading...
Searching...
No Matches
constants.h 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::sml
 

Enumerations

enum  esphome::sml::SmlType : uint8_t {
  esphome::sml::SML_OCTET = 0 , esphome::sml::SML_BOOL = 4 , esphome::sml::SML_INT = 5 , esphome::sml::SML_UINT = 6 ,
  esphome::sml::SML_LIST = 7 , esphome::sml::SML_HEX = 10 , esphome::sml::SML_UNDEFINED = 255
}
 
enum  esphome::sml::SmlMessageType : uint16_t { esphome::sml::SML_PUBLIC_OPEN_RES = 0x0101 , esphome::sml::SML_GET_LIST_RES = 0x701 }
 

Variables

const uint16_t esphome::sml::START_MASK = 0x55aa
 
const uint16_t esphome::sml::END_MASK = 0x0157
 
const std::vector< uint8_t > esphome::sml::START_SEQ = {0x1b, 0x1b, 0x1b, 0x1b, 0x01, 0x01, 0x01, 0x01}