mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 10:26:53 +01:00
Send CR also for commands for sim800l (#3719)
This commit is contained in:
parent
df6830110d
commit
43539f2dbf
@ -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 New Issue
Block a user