Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applications: serial_lte_modem: Remove modem delta firmware update workaround #12086

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions applications/serial_lte_modem/src/slm_at_fota.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ void slm_fota_post_process(void)
void slm_finish_modem_fota(int modem_lib_init_ret)
{
if (handle_nrf_modem_lib_init_ret(modem_lib_init_ret)) {
char buf[40];

LOG_INF("Re-initializing the modem due to"
" ongoing modem firmware update.");
Expand All @@ -387,15 +386,5 @@ void slm_finish_modem_fota(int modem_lib_init_ret)
*/
modem_lib_init_ret = nrf_modem_lib_init();
handle_nrf_modem_lib_init_ret(modem_lib_init_ret);

nrf_modem_at_cmd(buf, sizeof(buf), "%s", "AT%SHORTSWVER");
if (strstr(buf, "1.3.4") || strstr(buf, "1.3.5")) {
/* Those versions suffer from a bug that provokes UICC failure (+CEREG: 90)
* after the update, preventing the modem from registering to the network.
*/
LOG_INF("Applying the workaround to a modem firmware update issue...");
nrf_modem_lib_shutdown();
nrf_modem_lib_init();
}
}
}
Loading