ESPHome  2023.3.1
Namespaces | Enumerations | Variables
constants.h File Reference

Go to the source code of this file.

Namespaces

 esphome
 
 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 }
 
enum  esphome::sml::Crc16CheckResult : uint8_t { esphome::sml::CHECK_CRC16_FAILED, esphome::sml::CHECK_CRC16_X25_SUCCESS, esphome::sml::CHECK_CRC16_KERMIT_SUCCESS }
 

Variables

const uint16_t esphome::sml::START_MASK = 0x55aa
 
const uint16_t esphome::sml::END_MASK = 0x0157
 
const uint16_t esphome::sml::CRC16_X25_TABLE [256]