Commit Graph

14 Commits

Author SHA1 Message Date
dupondje
84973872af
Fix parsing tests and line start matching (#132)
* Raise parsing exception and check it in tests

* use multiline regex and match everything at the line start
2023-04-14 16:51:01 +02:00
Hans Erik van Elburg
c4331f6cd6 add tests for the missing elements and correct some test bugs 2020-05-02 15:50:00 +02:00
Nigel Dokter
45f5fe2c36 define checksum support in telegram specification; moved telegram v2 exception temporarily from parser to MBUSObject; 2017-01-21 10:33:17 +01:00
Nigel Dokter
07634abed1 Progress on removing TelegramParserV2_2 and TelegramParserV4 in favor of a generic TelegramParser 2017-01-20 23:02:19 +01:00
Nigel Dokter
87a5a2d2fa dev progress 2017-01-08 11:28:15 +01:00
Nigel Dokter
d990a316ad finishing implementation of TelegramBuffer 2017-01-07 11:25:43 +01:00
Nigel Dokter
f10032f701 refactored TelegramParser.parse to accept a str instead of list 2017-01-05 21:24:41 +01:00
Nigel Dokter
920c9aedc2 Revert "Fixed CRC calculation" 2017-01-04 11:58:03 +01:00
Alex Mekkering
ce4d5b0e62 Corrected unit test for failing CRC 2017-01-04 10:51:29 +01:00
Nigel Dokter
1c69b4e9ee added telegram CRC verification 2016-12-28 20:29:34 +01:00
Nigel Dokter
81fd581e57 pep8 2016-11-26 15:58:24 +01:00
Nigel Dokter
4df6ba75a2 used python unittest for the tests 2016-11-26 15:33:58 +01:00
Johan Bloemberg
a1d077d6f2
Fix style. 2016-11-21 14:19:12 +01:00
Nigel Dokter
927a4bc8e7 added DSMR v4 parsing unit test; added alternative serial settings for DSMR v2 and v4; 2016-11-20 12:44:45 +01:00