From: Michael Gernoth Date: Sat, 7 Nov 2015 10:22:21 +0000 (+0100) Subject: README: add example for sending device to bootloader on OTA X-Git-Tag: v0.102~2 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/81f2fd852a865506cdb92a6df572b2ff81ad7594 README: add example for sending device to bootloader on OTA --- diff --git a/README.md b/README.md index 8c4793e..85592a0 100644 --- a/README.md +++ b/README.md @@ -102,9 +102,13 @@ you should upgrade to at least version 0.101. `./flash-ota -f hm_cc_rt_dn_update_V1_4_001_141020.eq3 -s KEQ0123456 -c /dev/ttyACM0` **Automatic firmware-updates:** -The options `-C`, `-D` and `-K` can be used to send a device to the -bootloader automatically without manually rebooting the device while -pressing buttons. +The options `-C` (HMID of central), `-D` (HMID of device) and `-K` (AES key w/ +index) can be used to send a device to the bootloader automatically without +manually rebooting the device while pressing buttons: + +`./flash-ota -f hm_cc_rt_dn_update_V1_4_001_141020.eq3 -C ABCDEF -D 012345 -K 01:00112233445566778899AABBCCDDEEFF` + +`-K` is only needed, when AES signing is active on the device. **Acknowledgments:** flash-ota uses the public domain [AES implementation by Brad Conte][] to answer