Commit Graph

16 Commits

Author SHA1 Message Date
Michael Dietz
c18979f5e1 Promise in transfer(...) should resolve after DFU Target is activated and reset. 2016-02-17 16:17:24 +01:00
Michael Dietz
70f681e20e No need to disconnect from DFU Target after DFU update. Link will be lost when target is reset and disconnect handler will be called. 2016-02-17 16:12:45 +01:00
Michael Dietz
8c9885770c Make message sequence of DFU process more readable. 2016-02-17 16:01:30 +01:00
Michael Dietz
98c7a75537 Improve how init packet is implemented. Some minor clean up. 2016-02-17 15:25:44 +01:00
Michael Dietz
8c10f0010a Nordic's DFU OTA protocol sends data in little endian format. Whether the web bluetooth platform is little endian or not doesn't matter. 2016-02-17 14:38:58 +01:00
Michael Dietz
ccd602838c Added an init packet which (for recent DFU OTA protocols) must transferred before the firmware image. 2016-02-17 13:08:26 +01:00
Michael Dietz
160889f638 Switch to bootloader/DFU mode working for recent revisions of DFU OTA protocol. 2016-02-17 11:00:09 +01:00
Michael Dietz
4903d0b9dd DFU Revision Characteristic is not being used optimally. 2016-02-16 13:08:00 +01:00
Michael Dietz
908bf53902 DFU Controller should not disconnect in dfu.writeMode() when switching target from application mode to bootloader/dfu mode. 2016-02-16 11:32:41 +01:00
Rob Moran
e6c232247e Added linting 2016-02-15 09:45:15 +00:00
Rob Moran
d92a6230b8 Added node example 2016-02-15 00:53:02 +00:00
Rob Moran
8563f595cb Further refactor 2016-02-05 02:07:42 -06:00
Rob Moran
7ba5e66371 Tidied implementation 2016-02-04 23:32:54 -06:00
Rob Moran
61386e3915 Refactored code 2016-02-04 15:46:40 -06:00
Rob Moran
c2236ff468 Now injecting logger 2016-02-04 12:02:45 -06:00
Rob Moran
1434b14406 First site 2016-02-04 10:40:31 -06:00