Skip to content

Commit

Permalink
applications: serial_lte_modem: reference workaround for NRF91-1702
Browse files Browse the repository at this point in the history
Referenced the known issue NRF91-1702 and its workaround. Removed the
check for modem firmware version.

Signed-off-by: Kacper Radoszewski <kacper.radoszewski@nordicsemi.no>
  • Loading branch information
kacperradoszewski committed Jul 21, 2023
1 parent c8a4366 commit 1a2a9a7
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions applications/serial_lte_modem/src/slm_at_fota.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,7 @@ 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.");
LOG_INF("Re-initializing the modem due to ongoing modem firmware update.");

/* The second init needs to be done regardless of the return value.
* Refer to the below link for more information on the procedure.
Expand All @@ -388,14 +385,9 @@ 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();
}
/* Workaround for a known issue NRF91-1702. */
LOG_INF("Applying the workaround to a modem firmware update issue...");
nrf_modem_lib_shutdown();
nrf_modem_lib_init();
}
}

0 comments on commit 1a2a9a7

Please sign in to comment.