mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 10:14:13 +01:00
Send CR also for commands for sim800l (#3719)
This commit is contained in:
parent
df6830110d
commit
43539f2dbf
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ void Sim800LComponent::send_cmd_(const std::string &message) {
|
|||
ESP_LOGV(TAG, "S: %s - %d", message.c_str(), this->state_);
|
||||
this->watch_dog_ = 0;
|
||||
this->write_str(message.c_str());
|
||||
this->write_byte(ASCII_CR);
|
||||
this->write_byte(ASCII_LF);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue