OpenDevicePartnership / OpenDevicePartnership/odp-secure-services

Implement thermal service state-tracking (6 opcodes)

Open
#61 0 comments 0 reactions 1 assignee View on GitHub

@dymk is already working on this.

Since Apr 16, 2026.

Dominant language
Rust
Stars
3
Forks
11
Avg merge
1d 1h
Merged PRs (30d)
5

Description

Task\n\nImplement stateful thermal service with state-tracking across all 6 opcodes:\n- get_temperature — return stored temperature per sensor index\n- set_threshold / get_threshold — persist and retrieve threshold values\n- set_variable / get_variable — persist and retrieve variable-length data with len validation\n- get_policy — return thermal policy data\n\nAdd comprehensive unit tests covering core round-trip behavior and edge cases.\n\n## Files\n- ec-service-lib/src/services/thermal.rs\n\n## PR\n- #56\n\n## Parent\nPart of #60

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.