Coder Social home page Coder Social logo

Comments (1)

jbr7rr avatar jbr7rr commented on September 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.