ble·sign·beacongood-trouble

Bluetooth Low Energy sit-in beacon. Broadcast arbitrary sign-messages as raw BLE advertisements on any ~$5 ESP32. "Choosing to be seen is the whole idea of a sit-in."

Expressive RF Presence · Speech, Not a Blockade

This project is designed to make civil presence countable and visible in the RF spectrum. Unlike RF jammers or deauthentication attacks that deny spectrum to others, ble-sign-beacon operates strictly within regulatory compliance: low transmit power (-12 dBm), ordinary 100 ms advertising intervals, and locally-administered OUIs. It does not interfere with the band—it speaks into it.

01 · arbitrary ble packet broadcast: deeper than a beacon

Commercial Bluetooth beacons (such as Apple iBeacon or Google Eddystone) lock transmission into rigid, proprietary payloads that advertise a fixed UUID, major/minor integers, or a URL.

ble-sign-beacon bypasses these limits by crafting raw, arbitrary GAP (Generic Access Profile) advertising frames directly against the ESP32 radio stack:

BLE ADVERTISING PDU ON 2.4 GHz CHANNELS 37, 38, 39 PREAMBLE 1 Byte (0xAA) ACCESS ADDR 4B: 0x8E89BED6 ADV ADDRESS (MAC) 02:47:54:xx:xx:xx (GT) ARBITRARY ADV DATA PAYLOAD Up to 31 Bytes (GAP Data Blocks) CRC 3 Bytes EXPLODED GAP DATA STRUCTURE (STRUCTURED MESSAGE INJECTION) BLOCK 1: FLAGS (0x01) 0x02 0x01 0x06 (LE Disc) BLOCK 2: LOCAL NAME (0x09) "GOOD_TROUBLE" / "CONSENT_DENIED" BLOCK 3: MFG DATA (0xFF) 0xFFFF (Exp Company) + Custom Payload
Figure 1: Anatomy of an arbitrary GAP advertising frame generated by ble-sign-beacon.

02 · the good trouble protocol, ethics & prohibited behavior specification

Protest technology requires strict ethical and technical discipline to avoid becoming a public nuisance, causing denial-of-service, or endangering fellow citizens. ble-sign-beacon exists to establish expressive, peaceful presence in the RF spectrum—not to engage in electronic warfare or spectrum sabotage.

✓ SPEECH · GOOD TROUBLE DISCIPLINE • Access Addr: Standard 0x8E89BED6 (Spec Compliant) • Block 1 (Flags): 0x06 (LE Gen Disc, BR/EDR Not Supp) • Block 3 (Mfg Data): Exp 0xFFFF / Raw Plaintext • Identity: 02:47:54 (Honest locally-administered OUI) • Power: -12 dBm (ESP_PWR_LVL_N12) → Low TX footprint • Interval: ~100 ms + random jitter → Cooperative ALOHA • Density: 1 node/person → The crowd is the sign • Privacy: Rotating lower MAC → No static tracking Non-interfering · Audible to scanners · Lawful ✗ BLOCKADE · PROHIBITED BEHAVIOR • Access Addr: Corrupted sync words → Baseband lockup • Block 1 (Flags): Contradictory BR/EDR & rapid Disc loops • Block 3 (Mfg): Spoofing Apple/Google/MS modal popups • Identity: Doppelganging civilian MACs & medical UUIDs • Power: +9 dBm amplification → Venue capture effect • Interval: 20 ms rapid burst spam → Band exhaustion • Framing: Fabricating false hits in surveillance logs • Safety: Sabotaging glucose monitors & hearing aids Spectrally abusive · Self-defeating · Unlawful DoS
Figure 2: The boundary between expressive RF presence (speech) and spectrum denial / doppelganging (blockade).

The Anatomy of Prohibited Behavior · Protocol Layer Breakdown

To prevent dual-use ambiguity, the following technical behaviors are strictly prohibited and architecturally excluded from ble-sign-beacon:

Layer / Field Lawful Speech (✓) Prohibited Blockade (✗) Harm / Failure Mode Induced
Access Address
PHY / Link Layer
Standard advertising address 0x8E89BED6 (Bluetooth Core Spec Vol 6, Part B, §2.1.2). Injecting arbitrary sync words, preamble colliders, or snooped connection access addresses. Overwhelms receiver matched filters/correlators; causes bit-slip demodulation errors or terminates active civilian links.
Block 1: Flags
GAP AD Type 0x01
0x06: LE General Discoverable, BR/EDR Not Supported. Matches non-connectable PHY. Setting simultaneous BR/EDR bits (Bits 3/4) or looping Limited Discoverable (Bit 0) with 0-sec timeouts. Triggers OS daemon race conditions (crashing iOS bluetoothd / Android fluoride) and forces 100% active scan battery drain.
Block 3: Mfg Data
GAP AD Type 0xFF
Experimental Company ID 0xFFFF or registered hobbyist ID; static ASCII chant strings. Spoofing assigned Company Identifiers: Apple (0x004C), Google (0x00E0), Microsoft (0x0006), Samsung (0x0075). UI Modal Inundation (SourApple / AppleJuice): Freezes bystander touchscreens with pairing modals; blocks emergency 911 dialing.
Device Doppelganging
MAC / BD_ADDR
Honest locally-administered OUI (02:47:54) with rotating lower 24 bits for privacy. Sniffing real civilian phones or smartwatches and mirroring their exact 48-bit MAC or RPA. Forensic Framing & Collateral Harm: Pins activist broadcasts onto innocent bystanders in police/sensor dragnets (The "Sentinel" trap).
Service UUIDs
GAP AD Type 0x02/0x03
Omits service UUIDs or uses custom non-reserved 128-bit experimental UUIDs. Cloning standard SIG UUIDs for Continuous Glucose Monitors (0x181F), Heart Rate (0x180D), or Hearing Aids (0x1851). Life-Safety Sabotage: Desynchronizes medical telemetry apps and disconnects hearing accessibility equipment.
Transmit Power
RF Physical Layer
Attenuated power (-12 dBm to 0 dBm). Audible within immediate crowd perimeter (~5–15 meters). High-gain amplification (+9 dBm to +20 dBm external front-end). Venue RF Swamping: FM/FSK capture effect drowns out legitimate low-power transmissions across the entire 2.4 GHz ISM band.
Cadence & Jitter
Timing Subsystem
100 ms advertising interval with pseudo-random 0–10 ms jitter delay (ALOHA compliance). 20 ms deterministic rapid burst spam without random jitter across channels 37, 38, 39. Band Exhaustion: Destroys channel access arbitration, inducing 90%+ packet collision rates for all nearby civilian devices.
Tracker Telemetry
Safety Networks
Never emits Apple Find My or Google Find My Device protocol structures. Forging AirTag payload structures or rotating key seeds to trigger synthetic alerts. Crowd Panic Falsification: Fires spurious "Unknown Tracker Traveling With You" alerts, causing mass panic and degrading real safety tools.

