Repository navigation
Use host-supplied app credentials; pick the sensor by its advertised address - #18
Merged
Merged
Conversation
…address RoundWhiteDiscKit no longer carries runtime tables. LibreLoop now downloads the app credentials file from Arweave, verifies it against a pinned SHA-256, and installs it with AppIdentities.install(json:). Pairing scanned for the first peripheral advertising the Libre 3 service, so another Libre-family sensor nearby (e.g. a Lingo) could win and fail the handshake. A Libre 3 advertises its BLE address as its local name; match it against the address from the NFC response. Removes the app-identity pairing debug toggle and whitebox leftovers, and bumps RoundWhiteDiscKit to 4c940d2.
compton-lac
pushed a commit
to lac-gh-org/LoopWorkspace
that referenced
this pull request
Oct 6, 2026
RoundWhiteDiscKit takes its app credentials from the host; LibreLoop downloads them and picks the sensor by its advertised BLE address (LoopKit/LibreLoop#18).
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.
E4:64:47:6E:2C:FE→E464476E2CFE); the scan now matches it against the address from the NFC response, and logs every discovery.Tested on device: re-paired with a Lingo nearby (skipped by address), reconnects, saved-file digest mismatch.