Skip to content

Values no smoothing Libre(patched app) - #88

Open
Geniy83 wants to merge 54 commits into
Pikernot:masterfrom
Geniy83:master
Open

Geniy83 wants to merge 54 commits into
Pikernot:masterfrom
Geniy83:master

Conversation

@Geniy83

@Geniy83 Geniy83 commented Oct 9, 2024

Copy link
Copy Markdown

No description provided.

Geniy83 and others added 23 commits January 6, 2026 21:11
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
The PIN preference was set to depend on bluetooth_meter_enabled, copied
from the calibration toggles further down that legitimately depend on
an already-working connection. But bluetooth_meter_enabled only gets
auto-turned-on by markDeviceAsSuccessful() after a successful first
connection - and for Satellite, that first connection can't succeed
without the PIN already entered. The dependency made it impossible to
ever enter a PIN for a first-time pairing. Removed.
Глюкометр Satellite: убрать зависимость поля PIN от чекбокса
Send CGM readings to VK communities via messages.send, with unit-aware thresholds and a settings screen.

Co-authored-by: Cursor <cursoragent@cursor.com>
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