ESP32-BLEBeaconSpam icon indicating copy to clipboard operation
ESP32-BLEBeaconSpam copied to clipboard

BLE Beacon spam on ESP32

ESP32-BLEBeaconSpam

This tool was used when testing ESP32-BLECollector

It is based on the iBeacon example from the ESP32_BLE_Arduino library with the following changes :

  • Uses ESP.restart() instead of esp_deep_sleep()
  • Brownout detector is disabled
  • Random mac address is generated based on a reduced version of the oui list
  • Random company identifier is injected in manufacturer data based on an exhaustive list of companies
  • Random service UUID is generated (this part still needs improvements)

Credits/source:

  • https://github.com/1337ninja/UUIDGenerator
  • https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf
  • https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers