Skip to content

Surface device health telemetry (battery/temp/power) in the example CLI now that Core exposes it (core #335) #37

Description

@tylerkron

Summary

daqifi-core#335 (merged, PR #348) surfaces device health telemetry — battery %, board temperature, power status — on the Core device (DeviceHealth on Metadata), data that was previously decoded and dropped. The example CLI does not print it anywhere, so the newly-exposed telemetry is invisible to consumers using the reference app.

Observed

--show-status during streaming prints only sample lines and the connection status; no battery/temp/power fields appear. There is no dedicated flag to read Metadata.* health.

Suggested change

Surface DeviceHealth in the example CLI — e.g. print it under --show-status / a new --health flag after InitializeAsync, reading the fields Core now populates on Metadata. This keeps the consumer reference in step with the Core API it is meant to demonstrate (consumer-first pattern).

Notes

  • Verify the exact DeviceHealth property names against core main (@ time of writing, just merged in #348).
  • Bench context: Nq1, FW 3.7.2 over USB — a good target to confirm live values render.

Found during an autonomous live-hardware testing pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions