Skip to content

B-1: Add GetGadgetState IPC for /api/gadget_state #226

@mphacker

Description

@mphacker

Phase 5.28 /api/gadget_state returns 503 not_implemented because services/teslafat_client.py has no IPC method to query the Rust gadget worker's state.

Need to:

  1. Add a GetGadgetState request/response to crates/teslausb-core/src/ipc/messages.rs (versioned envelope).
  2. Implement the handler in rust/crates/teslausb-worker.
  3. Add teslafat_client.get_gadget_state() Python wrapper.
  4. Update api.py route to delegate to it (currently returns 503).
  5. Update test fixtures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-1B-1 Rust+Python rewrite branch (b1-userspace-rust)B-1: phase-6-cleanupPre-Phase-6 cleanup items from Phase 5 close-out

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions