summaryrefslogtreecommitdiff
path: root/dexcom_reader/readdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'dexcom_reader/readdata.py')
-rw-r--r--dexcom_reader/readdata.py10
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
365class 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
365def GetDevice (port, G5=False): 375def GetDevice (port, G5=False):
366 if G5: 376 if G5:
367 return DexcomG5(port) 377 return DexcomG5(port)