From a1062a23eca3eb1f32f78b7b37b8bf254e46fb3d Mon Sep 17 00:00:00 2001 From: Tomi Fontanilles Date: Mon, 21 Aug 2023 14:42:45 +0300 Subject: [PATCH] applications: serial_lte_modem: Remove modem delta FW update workaround Working around the modem firmware bug is now taken care of by the modem library. Signed-off-by: Tomi Fontanilles --- applications/serial_lte_modem/src/slm_at_fota.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/applications/serial_lte_modem/src/slm_at_fota.c b/applications/serial_lte_modem/src/slm_at_fota.c index 5e0d745c29f..fe80481ff8d 100644 --- a/applications/serial_lte_modem/src/slm_at_fota.c +++ b/applications/serial_lte_modem/src/slm_at_fota.c @@ -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."); @@ -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(); - } } }