wip: Eversense E3 integration with AndroidAPS #4474
wip: Eversense E3 integration with AndroidAPS #4474n0rb33r7 wants to merge 4 commits intonightscout:devfrom
Conversation
|
1 similar comment
|
0109088 to
d1bad3c
Compare
|
Calling for build testers This PR has been significantly updated — rebased on the latest Eversense E3/365 — Usage GuideWait until initialization phase is completed The transmitter connects to only one app at a time Switching from Official Eversense app → AAPS:
Switching from AAPS → Official Eversense app:
Pairing:
To test: clone Please report back:
Thank you! |
|
Update: E3 protocol fixes, forced sync, dark mode improvement, and unit tests Protocol fix — GetCalibrationPhasePacket & GetCalibrationReadinessPacket Force sync — EversenseE3Communicator & EversenseCGMPlugin TOO_SOON dark mode — EversensePlugin & strings.xml Unit tests — CalibrationPacketTest
Tests use JUnit 5 via the existing |
Update — Eversense Plugin Sync (April 2026)E365 Cloud Upload
BLE Boot Race Fix
Bug Fixes
New Packets and Utils
Dev Branch Compatibility
Tests
|
- Add plugins:eversense module with full BLE driver for E3 and 365 transmitters - Add EversensePlugin integrating with AAPS BgSource interface - Add placement guide activity with 500ms signal polling - Add calibration activity - Add Bluetooth permission request activity - Add EVERSENSE_E3 and EVERSENSE_365 to SourceSensor and GlucoseValue enums - Add Eversense notification IDs to NotificationId enum - Register plugin in SourceModule, PluginsListModule and settings.gradle - Use new AAPS NotificationManager API for all notifications - Support both Eversense E3 (180-day) and Eversense 365 (1-year) transmitters
…tion packet tests
Full sync of all Eversense-related code: - Complete eversense module: build.gradle.kts, manifest, proguard, all source files (callbacks, enums, models, e3/e365 packets, utils, crypto) - E365 cloud upload: EversenseHttp365Util with token management, uploadGlucoseReadings (base64 EssentialLog, bare JSON array body) - BLE reconnect exponential backoff: 5s→10s→20s→40s→60s cap for GATT errors; 30s for status-19 (transmitter rejection); 5s for clean disconnect - EversensePlugin: cloud upload toggle, toast notifications, E3/E365 section visibility gating, duplicate watcher registration fix - Unit tests: EversenseHttp365UtilTest (13 tests via MockWebServer), CalibrationPacketTest (29 tests) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Remove deprecated kotlin-android plugin from eversense build.gradle.kts Add serialization BOM to eversense build.gradle.kts Update EversensePlugin to use dev branch NotificationManager and BgSourceComposeContent Fix EversensePlugin for dev branch - use NotificationManager and BgSourceComposeContent Fix Config parameter, remove advancedFilteringSupported, fix blockingGet Add missing eversense_reconnecting string resource
|






No description provided.