{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "onehumanbeing-esp32-iphone-agent--debug-board-link-without-phone-app",
 "repo": "onehumanbeing/esp32-iphone-agent",
 "repo_url": "https://github.com/onehumanbeing/esp32-iphone-agent",
 "repo_slug": "onehumanbeing-esp32-iphone-agent",
 "title": "Test the ESP32 board over BLE from a Mac",
 "page_title": "How to test the ESP32 board over BLE from a Mac with Esp32 Iphone Agent",
 "summary": "Play the app's role from a Mac to check the board's BLE link, hotspot and HID output.",
 "who": "A firmware developer who needs to check the board without the phone app running.",
 "problem": "When the agent fails, it is hard to tell whether the board, the BLE link or the phone app is at fault.",
 "outcome": "The board is exercised from a Mac over BLE, which isolates firmware problems from app problems.",
 "steps": [
  "Install arduino-cli, the ESP32 core 3.3.x and NimBLE-Arduino 2.5.x, then run `arduino-cli lib install \"NimBLE-Arduino@2.5.1\"`.",
  "Run `hardware/flash.sh` with the board plugged into the Mac.",
  "Read hardware/tools/README.md and the BLE protocol in docs/ble-protocol.md.",
  "Run `hardware/tools/board_test.py` to play the app over BLE from the Mac.",
  "Record which board command fails and compare it to the app's behavior."
 ],
 "agent_prompt": "Using the repo onehumanbeing/esp32-iphone-agent, run hardware/tools/board_test.py against the board at <serial port> and summarize each BLE command it sends. Expected output: a list of commands with pass or fail. Verify the protocol names match docs/ble-protocol.md.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour 30 minutes",
 "basis": "readme",
 "caveat": "The README says the test harness plays the app from a Mac, but it does not list the board_test.py arguments, so read its help output before running it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "c",
 "requirements": [
  "An ESP32-S3 board, tested with a Seeed Studio XIAO ESP32S3 (plain version, 8 MB PSRAM)",
  "An iPhone on iOS 18 or later with cellular data",
  "An OpenAI-compatible vision model endpoint and API key",
  "A Mac with Xcode, needed once to flash the board and build the app"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/onehumanbeing-esp32-iphone-agent/debug-board-link-without-phone-app/",
 "md": "https://dedupedai.com/use-cases/onehumanbeing-esp32-iphone-agent/debug-board-link-without-phone-app/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/onehumanbeing-esp32-iphone-agent--debug-board-link-without-phone-app.json",
 "api_version": "v1"
}
