5. Wi-Fi Provisioning, SoftAP & Credentials
Calling WIFI_OPEN powers up the ESP32-C3, starts SoftAP DYJ-HD-AP (http://192.168.4.1:80), and transfers SD card ownership from nRF52840 to ESP32-C3.
ReAI Recording Card SDK Documentation › Wi-Fi Provisioning & SoftAP
SDK v0.0.9 (MIT)BLE Passthrough + SoftAP HTTPAP >= 0.3.0 / Wi-Fi >= 0.0.4 · Status ver >= 0.1.0 · Creds >= 0.1.3
Protocol Summary
- BLE commands:
WIFI_OPEN(35s timeout),WIFI_SCAN,WIFI_CONNECT {"ssid","password"},WIFI_CRED_LIST/WIFI_CRED_DEL,WIFI_CLOSE. - SoftAP HTTP (
192.168.4.1):GET /api/files,GET /api/files/download?path=<no-leading-slash>,DELETE /api/files/delete?path=<no-leading-slash>. - Browser tip: Open the downloaded HTML file locally (
file://) or runcard-wifi-proxy.mjsto bypass HTTPS Mixed Content blocking forhttp://192.168.4.1.
Live Web Demo
Web Bluetooth is unavailable in this browser/context (requires Chrome/Edge on HTTPS or localhost). You can still test every API using the Virtual Card Simulator.
Wire Protocol Log (BLE NUS / HTTP)
Connect a real card or Virtual Card Simulator to inspect live protocol frames.