Skip to content

Conversation

@gniezen
Copy link
Member

@gniezen gniezen commented Apr 8, 2024

Draft PR as this work is currently blocked. Supersedes #1546 and #1432.

jlaunonen and others added 30 commits August 31, 2021 18:04
This version supports only model 1 / gray SmartPix readers, reading
insulin pumps.
The reader must be attached and mounted (it shows as mass storage
device) before reading is started.

The XML part expects the document to be read with xml2js.
The pump data parser understands only name of Spirit/Combo pump, but
assuming that it is the reader that generates the report format, it
should handle other pumps too.

The parser understands data generated by Smart Pix 1 firmwares 3.01.03
and 3.05.01, but others should work too.
This continues the support for model 1 / gray SmartPix reader, adding
blood glucose measurement parsing.

The meter data parser understands only name of Aviva Combo, but
assuming that it is the reader that generates the report format, it
should handle other meters too.

The parser understands data generated by Smart Pix 1 firmwares 3.05.01,
but others should work too.
To make it easier to read a externally stored report, make
QUICKK_SINGLE_REPORT also accept a string as path to the report.
This requires that the Driver.process accepts full path directly as
argument instead of assuming it being a relative path.
makeFood() object was changed to have with_amount() in place of
with_carbs().

- Fix few style etc issues.
- Remove unneeded clockDriftOffset from both BG and IP parsers.
The implementation does not handle time changes (usually DST) and so
might produce offset on time in one side of the jump.
- Use default export for the parser implementations' entry functions.
- Shorten a too long line.
- Disable few eslint rules for require('drivelist'), same pattern used
elsewhere in the project.
…end-uploader into Sensotrend-smartpix-on-tp-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants