Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.24 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.24 KB

HeadlessHaystack Firmware for ESP32

This project contains a battery-optimzed PoC firmware for Espressif ESP32 chips (like ESP32-WROOM or ESP32-WROVER, but not ESP32-S2). After flashing our firmware, the device sends out Bluetooth Low Energy advertisements such that it can be found by Apple's Find My network. This firmware consumes slightly more power when more than 1 key is used. The controller wakes up every 30 minutes and switches the key.

Requirements

Deploy the Firmware

  • Download and unpack the firmware
  • Copy your previously generated PREFIX_keyfile in the same folder
esptool.py write_flash 0x1000  bootloader.bin \
                0x8000  partitions.bin \
                0x10000 firmware.bin \
                0x110000 PREFIX_keyfile

If any problem occurs, erase flash manually before flashing:

esptool.py erase_flash

Note: You might need to reset your device after running the script before it starts sending advertisements.