Skip to content

ReAI Recording Card Developer Documentation ​

Welcome to the ReAI Recording Card (recording-card.reai.com / c.reai.com) developer documentation portal. Structured following AWS Documentation standards, this site unifies the hardware wire protocol, the MIT-licensed Rust SDK (reai-card-sdk v0.0.9), browser Web Bluetooth & Wi-Fi SoftAP integrations, live interactive web demos, and standalone downloadable examples.

ReAI Recording Card SDK Documentation › Documentation Overview
SDK v0.0.9 (MIT)BLE 5 NUS + 2.4 GHz Wi-Fi AP/STAMain >= 0.3.7 (rec. >= 0.3.18) · Wi-Fi >= 0.1.0 (rec. 0.1.4)

Test Hardware Directly in Your Browser ​

Connect your ReAI Recording Card over Web Bluetooth (BLE) or Wi-Fi SoftAP HTTP directly in Chrome/Edge—or use the built-in Virtual Card Simulator with zero physical hardware:

  • Launch Live Web Console: Interactive workbench covering telemetry, live ADPCM waveform, 8-input bindings, file transfer, Wi-Fi provisioning, 72×40 OLED canvas, and raw wire logs.
  • Download Standalone Examples: 9 zero-dependency HTML demos, a Python 3 upload receiver, a local Wi-Fi CORS proxy, and a Rust quickstart.

Core Architecture Highlights ​

  1. Dual-Chip Power & Storage Arbitration: Daily audio capture runs on the Nordic nRF52840 (16 kHz / 16-bit mono PDM + 4:1 IMA ADPCM at ~8 KB/s .apm). The Espressif ESP32-C3 stays powered off until WIFI_OPEN, charge_on sync, or OTA.
  2. Pre-Checked SD Ownership: When wifiOpen == true, ESP32 owns the SD card and nRF storage/recording commands fail fast (SdOwnedByWifiModule) instead of hanging.
  3. Zero-Subscription Local Transcription: Mobile (com.reai.recordingcard) and desktop apps run Silero VAD + SenseVoice-int8 + CAM++ locally; raw audio never leaves your device unless you configure your own endpoint.

Documentation Map ​

Getting Started ​

TopicSummaryLink
Live Web ConsoleBrowser BLE & Wi-Fi AP debugging workbench + simulatorOpen Console
Quick StartPhysical button, side switch, mobile pairing & browser setupQuick Start
Dual-Chip ArchitectureSerial command gate, SD ownership rules & firmware boundariesArchitecture

SDK Developer Guide (Live Demos & Downloads) ​

ModuleCovered Commands / EndpointsGuide
1. Connection & TelemetrySYNC_TIME, BASE_INFO, STATE_INFO, BATTERY, STORAGE, TEST_CHECKOpen Guide
2. Recording & Realtime AudioRECORD_START/STOP/MARK, RECORD_REALTIME_ENABLE, IMA ADPCM -> WAVOpen Guide
3. Controls & Eventsbtn_* / switch_* / charge_* bindings & live event streamOpen Guide
4. Files & BLE TransferFILE_LIST, FILE_UPLOAD, FILE_UPLOAD_OLDEST, .apm decoderOpen Guide
5. Wi-Fi & SoftAPWIFI_OPEN/SCAN/CONNECT/CRED_*, http://192.168.4.1/api/filesOpen Guide
6. Cloud Upload & Syncupload_url (<=63B), UPLOAD_FILE, SYNC_START, SYNC_STATUSOpen Guide
7. OLED Display & LEDDISPLAY_SHOW (5×8 ASCII / 360B bitmap), DISPLAY_CLEAR, LEDOpen Guide
8. Config, OTA & LifecycleCONFIG_SET/GET/DEL, OTA_WIFI_*, AP .bin upload, RESTART/SHUTDOWNOpen Guide

API & Protocol Reference ​

ReAI Recording Card Developer Documentation · MIT Open Hardware SDK · Partner Assets