mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-12 12:08:13 +08:00
c60983abd617ea73f0ca89d4f00709688fff05d9
commit might get messed up because chrome dev editor caused some problems with this one.
Web Bluetooth DFU
Device firmware update with Web Bluetooth
Update device firmware via Web Bluetooth following the protocol here:
Device Configuration
You will need an nRF51 or nRF52 development kit, flashed with the appropriate image:
Web Example
Open this site in a Web Bluetooth enabled browser:
https://thegecko.github.io/web-bluetooth-dfu/
Node Example
Clone this repository, install the npm dependencies and execute.
$ npm install
$ node example_node <device-type>
Where <device-type> is one of nrf51 or nrf52.
Languages
TypeScript
84.5%
JavaScript
14.2%
Shell
0.9%
HTML
0.4%