mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-12 12:08:13 +08:00
Small change, just add log when dfu completes and remote ble device resets to start the new application.
This commit is contained in:
1
dist/dfu.js
vendored
1
dist/dfu.js
vendored
@@ -383,6 +383,7 @@
|
|||||||
log('complete, reset...');
|
log('complete, reset...');
|
||||||
|
|
||||||
server.device.addEventListener("gattserverdisconnected", function() {
|
server.device.addEventListener("gattserverdisconnected", function() {
|
||||||
|
log('disconnected and completed the DFU transfer');
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user