Read/set the DS4's paired Bluetooth host, and read an ESP32's Bluetooth MAC over serial
This page must be served over http://localhost or https:// for WebHID/Web Serial
to work — opening it directly as a file:// URL will not work.
Run python3 -m http.server in this folder and open
http://localhost:8000 instead.
DualShock 4
Uses WebHID. Requires a USB cable connection to the DS4 (not Bluetooth) and Chrome or Edge.
not connected
--:--:--:--:--:--
--:--:--:--:--:--
Set paired host address (e.g. the ESP32's Bluetooth MAC below)
ESP32 Bluetooth MAC
Uses the Web Serial API to read whatever your firmware prints over USB serial —
no flashing involved. Your firmware must print its Bluetooth MAC on boot
(e.g. via esp_bt_dev_get_address()) for this to pick it up.