mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-30 07:42:23 +02:00
at: fast/poweroff is only available in newer firmware versions
Do not retry the AT command of the fast/poweroff setting as it may not be supported by the firmware
This commit is contained in:
8
src/at.c
8
src/at.c
@@ -232,8 +232,12 @@ static gboolean modem_response(gint fd,
|
|||||||
*/
|
*/
|
||||||
else if (strstr(response, "QGPSURC: \"xtradataexpire\"") && manager->at_cmds == NULL)
|
else if (strstr(response, "QGPSURC: \"xtradataexpire\"") && manager->at_cmds == NULL)
|
||||||
gnss_upload_assistance_data(manager);
|
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);
|
retry_at_command(manager);
|
||||||
/*
|
/*
|
||||||
* Successfull AT responses contain 'OK', except for AT+QFUPL which also
|
* Successfull AT responses contain 'OK', except for AT+QFUPL which also
|
||||||
|
Reference in New Issue
Block a user