ESPHome  2022.12.8
Namespaces | Functions | Variables
sml.cpp File Reference

Go to the source code of this file.

Namespaces

 esphome
 
 esphome::sml
 

Functions

bool esphome::sml::check_sml_data (const bytes &buffer)
 
uint16_t esphome::sml::calc_crc16_p1021 (bytes::const_iterator begin, bytes::const_iterator end, uint16_t crcsum)
 
uint16_t esphome::sml::calc_crc16_x25 (bytes::const_iterator begin, bytes::const_iterator end, uint16_t crcsum=0)
 
uint16_t esphome::sml::calc_crc16_kermit (bytes::const_iterator begin, bytes::const_iterator end, uint16_t crcsum=0)
 
uint8_t esphome::sml::get_code (uint8_t byte)
 

Variables

const char esphome::sml::START_BYTES_DETECTED = 1
 
const char esphome::sml::END_BYTES_DETECTED = 2