Skip to content

Commit

Permalink
Clarify the nature of the key parameter used by flash_esp32.sh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
HouzuoGuo authored and Sn0wfreezeDev committed Nov 4, 2021
1 parent e95fe0c commit 9363dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/ESP32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9363dc0

Please sign in to comment.