cmdToggleHr/cmdEnableOptical: take a profile like their siblings - #64
abdulsaheel wants to merge 1 commit into
Conversation
both hardcoded gen4 framing with no way to override, so a gen5 caller silently got a crc8 packet the strap can't parse. same bug class already fixed for getBodyLocationAndStatus/getBatteryPackInfo/enterHighFreqSync.
There was a problem hiding this comment.
Sorry @abdulsaheel, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 6 days and 7 hours by commenting @sourcery-ai review. Upgrade to get a review now.
|
Warning Review limit reachedNext included review available in 24 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds optional profile support to File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
subsumed by #65 (already merged), which covers cmdToggleHr/cmdEnableOptical's gen5 profile param as part of the broader gen5-framing sweep. closing, not a real gap. |
both hardcoded gen4 framing internally with no way to override, so a gen5 caller silently got a crc8/gen4-header packet the strap can't parse at all. same bug class already fixed here for getBodyLocationAndStatus/getBatteryPackInfo/enterHighFreqSync.
purely additive optional
{BandProfile profile = BandProfile.gen4}param, default unchanged so no existing caller's output changes.added gen5 cases for both next to the existing gen4 toggle test.
Summary by Sourcery
Support profile-specific framing for heart-rate and optical-data commands without changing existing defaults.
Bug Fixes:
Tests: