2.3 KiB
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:
nrf51_boot_s110.hex - an mbed bootloader merged with Nordic's s110 SoftDevice
nrf52_boot_s132.hex - Nordic's bootloader merged with Nordic's s132 SoftDevice
Upon flashing the device will be in bootloader mode and ready to receive a DFU transfer.
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.
Updating the SoftDevice or Bootloader (nRF52 only)
The .hex files below can be transferred via DFU to test SoftDevice and Bootloader updates respectivley:
nrf52_softdevice_only.hex - Nordic's s132 SoftDevice
nrf52_bootloader_only.hex - Nordic's standard bootloader
Note: Currently updating the SoftDevice and Bootloader at the same time is not supported.