device_reflex_probe
SPIKE: arm a local reflex on an Android device — watch the video stream for a brightness jump and fire gamepad button 0 immediately, without a round trip. Measures how fast the loop can close. Returns fire count, decoded frame count, frame intervals, and the detect-to-write time measured server-side. The authoritative end-to-end number must come from the device clock (a page that flips a marker and watches for the button).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Device serial number (UDID) | |
| holdMs | No | How long to hold the button before releasing and re-arming (default 120) | |
| durationMs | No | How long to keep the reflex armed (default 8000) | |
| thresholdDelta | No | Mean-luminance jump that counts as a stimulus, 0-255 (default 25) |