Comments (1)
Issue is cause by wrong data in notification packet:
04:04:01.161 [Binder:30353_5] D/PUMPBTCOMM: [BLEComm$mGattCallback$1.onCharacteristicChanged():248]: onCharacteristicChanged data: [32, 34, 17, -128, 4, -2, 20, -1, -89, 5, 6, 0, 18, 64, 35, 0, -54] UUID: 669a9120-0008-968f-e311-6050405558b3
04:04:01.162 [Binder:30353_5] D/PUMPCOMM: [MedtrumService.onNotification():782]: <<<<< onNotification[32, 34, 17, -128, 4, -2, 20, -1, -89, 5, 6, 0, 18, 64, 35, 0, -54]
04:04:01.163 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleNotification():109]: Notification state: ACTIVE, current state: ACTIVE
04:04:01.164 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleMaskedMessage():134]: Message field mask: 4386
04:04:01.165 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleNormalBolus():184]: Normal bolus notification received
04:04:01.167 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleNormalBolus():189]: Bolus type: 0, bolusData: 128 bolus completed: true, bolus delivered: 3251.4
04:04:01.168 [Binder:30353_5] D/PUMP: [MedtrumPump.handleBolusStatusUpdate():396]: handleBolusStatusUpdate: bolusType: 0 bolusCompleted: true amountDelivered: 3251.4
04:04:01.169 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleReservoir():228]: Reservoir notification received
04:04:01.169 [DefaultDispatcher-worker-21] D/PUMP: [MedtrumOverviewViewModel$3$1.emit():130]: MedtrumViewModel bolusAmountDeliveredFlow: 3251.4
04:04:01.170 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleReservoir():230]: Reservoir: 3265.0
04:04:01.171 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleStorage():256]: Storage notification received
04:04:01.172 [Binder:30353_5] W/PUMPCOMM: [NotificationPacket.handleStorage():263]: handleMaskedMessage: We got wrong patch id!
04:04:01.174 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleStorage():270]: Last known sequence number: 1447, patch id: 6
04:04:01.176 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleUnusedCGM():317]: Unused CGM notification received, not handled!
04:04:01.177 [Binder:30353_5] D/PUMPCOMM: [NotificationPacket.handleUnusedCGM():318]: Unused CGM data: 867585703954
Will add additional checks to the Notification packet
from androidaps.
Related Issues (20)
- [Suggestion] Emulator in AAPS HOT 2
- Cannot install the generated AAPS.apk file on my Pixel 8a running Android 14 HOT 2
- Watchface not available HOT 7
- Feature request: Direct watch control for Medtrum nano or Omnipod and broadcast on watch HOT 1
- Do not report Missing BG to NS from AAPSClient
- [documentation] Make list of available AAPS pumps in each country
- Bug: Bolus insulin not being counted towards total IOB HOT 1
- [Feature request] add predefined profiles modifications HOT 5
- problem connecting to nightscout on AAPS 3.2.0.4 HOT 6
- Feature request: Support for Manual Entry of External Insulin Injection via Pen for AndroidAPS on Android and Wear OS HOT 3
- Feature Request: Ability to backup AAPS settings via WearOS AAPS
- BUG temp basal increases and SMB in Low Glucoe Suspend HOT 5
- Medtrum patch pump alarms cannot be acknowledged HOT 1
- Insulin or carbs not being sent to Nightscout using Bolus Calculator
- Feature request (for discussion) add negative Carbs input HOT 4
- [DEV]OpenAPSSMBPlugin.kt TDD calculation HOT 2
- Single treatment not showing up in AAPSClient HOT 3
- Dev-b AutoISF / Can't calculate acceleration HOT 7
- Trend arrow in Wear watchface does not account for smoothing
- Dark and bright green dots change.. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidaps.