Values no smoothing Libre(patched app)#88
Open
Geniy83 wants to merge 50 commits into
Open
Conversation
…n-(without-Poctech) # Conflicts: # app/prod/release/output-metadata.json # app/src/main/java/com/eveningoutpost/dexdrip/services/UiBasedCollector.java
…ART protocol support
The pairing PIN isn't printed as plain text on the meter - only the longer alphanumeric code under the QR/DataMatrix label is (e.g. D2502005885). Reverse engineered extractPinCode() from the official Сателлит+Online app: drop the leading D/E, take the last 6 digits, scramble with (x * 599681139 + 123) & 0xFFFFFFFF, mod 1000. Verified against a real device label and against the official app's derived PIN. SatelliteHelper.resolvePin() now accepts either the bare 3-digit PIN or the full printed code, so users don't need the official app just to look up the numeric PIN.
Satellite authenticates over its own PIN-over-NUS scheme and doesn't support/expect classic BLE bonding. The unconditional createBond() call after service discovery was rejected by the device on every connection, surfacing a spurious "pairing rejected" system notification (harmless, but noisy). Skip the bonding attempt entirely when the NUS service is detected.
BleDisplay was moved out to a separate project (cyddrip) and its source directory was already dropped from this working tree, but the wiring into AndroidManifest.xml, NewDataObserver.java, Preferences.java, pref_advanced_settings.xml and strings.xml was left behind - referencing a class that no longer exists in this repo. Removes all of it.
Satellite meter: skip classic Bluetooth bonding attempt
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.
No description provided.