Unify Peel workflow, sensor matching, and optional hardware display - #25
Merged
Merged
Conversation
hardware/peel_app moves into mobile/ (lib/hardware, packages/usb_serial, test/hardware). DeviceScreen connects to the real instrument over USB or the simulator (PEEL_SIM), runs blank -> t=0 -> stream -> stop and sends the raw absorbance trace as the scan's hardware payload; 'Continue without device' keeps the POST /pill fallback. The bench screen is a long press on the device step or PEEL_START=debug.
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.
Peel now runs the original phone workflow with optional Seeed instrument control and BOX-3 display synchronization. This combines #21 and #23 into one app and one control layer; users can skip hardware without receiving fabricated sensor readings.
Final behavior
/pilland graph demo API behavior. Preserve explicit labeling of historical simulated records. Add additive Elasticsearch sensor/matcher mappings and backend CI.Integration and validation
Includes both superseded PR histories and latest main through #28 (real hardware photo), with no duplicate controller app or instrument singleton. Keeps simulator/direct-debug launch options and optional hardware skip.
APKs, credentials, firmware backups, and local trial exports are excluded from Git. The separate hardware-component checkout's pre-existing bench edits are outside this PR.