mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
Update sim800l.cpp (#4223)
This commit is contained in:
parent
e95d6041d8
commit
8d6ffb9169
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ void Sim800LComponent::parse_cmd_(std::string message) {
|
||||||
case STATE_SEND_USSD1:
|
case STATE_SEND_USSD1:
|
||||||
this->send_cmd_("AT+CUSD=1, \"" + this->ussd_ + "\"");
|
this->send_cmd_("AT+CUSD=1, \"" + this->ussd_ + "\"");
|
||||||
this->state_ = STATE_SEND_USSD2;
|
this->state_ = STATE_SEND_USSD2;
|
||||||
|
this->expect_ack_ = true;
|
||||||
break;
|
break;
|
||||||
case STATE_SEND_USSD2:
|
case STATE_SEND_USSD2:
|
||||||
ESP_LOGD(TAG, "SendUssd2: '%s'", message.c_str());
|
ESP_LOGD(TAG, "SendUssd2: '%s'", message.c_str());
|
||||||
|
|
Loading…
Reference in a new issue