summaryrefslogtreecommitdiffstats
path: root/test/test_otultra2.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move the InvalidChecksum exception to the base exceptions module.Diego Elio Pettenò2016-03-021-1/+1
| | | | | Most glucometers have *some* sort of checksum, so there is no reason to implement this on a per-driver basis.
* otultra2: move checksum function within otultra2 driver.Diego Elio Pettenò2014-01-291-0/+8
| | | | | The function is not shared with the Ultra Easy and likely not with other devices either.
* Fix style for tests.Diego Elio Pettenò2013-09-291-32/+31
|
* test_otultra2: factor out setting of returned serial string.Diego Elio Pettenò2013-08-101-9/+9
|
* Relicense everything under MIT license.Diego Elio Pettenò2013-08-031-1/+1
| | | | | There is no reason for me to use GPLv3 now that I'm not using the CRC32-Sick code, so I'll go with the most liberal license out there.
* Implement the correct checksum algorithm.Diego Elio Pettenò2013-08-031-1/+1
| | | | | | | Unlike what I though, OneTouch2 does not use CRC32 Sick algorithm, but a very stupid full 16-bit modulo sum of the bytes in the reply. This is very simple and does not require GPLv3 code at all.
* Add support for checksum verification for the otultra2 driver.Diego Elio Pettenò2013-08-031-4/+19
| | | | | | | This introduced some changes in the Exception class to simplify the code, and at the same time it adds a module for multiple lifescan drivers to share code (multiple OneTouch protocols share the same checksum for instance).
* Update function names to follow PEP8.Diego Elio Pettenò2013-08-031-4/+4
|
* Add utf-8 encoding specification to all files.Diego Elio Pettenò2013-08-031-0/+1
|
* test_otultra2: add header.Diego Elio Pettenò2013-08-031-0/+7
|
* Initial import of the raw data.Diego Elio Pettenò2013-08-031-0/+48