From a911333c619f18c8fa24d55a31a6df19f0f41b91 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Thu, 3 Sep 2026 13:37:48 +0200 Subject: [PATCH] Extend sleep time during device reboot process Increased sleep duration to allow for a longer reboot and re-negotiation period. Signed-off-by: Niel Nielsen --- client/src/cmdhw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/cmdhw.c b/client/src/cmdhw.c index 00f4b673a..cf4c1b845 100644 --- a/client/src/cmdhw.c +++ b/client/src/cmdhw.c @@ -2440,7 +2440,7 @@ static int CmdBWMUpgrade(const char *Cmd) { // (that is what drops the finalize ack over BLE). Just wait for it to come // back and re-link, then confirm by version. PrintAndLogEx(INFO, "BWM rebooting into the new image (link drops briefly)..."); - msleep(8000); // reboot + re-negotiate baud + re-link + msleep(10000); // reboot + re-negotiate baud + re-link char ver_after[64] = {0}; bool have_after = (bwm_get_version(ver_after, sizeof(ver_after)) == PM3_SUCCESS); @@ -2462,7 +2462,6 @@ static int CmdBWMUpgrade(const char *Cmd) { // Could not re-read the version (link dropped on reboot, common over BLE). // All data was uploaded, so treat as done and let the user confirm. PrintAndLogEx(WARNING, "Could not re-read BWM version after reboot (link dropped?)"); - PrintAndLogEx(HINT, "Reconnect and run " _YELLOW_("hw status") " to confirm the version."); free(fw); return PM3_SUCCESS; }