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

Data Structures

class  Sim800LCallConnectedTrigger
 
class  Sim800LCallDisconnectedTrigger
 
class  Sim800LComponent
 
class  Sim800LConnectAction
 
class  Sim800LDialAction
 
class  Sim800LDisconnectAction
 
class  Sim800LIncomingCallTrigger
 
class  Sim800LReceivedMessageTrigger
 
class  Sim800LReceivedUssdTrigger
 
class  Sim800LSendSmsAction
 
class  Sim800LSendUssdAction
 

Enumerations

enum  State {
  STATE_IDLE = 0, STATE_INIT, STATE_SETUP_CMGF, STATE_SETUP_CLIP,
  STATE_CREG, STATE_CREG_WAIT, STATE_CSQ, STATE_CSQ_RESPONSE,
  STATE_SENDING_SMS_1, STATE_SENDING_SMS_2, STATE_SENDING_SMS_3, STATE_CHECK_SMS,
  STATE_PARSE_SMS_RESPONSE, STATE_RECEIVE_SMS, STATE_RECEIVED_SMS, STATE_DISABLE_ECHO,
  STATE_DIALING1, STATE_DIALING2, STATE_PARSE_CLIP, STATE_ATA_SENT,
  STATE_CHECK_CALL, STATE_SETUP_USSD, STATE_SEND_USSD1, STATE_SEND_USSD2,
  STATE_CHECK_USSD, STATE_RECEIVED_USSD
}
 

Variables

const char ASCII_CR = 0x0D
 
const char ASCII_LF = 0x0A
 
const uint16_t SIM800L_READ_BUFFER_LENGTH = 1024
 

Enumeration Type Documentation

◆ State

Enumerator
STATE_IDLE 
STATE_INIT 
STATE_SETUP_CMGF 
STATE_SETUP_CLIP 
STATE_CREG 
STATE_CREG_WAIT 
STATE_CSQ 
STATE_CSQ_RESPONSE 
STATE_SENDING_SMS_1 
STATE_SENDING_SMS_2 
STATE_SENDING_SMS_3 
STATE_CHECK_SMS 
STATE_PARSE_SMS_RESPONSE 
STATE_RECEIVE_SMS 
STATE_RECEIVED_SMS 
STATE_DISABLE_ECHO 
STATE_DIALING1 
STATE_DIALING2 
STATE_PARSE_CLIP 
STATE_ATA_SENT 
STATE_CHECK_CALL 
STATE_SETUP_USSD 
STATE_SEND_USSD1 
STATE_SEND_USSD2 
STATE_CHECK_USSD 
STATE_RECEIVED_USSD 

Definition at line 21 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 uint16_t esphome::sim800l::SIM800L_READ_BUFFER_LENGTH = 1024

Definition at line 19 of file sim800l.h.