NodeEntity
Tracks node identity, address type, authorized registry match, current state, confidence, and timestamps.
Architecture
DarkDar should be implemented as a domain-centric system: the Rust core handles deterministic models and state, while each platform shell owns permissions, BLE capture, rendering, and hardware-specific capabilities.
Runtime model
DarkDar’s desktop targets are the strongest scanning and review stations. iOS and iPadOS are native field sensors and LiDAR capture clients. The browser is an admin, replay, documentation, and limited live mode surface where supported.
| Platform | Primary role | Implementation |
|---|---|---|
| Windows 11 | Desktop scanner and review station | Tauri, React, WebGL, Rust desktop BLE adapter, SQLCipher |
| macOS | Desktop scanner and review station | Tauri, React, WebGL, Rust desktop BLE adapter, Keychain, notarized builds |
| iOS / iPadOS | Field sensor and LiDAR capture client | SwiftUI, CoreBluetooth, Metal, ARKit, Rust bridge |
| Browser | Replay, admin, documentation, limited live mode | React, WebGL, WASM replay core, SQLite WASM with OPFS |
Operational data flow
Platform adapters receive BLE observations using documented native APIs or a clearly labeled browser capability mode.
Events are timestamped, parsed, redacted as needed, and converted into shared model contracts.
Rolling filters, RSSI smoothing, and environmental calibration reduce RF jitter without hiding uncertainty.
Nodes transition through Discovered, Candidate, Observed, Flagged, Tracked, Lost, and Reacquired only when thresholds are met.
Authorized sessions are encrypted locally on native platforms and replay-cached locally in the browser.
The dashboard renders radar views, target detail, anomaly evidence, timelines, and exportable summaries.
Model contracts
Tracks node identity, address type, authorized registry match, current state, confidence, and timestamps.
Stores chronological telemetry including RSSI, Tx power, payload, timestamp, and anomaly rule markers.
Supports offline premium gating with signed license claims, expiry, and safe downgrade behavior.