diff --git a/src/at.c b/src/at.c index 37e3025..228ded6 100644 --- a/src/at.c +++ b/src/at.c @@ -232,8 +232,12 @@ static gboolean modem_response(gint fd, */ else if (strstr(response, "QGPSURC: \"xtradataexpire\"") && manager->at_cmds == NULL) gnss_upload_assistance_data(manager); - /* AT command failed, retry */ - else if (strstr(response, "ERROR")) + /* + * AT command failed, retry. + * QCFG="fast/poweroff" configuration is only available in + * newer firmware versions, skip retrying that specific AT command. + */ + else if (strstr(response, "ERROR") && !strstr(response, "fast/poweroff")) retry_at_command(manager); /* * Successfull AT responses contain 'OK', except for AT+QFUPL which also