From 81f2fd852a865506cdb92a6df572b2ff81ad7594 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sat, 7 Nov 2015 11:22:21 +0100 Subject: [PATCH] README: add example for sending device to bootloader on OTA --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.39.2