Inspiration
Two gadgets that have nothing to do with each other — a camera gimbal and a pair of earbuds — each speak a private Bluetooth language. I wanted one translator for both: pick a device, fire a hand-built hex command, and watch the decoded notification stream back.
What it does
BLE Device Whisperer is a web workbench for the raw Bluetooth protocols of a Hohem iSteady MT2 gimbal and NUU Buds earbuds. Three guided scenarios walk you through both protocols in plain language, and a raw hex pad lets you poke any byte string at the active peripheral. The gimbal talks in AA55 frames (length byte, sum-of-bytes mod-256 checksum, FF terminator); the earbuds use fixed opcodes on GATT service A001, with five hidden EQ curves. Every frame is validated — a wrong checksum byte is rejected with the exact reason. No hardware, no backend, no accounts: it runs entirely in the browser.
How we built it
Spec-driven, with Kiro. The .kiro/ directory at the repo root holds the spec, the steering rules, and the hooks documentation, and Kiro worked from them. Plain HTML/CSS/JS, no build step, no dependencies, 25 automated tests passing, live on GitHub Pages.
Challenges we ran into
Honesty was the hard part. The protocol tables come from my project notes — nobody decompiled the vendors' apps for this project, and no frames were confirmed on real hardware. My MT2 gimbal is bricked (Error 01) and the NUU Buds were never tested, so every byte is unverified and the device replies are simulated placeholders, not captured traces. The early drafts claimed reverse engineering that never happened; we rewrote the README, the spec, the steering rules, and the app's own wording until every file said the same honest thing. The steering rule that mattered most — never invent frames, never describe simulated replies as captured — is one Kiro itself followed: asked to add a motor-torque scenario, it refused to invent an opcode that wasn't documented and reused the existing 0x66 status frame instead.
Accomplishments that we're proud of
A demo that works with zero hardware and replays identically every time — what you see in the video is exactly what the live app does. And a project that says plainly what it is and isn't, in the app, the repo, and the video.
What we learned
A deterministic simulation is worth more than a claimed capture: judges can verify everything we show. And a steering rule is only useful if the agent actually follows it — this one did, and it made the project more honest, not less complete.
What's next for BLE Device Whisperer
Hardware confirmation: test the NUU Buds commands on the real earbuds, and the gimbal frames once the MT2 firmware is fixed. A cross-device scenario that makes the two halves interact. Maybe a real Web Bluetooth mode for judges who do have the hardware.
Try it: https://asantosh666.github.io/ble-device-whisperer/ Code: https://github.com/asantosh666/ble-device-whisperer