handle ATH0 command
This commit is contained in:
parent
12a7e17a41
commit
9d0d2f0a40
|
@ -365,9 +365,9 @@ void CEXIModem::RunAllPendingATCommands()
|
||||||
|
|
||||||
INFO_LOG_FMT(SP1, "Received AT command: {}", command);
|
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();
|
m_network_interface->Deactivate();
|
||||||
AddATReply("OK\r");
|
AddATReply("OK\r");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue