diff options
37 files changed, 38 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index bdda3ed..fb47e67 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,3 +1,4 @@ +; SPDX-FileCopyrightText: © 2017 The glucometerutils Authors ; SPDX-License-Identifier: MIT ((nil . ((fill-column . 88) (whitespace-line-column . 88))) diff --git a/glucometer.py b/glucometer.py index 1b48c62..c8f96de 100755 --- a/glucometer.py +++ b/glucometer.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 # -*- python -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT from glucometerutils import glucometer diff --git a/glucometerutils/common.py b/glucometerutils/common.py index bf944c8..3bba660 100644 --- a/glucometerutils/common.py +++ b/glucometerutils/common.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT """Common routines for data in glucometers.""" diff --git a/glucometerutils/drivers/accuchek_reports.py b/glucometerutils/drivers/accuchek_reports.py index de29064..7fd9df9 100644 --- a/glucometerutils/drivers/accuchek_reports.py +++ b/glucometerutils/drivers/accuchek_reports.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2016 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for Accu-Chek Mobile devices with reports mode. diff --git a/glucometerutils/drivers/contourusb.py b/glucometerutils/drivers/contourusb.py index 8696b04..9161aa1 100644 --- a/glucometerutils/drivers/contourusb.py +++ b/glucometerutils/drivers/contourusb.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2019 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for ContourUSB devices. diff --git a/glucometerutils/drivers/fsinsulinx.py b/glucometerutils/drivers/fsinsulinx.py index e984719..89d10d6 100644 --- a/glucometerutils/drivers/fsinsulinx.py +++ b/glucometerutils/drivers/fsinsulinx.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for FreeStyle InsuLinx devices. diff --git a/glucometerutils/drivers/fslibre.py b/glucometerutils/drivers/fslibre.py index 558dcf4..3917b65 100644 --- a/glucometerutils/drivers/fslibre.py +++ b/glucometerutils/drivers/fslibre.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for FreeStyle Libre devices. diff --git a/glucometerutils/drivers/fsoptium.py b/glucometerutils/drivers/fsoptium.py index cafd539..3eb921f 100644 --- a/glucometerutils/drivers/fsoptium.py +++ b/glucometerutils/drivers/fsoptium.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for FreeStyle Optium devices. diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py index d6c6975..8dab52b 100644 --- a/glucometerutils/drivers/fsprecisionneo.py +++ b/glucometerutils/drivers/fsprecisionneo.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for FreeStyle Precision Neo devices. diff --git a/glucometerutils/drivers/otultra2.py b/glucometerutils/drivers/otultra2.py index c1af4a0..1e458e3 100644 --- a/glucometerutils/drivers/otultra2.py +++ b/glucometerutils/drivers/otultra2.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for LifeScan OneTouch Ultra 2 devices. diff --git a/glucometerutils/drivers/otultraeasy.py b/glucometerutils/drivers/otultraeasy.py index d5eb3c9..4b7d278 100644 --- a/glucometerutils/drivers/otultraeasy.py +++ b/glucometerutils/drivers/otultraeasy.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2014 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for LifeScan OneTouch Ultra Easy devices. diff --git a/glucometerutils/drivers/otverio2015.py b/glucometerutils/drivers/otverio2015.py index 4e9138a..fb85b6a 100644 --- a/glucometerutils/drivers/otverio2015.py +++ b/glucometerutils/drivers/otverio2015.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2016 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for LifeScan OneTouch Verio (2015) and Select Plus devices. diff --git a/glucometerutils/drivers/otverioiq.py b/glucometerutils/drivers/otverioiq.py index b4a4a6c..181c899 100644 --- a/glucometerutils/drivers/otverioiq.py +++ b/glucometerutils/drivers/otverioiq.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2018 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for LifeScan OneTouch Verio IQ devices. diff --git a/glucometerutils/drivers/sdcodefree.py b/glucometerutils/drivers/sdcodefree.py index 5d1d42c..93b7adb 100644 --- a/glucometerutils/drivers/sdcodefree.py +++ b/glucometerutils/drivers/sdcodefree.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2016 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for SD CodeFree devices by SD Biosensor. diff --git a/glucometerutils/drivers/td4277.py b/glucometerutils/drivers/td4277.py index be8a180..443f69c 100644 --- a/glucometerutils/drivers/td4277.py +++ b/glucometerutils/drivers/td4277.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2019 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for TaiDoc TD-4277 devices. diff --git a/glucometerutils/drivers/tests/test_fsoptium.py b/glucometerutils/drivers/tests/test_fsoptium.py index bdc76f8..1c51ac2 100644 --- a/glucometerutils/drivers/tests/test_fsoptium.py +++ b/glucometerutils/drivers/tests/test_fsoptium.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2019 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the FreeStyle Optium driver.""" diff --git a/glucometerutils/drivers/tests/test_otultra2.py b/glucometerutils/drivers/tests/test_otultra2.py index 6b36602..093f4f4 100644 --- a/glucometerutils/drivers/tests/test_otultra2.py +++ b/glucometerutils/drivers/tests/test_otultra2.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the LifeScan OneTouch Ultra 2 driver.""" diff --git a/glucometerutils/drivers/tests/test_otultraeasy.py b/glucometerutils/drivers/tests/test_otultraeasy.py index c6fce83..9a6a470 100644 --- a/glucometerutils/drivers/tests/test_otultraeasy.py +++ b/glucometerutils/drivers/tests/test_otultraeasy.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2014 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the LifeScan OneTouch Ultra Easy driver.""" diff --git a/glucometerutils/drivers/tests/test_td4277.py b/glucometerutils/drivers/tests/test_td4277.py index 0545ff3..8238977 100644 --- a/glucometerutils/drivers/tests/test_td4277.py +++ b/glucometerutils/drivers/tests/test_td4277.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2019 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the TD-4277 driver.""" diff --git a/glucometerutils/exceptions.py b/glucometerutils/exceptions.py index d56dbe6..1f1f7ab 100644 --- a/glucometerutils/exceptions.py +++ b/glucometerutils/exceptions.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT """Common exceptions for glucometerutils.""" diff --git a/glucometerutils/glucometer.py b/glucometerutils/glucometer.py index 8c3a7c6..c13b6b1 100755 --- a/glucometerutils/glucometer.py +++ b/glucometerutils/glucometer.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT """Utility to manage glucometers' data.""" diff --git a/glucometerutils/support/construct_extras.py b/glucometerutils/support/construct_extras.py index 4ed8a7a..5903025 100644 --- a/glucometerutils/support/construct_extras.py +++ b/glucometerutils/support/construct_extras.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2018 The glucometerutils Authors # SPDX-License-Identifier: MIT """Extra classes for Construct.""" diff --git a/glucometerutils/support/contourusb.py b/glucometerutils/support/contourusb.py index 91491e2..1b2f802 100644 --- a/glucometerutils/support/contourusb.py +++ b/glucometerutils/support/contourusb.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2019 The glucometerutils Authors # SPDX-License-Identifier: MIT """Common routines to implement the ContourUSB common protocol. diff --git a/glucometerutils/support/driver_base.py b/glucometerutils/support/driver_base.py index 2bd4264..d630031 100644 --- a/glucometerutils/support/driver_base.py +++ b/glucometerutils/support/driver_base.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2020 The glucometerutils Authors # SPDX-License-Identifier: MIT import abc diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py index 245fde7..b70d993 100644 --- a/glucometerutils/support/freestyle.py +++ b/glucometerutils/support/freestyle.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Common routines to implement the FreeStyle common protocol. diff --git a/glucometerutils/support/hiddevice.py b/glucometerutils/support/hiddevice.py index 124b2e6..e9a5d01 100644 --- a/glucometerutils/support/hiddevice.py +++ b/glucometerutils/support/hiddevice.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Common routines and base driver class for HID-based meters. """ diff --git a/glucometerutils/support/lifescan.py b/glucometerutils/support/lifescan.py index 20869f9..ebe8d06 100644 --- a/glucometerutils/support/lifescan.py +++ b/glucometerutils/support/lifescan.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Common utility functions for LifeScan meters.""" diff --git a/glucometerutils/support/lifescan_binary_protocol.py b/glucometerutils/support/lifescan_binary_protocol.py index 1cef4d9..cea9a10 100644 --- a/glucometerutils/support/lifescan_binary_protocol.py +++ b/glucometerutils/support/lifescan_binary_protocol.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2018 The glucometerutils Authors # SPDX-License-Identifier: MIT """Support module for the LifeScan binary protocol. diff --git a/glucometerutils/support/serial.py b/glucometerutils/support/serial.py index 6a2d142..a9b4b85 100644 --- a/glucometerutils/support/serial.py +++ b/glucometerutils/support/serial.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Common routines and base driver class for serial-based meters. """ diff --git a/glucometerutils/support/tests/test_construct_extras.py b/glucometerutils/support/tests/test_construct_extras.py index 6bba873..3f8f1f6 100644 --- a/glucometerutils/support/tests/test_construct_extras.py +++ b/glucometerutils/support/tests/test_construct_extras.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2018 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the common routines.""" diff --git a/glucometerutils/support/tests/test_freestyle.py b/glucometerutils/support/tests/test_freestyle.py index fb3f3b9..2124df7 100644 --- a/glucometerutils/support/tests/test_freestyle.py +++ b/glucometerutils/support/tests/test_freestyle.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2019 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the common FreeStyle functions..""" diff --git a/glucometerutils/support/tests/test_lifescan.py b/glucometerutils/support/tests/test_lifescan.py index b50b5d6..dbb338a 100755 --- a/glucometerutils/support/tests/test_lifescan.py +++ b/glucometerutils/support/tests/test_lifescan.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the LifeScan OneTouch Ultra Mini driver.""" diff --git a/glucometerutils/tests/test_common.py b/glucometerutils/tests/test_common.py index 2a3a23d..478a58b 100644 --- a/glucometerutils/tests/test_common.py +++ b/glucometerutils/tests/test_common.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT """Tests for the common routines.""" diff --git a/reversing_tools/abbott/extract_freestyle.py b/reversing_tools/abbott/extract_freestyle.py index 0f21d88..0089245 100755 --- a/reversing_tools/abbott/extract_freestyle.py +++ b/reversing_tools/abbott/extract_freestyle.py @@ -15,6 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-FileCopyrightText: © 2019 The usbmon-tools Authors; © 2020 The glucometerutils Authors # SPDX-License-Identifier: Apache-2.0 import argparse diff --git a/reversing_tools/abbott/freestyle_hid_console.py b/reversing_tools/abbott/freestyle_hid_console.py index 0ed4705..18df89c 100755 --- a/reversing_tools/abbott/freestyle_hid_console.py +++ b/reversing_tools/abbott/freestyle_hid_console.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-FileCopyrightText: © 2019 The glucometerutils Authors # SPDX-License-Identifier: MIT """CLI tool to send messages through FreeStyle HID protocol.""" @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# SPDX-FileCopyrightText: © 2013 The glucometerutils Authors # SPDX-License-Identifier: MIT from setuptools import find_packages, setup diff --git a/udev/69-glucometerutils.rules b/udev/69-glucometerutils.rules index d358744..1ef2f58 100644 --- a/udev/69-glucometerutils.rules +++ b/udev/69-glucometerutils.rules @@ -1,4 +1,6 @@ # udev rules for glucometer devices using usb/tty/hid interfaces +# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors +# SPDX-License-Identifier: MIT # Installation: # - Copy this file to /etc/udev/rules.d/ |