Open Rust SDK (MIT License)
The complete hardware communication, ADPCM audio decoding, and firmware update stack for ReAI Recording Card is open-sourced under the MIT License:
- Official Repository: https://github.com/ReAI-com/reai-card-sdk
- Latest Tag:
v0.0.9(Rust 1.93+ / Edition 2024)
ReAI Recording Card SDK Documentation › Open Rust SDK
SDK v0.0.9 (MIT)Tokio + btleplug (BLE) + reqwest (HTTP)nRF52840 v0.3.x · ESP32-C3 v0.1.x
Crate & Tooling Overview
| Component | Responsibility |
|---|---|
reai-card-sdk | Async Rust library: BLE NUS scanning & serialized command queue, raw JSON recovery, IMA ADPCM decoder, SoftAP HTTP client, Nordic Secure DFU (0xFE59), and Wi-Fi OTA |
examples/dyj_cli | Cross-platform CLI (scan, check, realtime, decode, controls, events, take-oldest, dfu) |
examples/dyj_web | Local debug server (http://127.0.0.1:8787) with SSE logs, realtime waveform, 72×40 OLED canvas, and /wifi-ota wizard |
Installation
toml
[dependencies]
reai-card-sdk = { git = "https://github.com/ReAI-com/reai-card-sdk.git", tag = "v0.0.9" }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }Quick CLI & Local Console
bash
git clone https://github.com/ReAI-com/reai-card-sdk.git
cd reai-card-sdk
make cli ARGS=scan
make cli ARGS=check
make cli ARGS="realtime 30 rt.wav"
make webFeature Guides with Live Web Demos
- Connection, Telemetry & Self-Test
- Recording, Realtime PCM & WAV
- Controls, Switches & Events
- File Management & BLE Transfer
- Wi-Fi Provisioning, AP & Credentials
- Cloud Upload & Device Sync
- 72×40 OLED Display & LED
- KV Config, OTA & Lifecycle