Add support for Prodigy AutoCode meter (UPLOAD-863)#1709
Open
Add support for Prodigy AutoCode meter (UPLOAD-863)#1709
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds support for the Prodigy AutoCode blood glucose meter, enabling users to upload BGM data via USB (HID) connection. The implementation follows the established pattern for BGM drivers in the codebase.
- New driver implementation for Prodigy AutoCode meter with serial communication protocol
- USB HID device integration with vendor ID 1241, product ID 46436
- Support for glucose readings with out-of-range annotations (high: 601/600, low: 19/20)
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated version to pre-release tag for Prodigy AutoCode feature |
| app/package.json | Updated app version to match root package version |
| lib/hidDevice.js | Added ProdigyAutocode to drivers using dynamic report IDs, updated comments |
| lib/drivers/prodigy/autocode.js | New driver implementation with serial protocol, record parsing, and data upload logic |
| lib/core/driverManifests.js | Added USB device manifest entry for ProdigyAutocode with vendor/product IDs |
| lib/core/device.js | Registered ProdigyAutocode driver and HID device communication handler |
| app/reducers/devices.js | Added UI configuration for Prodigy AutoCode with instructions and platform support |
| docs/checklists/prodigyAutocode.md | Added feature checklist documenting implemented and unavailable capabilities |
Comments suppressed due to low confidence (1)
lib/drivers/prodigy/autocode.js:61
- Unused variable ctr.
let ctr = struct.pack(bytes, 0, 'bbb', 0x00, size, command);
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Member
Author
|
@krystophv Need a review of all the changes since the last one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses UPLOAD-863.