handle ATH0 command

This commit is contained in:
Martin Michelsen 2024-02-07 20:42:09 -08:00
parent 12a7e17a41
commit 9d0d2f0a40
1 changed files with 2 additions and 2 deletions

View File

@ -365,9 +365,9 @@ void CEXIModem::RunAllPendingATCommands()
INFO_LOG_FMT(SP1, "Received AT command: {}", command);
if (command.substr(0, 3) == "ATZ")
if (command.substr(0, 3) == "ATZ" || command == "ATH0")
{
// Reset
// Reset (ATZ) or hang up (ATH0)
m_network_interface->Deactivate();
AddATReply("OK\r");
}