mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-12 20:18:13 +08:00
Renamed firmware, added nrf52 support to examples and reserructed dummy disconnects
This commit is contained in:
20
README.md
20
README.md
@@ -1,29 +1,31 @@
|
||||
# Web Bluetooth DFU
|
||||
Device firmware update with Web Bluetooth
|
||||
|
||||
Update device firmware via [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/) using the protocol here:
|
||||
Update device firmware via [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/) following the protocol here:
|
||||
|
||||
[http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00103.html](http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00103.html)
|
||||
http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk52.v0.9.2/bledfu_transport.html?cp=4_0_2_4_2_4
|
||||
|
||||
## Device Configuration
|
||||
|
||||
Put this firmware onto an [nrf51822](https://www.nordicsemi.com/eng/Products/nRF51-DK):
|
||||
You will need an [nRF51](https://www.nordicsemi.com/Products/nRF51-DK) or [nRF52](https://www.nordicsemi.com/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52-DK) development kit, flashed with the appropriate image:
|
||||
|
||||
[NRF51822_DFU_Test_BOOT.hex](https://thegecko.github.io/web-bluetooth-dfu/firmware/NRF51822_DFU_Test_BOOT.hex)
|
||||
[nrf51_boot_s110.hex](https://thegecko.github.io/web-bluetooth-dfu/firmware/nrf51_boot_s110.hex)
|
||||
|
||||
Then reset the device.
|
||||
[nrf52_boot_s132.hex](https://thegecko.github.io/web-bluetooth-dfu/firmware/nrf52_boot_s132.hex)
|
||||
|
||||
## Web Example
|
||||
|
||||
Open this site in a Web Bluetooth enabled browser:
|
||||
Open this site in a [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/) enabled browser:
|
||||
|
||||
[https://thegecko.github.io/web-bluetooth-dfu/](https://thegecko.github.io/web-bluetooth-dfu/)
|
||||
|
||||
## Node Example
|
||||
|
||||
Install the npm dependencies and run.
|
||||
Clone this repository, install the npm dependencies and execute.
|
||||
|
||||
```
|
||||
npm install
|
||||
node example_node
|
||||
```
|
||||
node example_node <device-type>
|
||||
```
|
||||
|
||||
Where ```<device-type>``` is one of ```nrf51``` or ```nrf52```.
|
||||
Reference in New Issue
Block a user