1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

Send CR also for commands for sim800l (#3719)

This commit is contained in:
Samuel Sieb
2022-08-16 15:35:44 -07:00
committed by GitHub
parent df6830110d
commit 43539f2dbf

View File

@@ -44,6 +44,7 @@ void Sim800LComponent::send_cmd_(const std::string &message) {
ESP_LOGV(TAG, "S: %s - %d", message.c_str(), this->state_); ESP_LOGV(TAG, "S: %s - %d", message.c_str(), this->state_);
this->watch_dog_ = 0; this->watch_dog_ = 0;
this->write_str(message.c_str()); this->write_str(message.c_str());
this->write_byte(ASCII_CR);
this->write_byte(ASCII_LF); this->write_byte(ASCII_LF);
} }