ESPHome  1.15.2
Data Structures | Enumerations | Variables
esphome::sim800l Namespace Reference

Data Structures

class  Sim800LComponent
 
class  Sim800LReceivedMessageTrigger
 
class  Sim800LSendSmsAction
 

Enumerations

enum  State {
  STATE_IDLE = 0, STATE_INIT, STATE_CHECK_AT, STATE_CREG,
  STATE_CREGWAIT, STATE_CSQ, STATE_CSQ_RESPONSE, STATE_IDLEWAIT,
  STATE_SENDINGSMS1, STATE_SENDINGSMS2, STATE_SENDINGSMS3, STATE_CHECK_SMS,
  STATE_PARSE_SMS, STATE_PARSE_SMS_RESPONSE, STATE_RECEIVESMS, STATE_READSMS,
  STATE_RECEIVEDSMS, STATE_DELETEDSMS, STATE_DISABLE_ECHO, STATE_PARSE_SMS_OK
}
 

Variables

const char ASCII_CR = 0x0D
 
const char ASCII_LF = 0x0A
 
const uint8_t SIM800L_READ_BUFFER_LENGTH = 255
 

Enumeration Type Documentation

◆ State

Enumerator
STATE_IDLE 
STATE_INIT 
STATE_CHECK_AT 
STATE_CREG 
STATE_CREGWAIT 
STATE_CSQ 
STATE_CSQ_RESPONSE 
STATE_IDLEWAIT 
STATE_SENDINGSMS1 
STATE_SENDINGSMS2 
STATE_SENDINGSMS3 
STATE_CHECK_SMS 
STATE_PARSE_SMS 
STATE_PARSE_SMS_RESPONSE 
STATE_RECEIVESMS 
STATE_READSMS 
STATE_RECEIVEDSMS 
STATE_DELETEDSMS 
STATE_DISABLE_ECHO 
STATE_PARSE_SMS_OK 

Definition at line 12 of file sim800l.h.

Variable Documentation

◆ ASCII_CR

const char esphome::sim800l::ASCII_CR = 0x0D

Definition at line 10 of file sim800l.cpp.

◆ ASCII_LF

const char esphome::sim800l::ASCII_LF = 0x0A

Definition at line 11 of file sim800l.cpp.

◆ SIM800L_READ_BUFFER_LENGTH

const uint8_t esphome::sim800l::SIM800L_READ_BUFFER_LENGTH = 255

Definition at line 10 of file sim800l.h.