diff options
author | Andrew Cady <d@jerkface.net> | 2019-01-10 15:03:42 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-01-10 15:03:42 -0500 |
commit | 4d44849cfc752cdc9872ab53409a43696edce36e (patch) | |
tree | b03f74c7740f779a51d940fa652c7dc30149ee95 /dexcom_reader/readdata.py | |
parent | 247fb6b7fe3a70d1e9378f20ffaa19c8d4c3ea17 (diff) |
Diffstat (limited to 'dexcom_reader/readdata.py')
-rw-r--r-- | dexcom_reader/readdata.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dexcom_reader/readdata.py b/dexcom_reader/readdata.py index 84033f0..ded95d3 100644 --- a/dexcom_reader/readdata.py +++ b/dexcom_reader/readdata.py | |||
@@ -362,6 +362,16 @@ class DexcomG5 (Dexcom): | |||
362 | 'SENSOR_DATA': database_records.SensorRecord, | 362 | 'SENSOR_DATA': database_records.SensorRecord, |
363 | } | 363 | } |
364 | 364 | ||
365 | class DexcomG5Mobile (Dexcom): | ||
366 | PARSER_MAP = { | ||
367 | 'USER_EVENT_DATA': database_records.EventRecord, | ||
368 | 'METER_DATA': database_records.G5MeterRecord, | ||
369 | 'CAL_SET': database_records.Calibration, | ||
370 | 'INSERTION_TIME': database_records.G5InsertionRecord, | ||
371 | 'EGV_DATA': database_records.G5MobileEGVRecord, | ||
372 | 'SENSOR_DATA': database_records.SensorRecord, | ||
373 | } | ||
374 | |||
365 | def GetDevice (port, G5=False): | 375 | def GetDevice (port, G5=False): |
366 | if G5: | 376 | if G5: |
367 | return DexcomG5(port) | 377 | return DexcomG5(port) |