pez-globo / pufferfish-software

All software for the Pufferfish ventilator.
Apache License 2.0
0 stars 1 forks source link

Backend should persist the events log #310

Open ethanjli opened 3 years ago

ethanjli commented 3 years ago

Right now the prototype implementation of the events log (fully integrated from firmware to frontend), as developed on the feature/firmware-log-events branch, has the backend pass NextLogEvents from the firmware directly through to the frontend, and ExpectedLogEvents from the frontend directly through to the firmware. The backend actually needs to have its own ListReceiver to consume events from the firmware, save them to disk, and add them to its ListSender for the frontend. We also need a way to load the events log from disk.