thegecko / web-bluetooth-dfu

Device firmware update with Web Bluetooth
https://thegecko.github.io/web-bluetooth-dfu/
MIT License
98 stars 42 forks source link

How does Web Blueotth DFU work ? #34

Closed il3ven closed 5 years ago

il3ven commented 5 years ago

I am trying to develop similar DFU for Nordic but using WebUSB. So I was first trying to understand Web Bluetooth.

So far I have understood this much -

Can anybody give an overview of how different components work together in this code ? Components such as Web Bluetooth, Nordic's Bootloader, SoftDevice.

thegecko commented 5 years ago

The protocols and approach used are all outlined in Nordic's SDK documentation as linked in the README

il3ven commented 5 years ago

Okay. Nordic's SDK define protocols for DFU upgradation. Is it right to summarise that this project uses the same protocol as defined in SDK but instead using Bluetooth from within an app this uses from within chrome using Web Bluetooth API ?

thegecko commented 5 years ago

Yes