Skip to content

Commit

Permalink
Fix: Programmer warns of dect firmware file name (#476)
Browse files Browse the repository at this point in the history
* Detect dect FW for 91x devices

* Update changelog

* remove debug

* Update Changelog.md

Co-authored-by: Grzegorz Ferenc <[email protected]>

* Update Changelog.md

---------

Co-authored-by: Grzegorz Ferenc <[email protected]>
  • Loading branch information
KievDevel and greg-fer authored Oct 18, 2024
1 parent 9d66fa2 commit 893d00e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Updated `nrfutil device` to v2.6.4.

### Fixed

- The DECT modem firmware is now correctly detected for nRF91x1 devices.

## 4.4.1 - 2024-09-24

### Fixed
Expand Down
7 changes: 5 additions & 2 deletions src/components/ModemUpdateDialogView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ const ModemUpdateDialogView = () => {
} else if (is91x1) {
expectedFileName = 'mfw_nrf91x1_X.X.X*.zip';
expectedFwName =
!modemFwName || /mfw_nrf91x1_\d+\.\d+\.\d+.*.zip/.test(modemFwName);
!modemFwName ||
/mfw_nrf91x1_\d+\.\d+\.\d+.*.zip/.test(modemFwName) ||
// DECT mfw
/mfw.*nrf91.1_\d+\.\d+\.\d+\.zip/.test(modemFwName);
url = 'https://www.nordicsemi.com/Products/nRF9161/Download';
}

Expand Down Expand Up @@ -221,7 +224,7 @@ Are you sure you want to continue?`,
variant="warning"
>
<br />
Nordic official modem firmware files are named
Nordic official modem firmware files are named{' '}
{expectedFileName}.
<br />
Modem firmware files can be downloaded from{' '}
Expand Down

0 comments on commit 893d00e

Please sign in to comment.