Scaffold Android, Raspberry Pi Linux hub, and GPIO HAL modules #6

Closed
opened 2026-10-20 10:09:23 +03:00 by rznz · 0 comments
Owner

Description

Bootstrap the executable project skeleton across android/ (Java), linux-hub/ (Python/FastAPI), and device/ (Raspberry Pi GPIO HAL with a mock driver fallback) so the team can build and test end-to-end slices on developer laptops and Raspberry Pi hardware.

Acceptance Criteria

  • device/ provides a hardware abstraction interface with a mock/in-memory GPIO adapter and pinout configuration stub covered by automated unit tests.
  • linux-hub/ runs a FastAPI service wired to the device/ HAL, exposing GET /api/v1/health (and /api/v1/status) plus a /ws WebSocket endpoint, verified by pytest.
  • android/ contains a compilable Gradle Android (Java) application with an operator terminal screen model/client capable of parsing hub health/status payloads and passing ./gradlew test.
  • .gitignore, README.md, and ARCHITECTURE.md document the module layout, local run/test commands, and build artifacts.

Notes

  • server/ (optional VPS) remains out of scope until local quest slices are implemented.
  • The device/ mock backend must allow linux-hub/ tests and local development to run on macOS/Linux without physical Raspberry Pi GPIO pins.
## Description Bootstrap the executable project skeleton across `android/` (Java), `linux-hub/` (Python/FastAPI), and `device/` (Raspberry Pi GPIO HAL with a mock driver fallback) so the team can build and test end-to-end slices on developer laptops and Raspberry Pi hardware. ## Acceptance Criteria - [ ] `device/` provides a hardware abstraction interface with a mock/in-memory GPIO adapter and pinout configuration stub covered by automated unit tests. - [ ] `linux-hub/` runs a FastAPI service wired to the `device/` HAL, exposing `GET /api/v1/health` (and `/api/v1/status`) plus a `/ws` WebSocket endpoint, verified by `pytest`. - [ ] `android/` contains a compilable Gradle Android (Java) application with an operator terminal screen model/client capable of parsing hub health/status payloads and passing `./gradlew test`. - [ ] `.gitignore`, `README.md`, and `ARCHITECTURE.md` document the module layout, local run/test commands, and build artifacts. ## Notes - `server/` (optional VPS) remains out of scope until local quest slices are implemented. - The `device/` mock backend must allow `linux-hub/` tests and local development to run on macOS/Linux without physical Raspberry Pi GPIO pins.
rznz self-assigned this 2026-10-20 10:09:23 +03:00
rznz closed this issue 2026-10-20 10:20:00 +03:00
Sign in to join this conversation.
No description provided.