Working for both mbed and current revisions of DFU OTA...

Minor problems like writeMode bug in mbed and CRC code is just 0x0 for now so will fail for init packet check.
This commit is contained in:
Michael Dietz
2016-02-18 10:11:56 +01:00
parent c18979f5e1
commit daadfd8194
2 changed files with 14 additions and 17 deletions

View File

@@ -36,8 +36,8 @@
function transfer(device) {
return new Promise(function(resolve, reject) {
var url = urlMask.replace("{0}", device.name === "Hi_Rob" ? "Bye" : "Hi");
//var url = urlMask52; // nRF52832 application (example BLE heart rate from Nordic SDK) for DFU OTA update.
//var url = urlMask.replace("{0}", device.name === "Hi_Rob" ? "Bye" : "Hi");
var url = urlMask52; // nRF52832 application (example BLE heart rate from Nordic SDK) for DFU OTA update.
download(url)
.then(hex => {