at: add default handling for unrecognized responses

This commit is contained in:
Arnaud Ferraris
2020-12-11 12:58:35 +01:00
parent f386d851fa
commit 664f82d570

View File

@@ -195,6 +195,9 @@ static gboolean modem_response(gint fd,
retry_at_command(manager);
else if (strstr(response, "OK"))
process_at_result(manager, response);
else
// Not a recognized response, try running next command, just in case
next_at_command(manager);
}
return TRUE;