summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArkadiusz Bulski <arek.bulski@gmail.com>2018-02-17 15:01:12 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2018-03-17 14:41:40 +0100
commit38d8d3af0ff3af99a1feb91d43c18e869a407a11 (patch)
tree3ceaca5733be778e21934e6e33bc05e37a815f4e
parentconstruct code fixed improper embedding (diff)
downloadglucometerutils-38d8d3af0ff3af99a1feb91d43c18e869a407a11.tar
glucometerutils-38d8d3af0ff3af99a1feb91d43c18e869a407a11.tar.gz
glucometerutils-38d8d3af0ff3af99a1feb91d43c18e869a407a11.tar.bz2
glucometerutils-38d8d3af0ff3af99a1feb91d43c18e869a407a11.tar.lz
glucometerutils-38d8d3af0ff3af99a1feb91d43c18e869a407a11.tar.xz
glucometerutils-38d8d3af0ff3af99a1feb91d43c18e869a407a11.tar.zst
glucometerutils-38d8d3af0ff3af99a1feb91d43c18e869a407a11.zip
-rw-r--r--glucometerutils/support/lifescan_binary_protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/support/lifescan_binary_protocol.py b/glucometerutils/support/lifescan_binary_protocol.py
index 22e96d9..7b1fbec 100644
--- a/glucometerutils/support/lifescan_binary_protocol.py
+++ b/glucometerutils/support/lifescan_binary_protocol.py
@@ -55,7 +55,7 @@ def LifeScanPacket(command_prefix, include_link_control):
COMMAND_SUCCESS = construct.Const(b'\x06')
VERIO_TIMESTAMP = construct_extras.Timestamp(
- construct.Int32ul, epoch=946684800) # 2010-01-01 00:00
+ construct.Int32ul, epoch=946684800) # 2000-01-01 (not 2010)
_GLUCOSE_UNIT_MAPPING_TABLE = {
common.Unit.MG_DL: 0x00,