OpenDevicePartnership / OpenDevicePartnership/odp-secure-services
Implement thermal service state-tracking (6 opcodes)
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.