Closed septs closed 4 years ago
the target device DFU use 00001530-1212-efde-1523-785feabcd123
I assume the default has changed, overwrite it here: https://github.com/thegecko/web-bluetooth-dfu/blob/d050b89497ae297829a772788e0c052781f4b945/src/secure-dfu.ts#L458
OK.
ERROR in ./src/components/SensorConsole/dfu/index.ts
Module not found: Error: Can't resolve 'web-bluetooth-dfu' in '/Users/septs/Projects/mops-vida-pm-watchdog/src/components/SensorConsole/dfu'
@ ./src/components/SensorConsole/dfu/index.ts 2:0-42 6:20-29 7:25-34
@ ./src/components/SensorConsole/FirmwareVersion.tsx
@ ./src/components/SensorConsole/index.tsx
@ ./src/Entry.tsx
@ ./src/index.ts
https://github.com/thegecko/web-bluetooth-dfu/blob/5cdb47563df3d2188d0f1051b9954022f56dcbd6/package.json#L10-L12 this syntax on webpack may not be supported.
@thegecko
This is an old repo and wasn't designed with webpack in mind. PRs welcome.
@thegecko do i allow many changes? e.q: upgrade all packages migrate tslint to eslint use prettier format code
and some api break change.
etc.
Please keep separate PRs focussed on a single area
Sorry, I decided to write a more modern https://github.com/NiceLabs/nordic-dfu
see https://developer.nordicsemi.com/nRF5_SDK/nRF51_SDK_v4.x.x/doc/html/group__dfu__ble__service__spec.html