From 9363dc053436052ce6abf8c364377a28f71f1d7b Mon Sep 17 00:00:00 2001 From: Howard Date: Sat, 5 Jun 2021 14:48:58 +0300 Subject: [PATCH] Clarify the nature of the key parameter used by flash_esp32.sh The OpenHaystack UI does not expose the concept of "public key". The script `flash_esp.32` is in fact expecting the base-64 encoded advertisement key. --- Firmware/ESP32/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/ESP32/README.md b/Firmware/ESP32/README.md index 9100add..4bce447 100644 --- a/Firmware/ESP32/README.md +++ b/Firmware/ESP32/README.md @@ -36,7 +36,7 @@ These files are required for the next step: Deploy the firmware. Use the `flash_esp32.sh` script to deploy the firmware and a public key to an ESP32 device connected to your local machine: ```bash -./flash_esp32.sh -p /dev/yourSerialPort "public-key-in-base64" +./flash_esp32.sh -p /dev/yourSerialPort "Base64-encoded advertisement key" ``` > **Note:** You might need to reset your device after running the script before it starts sending advertisements.