diff options
author | Nathan Racklyeft <loudnate@gmail.com> | 2015-10-03 00:54:11 -0700 |
---|---|---|
committer | Ben West <bewest@gmail.com> | 2016-05-28 11:54:23 -0700 |
commit | b272773cfb967007a93a58f93cda038d56b9df54 (patch) | |
tree | d23f20946dc6eaae79bdca22e5f6c02b7ef77760 /dexcom_reader | |
parent | cf10d70fe0c724286d6e84c869d63eefd077e331 (diff) |
Adding support for G5 EGVRecord sizes
Diffstat (limited to 'dexcom_reader')
-rw-r--r-- | dexcom_reader/database_records.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dexcom_reader/database_records.py b/dexcom_reader/database_records.py index 6d5b37b..3788cd5 100644 --- a/dexcom_reader/database_records.py +++ b/dexcom_reader/database_records.py | |||
@@ -278,7 +278,7 @@ class EGVRecord(GenericTimestampedRecord): | |||
278 | # uint, uint, ushort, byte, ushort | 278 | # uint, uint, ushort, byte, ushort |
279 | # (system_seconds, display_seconds, glucose, trend_arrow, crc) | 279 | # (system_seconds, display_seconds, glucose, trend_arrow, crc) |
280 | FIELDS = ['glucose', 'trend_arrow'] | 280 | FIELDS = ['glucose', 'trend_arrow'] |
281 | FORMAT = '<2IHcH' | 281 | FORMAT = '<2IHBBBBBBBBBcBH' |
282 | 282 | ||
283 | @property | 283 | @property |
284 | def full_glucose(self): | 284 | def full_glucose(self): |
@@ -286,7 +286,7 @@ class EGVRecord(GenericTimestampedRecord): | |||
286 | 286 | ||
287 | @property | 287 | @property |
288 | def full_trend(self): | 288 | def full_trend(self): |
289 | return self.data[3] | 289 | return self.data[12] |
290 | 290 | ||
291 | @property | 291 | @property |
292 | def display_only(self): | 292 | def display_only(self): |