ESPHome  2022.5.1
Public Member Functions | Protected Member Functions | Protected Attributes
esphome::am43::Am43Encoder Class Reference

#include <am43_base.h>

Public Member Functions

Am43Packetget_battery_level_request ()
 
Am43Packetget_light_level_request ()
 
Am43Packetget_position_request ()
 
Am43Packetget_send_pin_request (uint16_t pin)
 
Am43Packetget_open_request ()
 
Am43Packetget_close_request ()
 
Am43Packetget_stop_request ()
 
Am43Packetget_set_position_request (uint8_t position)
 

Protected Member Functions

void checksum_ ()
 
Am43Packetencode_ (uint8_t command, uint8_t *data, uint8_t length)
 

Protected Attributes

Am43Packet packet_
 

Detailed Description

Definition at line 32 of file am43_base.h.

Member Function Documentation

◆ checksum_()

void esphome::am43::Am43Encoder::checksum_ ( )
protected

Definition at line 60 of file am43_base.cpp.

◆ encode_()

Am43Packet * esphome::am43::Am43Encoder::encode_ ( uint8_t  command,
uint8_t *  data,
uint8_t  length 
)
protected

Definition at line 69 of file am43_base.cpp.

◆ get_battery_level_request()

Am43Packet * esphome::am43::Am43Encoder::get_battery_level_request ( )

Definition at line 19 of file am43_base.cpp.

◆ get_close_request()

Am43Packet * esphome::am43::Am43Encoder::get_close_request ( )

Definition at line 46 of file am43_base.cpp.

◆ get_light_level_request()

Am43Packet * esphome::am43::Am43Encoder::get_light_level_request ( )

Definition at line 24 of file am43_base.cpp.

◆ get_open_request()

Am43Packet * esphome::am43::Am43Encoder::get_open_request ( )

Definition at line 41 of file am43_base.cpp.

◆ get_position_request()

Am43Packet * esphome::am43::Am43Encoder::get_position_request ( )

Definition at line 29 of file am43_base.cpp.

◆ get_send_pin_request()

Am43Packet * esphome::am43::Am43Encoder::get_send_pin_request ( uint16_t  pin)

Definition at line 34 of file am43_base.cpp.

◆ get_set_position_request()

Am43Packet * esphome::am43::Am43Encoder::get_set_position_request ( uint8_t  position)

Definition at line 56 of file am43_base.cpp.

◆ get_stop_request()

Am43Packet * esphome::am43::Am43Encoder::get_stop_request ( )

Definition at line 51 of file am43_base.cpp.

Field Documentation

◆ packet_

Am43Packet esphome::am43::Am43Encoder::packet_
protected

Definition at line 46 of file am43_base.h.


The documentation for this class was generated from the following files: