Mention VirtualPumpPlugin as an example how to push data to AAPS-core.

This commit is contained in:
Johannes Mockenhaupt 2021-04-01 12:51:07 +02:00
parent e5be6b35b9
commit 808d3a5a5d
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -11,6 +11,8 @@ import info.nightscout.androidaps.plugins.pump.common.defs.PumpType
* - for pumps that have a reliable history that can be read and which therefore issue a bolus on the pump,
* read the history back and add new bolus entries on the pump, the method [syncBolusWithPumpId]
* are used to inform AAPS-core of a new bolus.
* [VirtualPumpPlugin](info.nightscout.androidaps.plugins.pump.virtual.VirtualPumpPlugin) is a pump driver that
* takes this approach.
* - for pumps that don't support history or take rather long to complete a bolus, the methods
* [addBolusWithTempId] and [syncBolusWithTempId] provide a mechanism to notify AAPS-core of a started
* bolus, so AAPS-core can operate under the assumption the bolus will be delivered and effect IOB until delivery