Skip to content

Conversation

@jasonacox
Copy link
Owner

This pull request expands the range of datapoints checked when detecting which datapoints are supported by a device in the detect_available_dps method. The update ensures broader compatibility with devices that may use additional datapoint ranges.

Datapoint detection improvements:

  • Expanded the set of datapoint ranges queried in detect_available_dps within XenonDevice.py to include [50-70] and [111-140], in addition to the previously checked ranges, for more comprehensive device support.

See #673

Copilot AI review requested due to automatic review settings January 17, 2026 06:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request expands the datapoint (DPS) detection ranges in the detect_available_dps method of XenonDevice.py to improve device compatibility. The update adds two new range sets: [50-70] and [111-140], extending coverage beyond the previously checked ranges.

Changes:

  • Expanded DPS detection to include ranges [50-70] and [111-140]
  • Updated inline documentation to reflect the new ranges
  • Split the new ranges into multiple sub-ranges to respect the 255-byte payload limitation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants