OpenDevicePartnership / OpenDevicePartnership/embedded-services
Fixup HID I2C device command response messages
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 23
- Forks
- 53
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 13
Description
Current this only returns a feature response instead of a specific response for each command. In general this should work because a feature request contains arbitrary data so it currently doesn't affect anything, but this is something that should be addressed.
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.
Research direction
Start in hid-service/src/i2c/device.rs at line 143 and inspect how command requests are matched to response messages. Update the response selection so each command receives its specific response rather than a generic feature response, then verify that the command response behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100