Skip to content

Expand SIG characteristic dependency declarations for batch parsing#211

Merged
RonanB96 merged 5 commits into
mainfrom
fix/issue-192-char-deps
Jun 27, 2026
Merged

Expand SIG characteristic dependency declarations for batch parsing#211
RonanB96 merged 5 commits into
mainfrom
fix/issue-192-char-deps

Conversation

@RonanB96

Copy link
Copy Markdown
Owner

Summary

  • Add _optional_dependencies for Location and Speed → LN Feature
  • Add _optional_dependencies for Weight Measurement → Weight Scale Feature
  • Add dependency_test_data fixtures covering with/without dependency parse paths

Test plan

  • Quality gates pass
  • Dependency tests in test_location_and_speed.py and test_weight_measurement.py

Fixes #192

Made with Cursor

RonanB96 and others added 5 commits June 27, 2026 18:17
Declare LN Feature and Weight Scale Feature as optional dependencies
for Location and Speed and Weight Measurement with dependency tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Documents #192 scope in module docstring and verifies topological batch
parse with/out optional LN Feature and Weight Scale Feature dependencies.

Co-authored-by: Cursor <cursoragent@cursor.com>
Characteristic test-file coverage requires 1:1 module stems; batch parse
tests belong under tests/integration instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
Import LNFeatureCharacteristic from ln_feature module and pass bytes
to parse_characteristics per API typing.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire optional dependencies to SIG feature-flag checks in _decode_value
(cycling-power pattern). Drop redundant integration batch test; extend
CommonCharacteristicTests with context validation cases.

Co-authored-by: Cursor <cursoragent@cursor.com>
@RonanB96 RonanB96 force-pushed the fix/issue-192-char-deps branch from f61e2c6 to 54a5c0a Compare June 27, 2026 17:29
@RonanB96 RonanB96 self-assigned this Jun 27, 2026
@RonanB96 RonanB96 merged commit 86019d3 into main Jun 27, 2026
9 checks passed
@RonanB96 RonanB96 deleted the fix/issue-192-char-deps branch June 27, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand SIG characteristic dependency declarations for batch and Device.read parsing

1 participant