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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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_);
this->watch_dog_ = 0;
this->write_str(message.c_str());
this->write_byte(ASCII_CR);
this->write_byte(ASCII_LF);
}