The Non-Doppelganging Imperative · Why Identity Spoofing is Unethical

Doppelganging is the antithesis of civil disobedience. In a sit-in, activists willingly offer their presence as moral witness. If an operator sniffs a real civilian's MAC address and clones it while broadcasting protest slogans, any surveillance system (whether an automated automated listener like sentinel-node or a municipal dragnet) logs that the innocent civilian was the source of the broadcast. In a criminalized or hostile jurisdiction, this manufactures false forensic evidence, exposing bystanders to unwarranted interrogation, arrest, or geofence subpoenas. True "Good Trouble" speaks under its own collective banner (02:47:54); it never hides behind a civilian shield.

03 · interactive ble packet crafter & compliance auditor

Configure packet parameters below or select an attack scenario preset. The live compliance engine tests your packet against the Bluetooth Core Specification and the Good Trouble protocol rules, rendering color-coded byte dissection in real time:

Scenario Presets:
Byte Budget: 22 / 31 Bytes
✓ LAWFUL CONSTITUTIONAL RF SPEECH
Interactive GAP Frame Dissector:
Compliance Engine Findings:
Generating raw advertisement bytes...

04 · live web bluetooth scanner & beacon monitor

Inspect local airwaves directly from your browser. Use the Web Bluetooth API to scan for active Bluetooth devices, or run the high-fidelity simulator to test packet classification in environments where Web Bluetooth is restricted:

Browser status: checking Web Bluetooth support...
Ready. Start the simulated stream or connect via Web Bluetooth to inspect incoming BLE advertisements...

05 · deployment firmware & live generator

Option A — Static Firmware (good_trouble.ino)

Cycles through your protest chants every 2,000 ms, randomizing the lower 3 octets of the MAC address on each rotation under the honest 02:47:54 prefix. The code below adapts automatically to your customized settings:

BLEDevice::init("CONSENT_DENIED");
BLEDevice::setPower(ESP_PWR_LVL_N12);
BLEAdvertisementData data;
data.setName("CONSENT_DENIED");
std::string mfg; mfg += (char)0xFF; mfg += (char)0xFF;
mfg.append("CONSENT_DENIED");
data.setManufacturerData(mfg);
adv->setAdvertisementData(data);

Option B — Transient Captive Portal (good_trouble_config.ino)

On first boot (or when the BOOT button is held), the ESP32 opens an ephemeral SoftAP named good-trouble-setup with a captive DNS portal. The user joins from their phone, saves their custom message into NVS flash, and the firmware permanently kills the Wi-Fi stack (WiFi.mode(WIFI_OFF)), transitioning purely into low-power BLE broadcast.

06 · hardware & flash-and-go guide

Any standard ESP32 development board (~$5–8, e.g. ESP32-WROOM DevKit or ESP32-S3) is supported. No antenna upgrades or soldering required:

  1. Install the Arduino IDE and add the ESP32 board support URL from Espressif.
  2. Open good_trouble.ino or good_trouble_config.ino from the repository.
  3. Plug the ESP32 into USB, select your board and serial COM port, and click Upload.
  4. Off Switch: Unplug the USB cable. The device has no battery and ceases transmission immediately.

Frequently asked questions

What does a BLE sign beacon do?

It broadcasts a short message as a Bluetooth Low Energy advertisement, with the message as the device name. Any nearby BLE scanner can read it.

Is the message hidden or encrypted?

No. The README says it has no encryption and no attempt at anonymity, by design. If scanners see it, that is the point of a sit-in.

What hardware do I need?

Any ESP32 dev board, which the README prices at about $5 to $8. The internal BLE antenna is enough, so no antenna upgrade is needed.

How do I set my message?

Either edit the source and flash it through the Arduino IDE, or flash the config version. The config version creates a good-trouble-setup Wi-Fi network on first boot. Join it from a phone and set the message on the captive portal. Hold BOOT while replugging to change it later.

How loud is it?

Low power, about -12 dBm, with the standard 100 ms advertising interval plus random jitter. The README asks users not to raise the power or send bursts of spam, because that crowds out everyone's signal.

Can it impersonate other devices?

The README prohibits it. That covers using another vendor's identity, cloning nearby people's devices, and copying medical or safety device identifiers. It also asks each person to run one beacon, because the crowd is the message.