Michael Dietz
|
abbd0bc818
|
Add timeouts so entire DFU process works.
|
2016-03-10 12:42:42 +01:00 |
|
Rob Moran
|
a4d1e684fe
|
Updated README
|
2016-03-08 12:51:11 +00:00 |
|
Rob Moran
|
7cc73706f5
|
Merge branch 'mjdietzx-softdevice_bootloader_dfu'
|
2016-03-08 12:44:33 +00:00 |
|
Rob Moran
|
98dc0e6ac0
|
Merge branch 'softdevice_bootloader_dfu' of https://github.com/mjdietzx/web-bluetooth-dfu into mjdietzx-softdevice_bootloader_dfu
|
2016-03-08 12:44:04 +00:00 |
|
Rob Moran
|
4345068ac7
|
Minor update to gulpfile
|
2016-03-08 12:43:38 +00:00 |
|
Michael Dietz
|
f77a59045d
|
Remove documentation that doesn't belong in the README.
|
2016-03-08 11:32:39 +01:00 |
|
Michael Dietz
|
4893b99e3c
|
fix README formatting.
|
2016-03-08 11:26:48 +01:00 |
|
Michael Dietz
|
73b3f19d16
|
Shorten README
|
2016-03-08 11:25:33 +01:00 |
|
Michael Dietz
|
ce8414282f
|
Update readme to explain bootloader/softdevice updates better.
|
2016-03-08 11:00:48 +01:00 |
|
Michael Dietz
|
95f01b082e
|
Also need to specify the image type.
|
2016-03-07 11:36:37 +01:00 |
|
Michael Dietz
|
5c7d041620
|
Document how to update the SoftDevice or Bootloader.
|
2016-03-07 11:26:17 +01:00 |
|
Michael Dietz
|
8a9a2bce3d
|
Added and renamed files for testing dfu of softdevice and bootloader.
|
2016-03-07 10:10:14 +01:00 |
|
Michael Dietz
|
d78a4e51bf
|
Clarified documentation and minor cleanup.
|
2016-03-07 09:45:15 +01:00 |
|
Michael Dietz
|
c60983abd6
|
Softdevice and bootloader updates now working...
commit might get messed up because chrome dev editor caused some problems with this one.
|
2016-03-04 14:48:56 +01:00 |
|
Michael Dietz
|
7f7b54eab6
|
Add boot loader for testing (nRF52 and requires s132 alpha to be on chip)
|
2016-03-04 12:47:35 +01:00 |
|
Michael Dietz
|
82714d55b9
|
min and max address should be optional and specified based on target/image type.
|
2016-03-04 11:26:23 +01:00 |
|
Michael Dietz
|
a6b0da5855
|
Cut off MBR when updating SoftDevice and UICR when updating bootloader as required by the protocol.
|
2016-03-04 11:17:59 +01:00 |
|
Michael Dietz
|
24775ec487
|
Fully implement hex2bin. Handles gaps in hex file now and pads with 0xFF.
|
2016-03-04 10:14:38 +01:00 |
|
Michael Dietz
|
4f5f9ae5c7
|
Add the softdevice and the bootloader for testing DFU
|
2016-03-03 09:46:12 +01:00 |
|
Rob Moran
|
b79bdbbb19
|
Merge pull request #7 from mjdietzx/develop
Develop
|
2016-03-02 15:26:40 +00:00 |
|
Michael Dietz
|
75b0e0fd39
|
Small change, just add log when dfu completes and remote ble device resets to start the new application.
|
2016-03-02 12:49:11 +01:00 |
|
Michael Dietz
|
a497d1af8f
|
Remove some garbage.
|
2016-03-01 14:40:23 +01:00 |
|
Michael Dietz
|
5d01200309
|
Adding disconnect event listener from characteristic was giving an error for Chrome Book.
|
2016-03-01 14:38:35 +01:00 |
|
Rob Moran
|
db13a494f6
|
Added crc16 js file to web example
|
2016-02-29 13:06:39 +00:00 |
|
Rob Moran
|
e4deacf5e4
|
Merge pull request #4 from thegecko/default-crc
Add default crc if not specified
|
2016-02-29 10:30:42 +00:00 |
|
Rob Moran
|
b6567b5d57
|
Update README.md
|
2016-02-28 15:59:17 +00:00 |
|
Rob Moran
|
e2a427d094
|
Add default crc if not specified
|
2016-02-27 14:07:34 +00:00 |
|
Rob Moran
|
3de7ca6765
|
Switched to master branch of bleat
|
2016-02-27 13:34:12 +00:00 |
|
Rob Moran
|
f9d9111044
|
Merge pull request #3 from mjdietzx/develop_crc16
LGTM, I'll create a separate PR to add a default CRC if not passed
|
2016-02-27 13:31:02 +00:00 |
|
Michael Dietz
|
3829145e51
|
Change order of parameters of provision().
|
2016-02-26 15:35:27 +01:00 |
|
Michael Dietz
|
423fbf07a2
|
CRC is not required for mbed. Really shouldn't be seen by user.
|
2016-02-26 11:42:42 +01:00 |
|
Michael Dietz
|
c551b074f3
|
Use the CRC we generate for the image in the init packet.
|
2016-02-26 11:17:03 +01:00 |
|
Michael Dietz
|
03450d44b4
|
Add CRC module to calculate crc 16 for image validation.
|
2016-02-26 11:09:48 +01:00 |
|
Michael Dietz
|
aabff61375
|
Merge branch 'master' of https://github.com/thegecko/web-bluetooth-dfu
|
2016-02-25 14:07:12 +01:00 |
|
Rob Moran
|
53e9c24d7b
|
Updated library to use latest revision of web-bluetooth specification
|
2016-02-25 12:35:43 +00:00 |
|
Michael Dietz
|
ba4984cba9
|
Merge branch 'master' of https://github.com/thegecko/web-bluetooth-dfu
|
2016-02-25 09:25:31 +01:00 |
|
Rob Moran
|
0459cf2975
|
Removed ES6 syntax
|
2016-02-24 16:23:45 +00:00 |
|
Michael Dietz
|
dc8e5fc177
|
Merge branch 'master' of https://github.com/thegecko/web-bluetooth-dfu
|
2016-02-24 16:49:26 +01:00 |
|
Michael Dietz
|
a5e91135f6
|
Merge remote-tracking branch 'refs/remotes/thegecko/master'
|
2016-02-24 15:57:31 +01:00 |
|
Rob Moran
|
e3c9180d70
|
Added CircleCI build job and README badges
|
2016-02-24 14:57:24 +00:00 |
|
Rob Moran
|
b25d6d3e62
|
Merge branch 'mjdietzx-develop'
|
2016-02-24 14:47:23 +00:00 |
|
Rob Moran
|
76e636ec70
|
Renamed firmware, added nrf52 support to examples and reserructed dummy disconnects
|
2016-02-24 14:46:06 +00:00 |
|
Michael Dietz
|
a6d3249d68
|
Revert web bluetooth api update changes to not break bleat.
|
2016-02-23 13:05:59 +01:00 |
|
Michael Dietz
|
6a30516f48
|
Fix switch statement so DFU OTA works for mbed and recent revisions of bootloader.
|
2016-02-23 12:58:15 +01:00 |
|
Michael Dietz
|
5f5b053ccf
|
Reading characteristic returns a data view instead of array buffer in update. Small fix making var names consistent.
|
2016-02-23 10:31:33 +01:00 |
|
Michael Dietz
|
9dcd9ad046
|
device.connectGATT() deprecated. No need for notification callback handler in writeMode().
|
2016-02-23 10:09:08 +01:00 |
|
Michael Dietz
|
2dbbbb1378
|
Small bug fix: if version is 6 or lower don't send init packet.
|
2016-02-18 13:59:19 +01:00 |
|
Michael Dietz
|
b5e1dbe7c7
|
Use definitions for op codes to make message sequence state easy to follow.
|
2016-02-18 13:45:54 +01:00 |
|
Michael Dietz
|
b871bbae08
|
Use switch statement for DFU OTA message sequence instead of if else.
|
2016-02-18 13:25:09 +01:00 |
|
Michael Dietz
|
dfb7adedce
|
Get rid of warnings due to error being defined as a variable and then used in catch() out of scope.
|
2016-02-18 11:12:30 +01:00 |
|