Overview of FieldView Mobile App Architecture
mainThe FieldView mobile application (built with Expo and React Native) is a companion for WiFi-DensePose field deployments. It provides real-time visualization of human pose estimation, vital signs, and occupancy maps.
Key Connectivity Details:
- No direct ESP32 connection: The mobile app does not communicate with ESP32 nodes directly. It connects to a Rust sensing server over local WiFi.
- WebSocket API: Used for real-time streaming of
SensingFrameJSON data viaws://host:3001/ws/sensing. - REST API: Used for configuration, history, and health checks via
http://host:3000/api/v1/.... - Fallback Mechanism: If the sensing server is unreachable, the app automatically switches to
simulation.serviceto generate synthetic data for testing and demos.