Wykres commitów

996 Commity (4ab43ff962cfadadcec8ba6c465a7a05c1db09de)

Autor SHA1 Wiadomość Data
Fredrik Öhrström 4ab43ff962 Update docs. 2021-08-27 11:04:59 +02:00
Fredrik Öhrström 2739938424 Fix memleak in testinternals. 2021-08-27 08:50:46 +02:00
Fredrik Öhrström 718cb8fe1b Added test for meter extras in config file. 2021-08-27 08:45:37 +02:00
Fredrik Öhrström 301f7bd3f7 Add option --listunits 2021-08-27 08:31:56 +02:00
Fredrik Öhrström be284f3ae5
Merge pull request #329 from to-masz/unify-meterinfo-parsing
Unify meter configuration parsing between command line and configuration
2021-08-27 08:31:42 +02:00
Tomasz Gramza 62c8ffc34f
Unify meter configuration parsing between command line and configuration file 2021-08-26 20:02:45 +00:00
Fredrik Öhrström 4c1c677486 Added handling of out of bounds offset. 2021-08-21 21:45:43 +02:00
Fredrik Öhrström 59c7907215 Use -n instead of --lines for head call. 2021-08-21 21:13:47 +02:00
Fredrik Öhrström b346841a7e Add necessary header file for alpine linux docker builds. 2021-08-21 21:11:50 +02:00
Fredrik Öhrström bc6c68c3c2 Updated CHANGES. 2021-08-21 21:08:19 +02:00
Fredrik Öhrström bc522feef7
Merge pull request #328 from to-masz/apator162-custom-offset
Add possibility to explicitly point meter reading offset in apator162 telegram
2021-08-21 20:58:36 +02:00
Tomasz Gramza d006f2ef91
Test extras offset in apator162 2021-08-21 16:03:17 +00:00
Tomasz Gramza 70476b1027
Accept offset form extras meterinfo in apator162 2021-08-21 16:02:12 +00:00
Fredrik Öhrström 3c79af043a Add extra clearing of serial buffer when detecting amb8465. 2021-08-19 16:04:29 +02:00
Fredrik Öhrström f0677c2587 Improve testing code coverage. 2021-08-19 12:54:04 +02:00
Fredrik Öhrström 8dd3e87c44
Merge pull request #324 from dwrobel/dw-fix-snprintf
Fix snprintf format argument
2021-08-13 10:11:29 +02:00
Fredrik Öhrström 1f2a078567 Add ifndef FUZZING to util.h. Add wmbusmeters.g which include debug symbol, but not include full libasan address sanitizer code. 2021-08-13 10:09:20 +02:00
Damian Wrobel f6659accbb Fix snprintf format argument
Fixes the following compilation error:

src/meters.cc: In member function
  'virtual std::string MeterCommonImplementation::unixTimestampOfUpdate()':
src/meters.cc:407:35: warning: format '%zu' expects argument of type 'size_t',
  but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=]
  407 |     snprintf(ut, sizeof(ut)-1, "%zu", datetime_of_update_);
      |                                 ~~^   ~~~~~~~~~~~~~~~~~~~
      |                                   |   |
      |                                   |   time_t {aka long int}
      |                                   unsigned int
      |                                 %lu
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.9tme28 (%build)
    Bad exit status from /var/tmp/rpm-tmp.9tme28 (%build)
Child return code was: 1
2021-08-12 19:36:26 +02:00
Fredrik Öhrström 272922a2aa Updated README 2021-08-09 12:17:38 +02:00
Fredrik Öhrström c0c61575be Add check of length for buffer when potentially decrypting aes blocks. 2021-08-09 12:00:55 +02:00
Fredrik Öhrström e39bfca44e Add automatic telegram fuzz seed generation from existing test case simulations. 2021-08-09 11:28:39 +02:00
Fredrik Öhrström 838f89d576 When fuzzing do not check crcs. This can make the fuzzer reach more code paths. 2021-08-09 11:06:30 +02:00
Fredrik Öhrström 5793d7f5b7 Previous commit added better detection of amb8465 dongles. This commit removes unnecessary assert for length inside crc calculation. This check caused unnecessary fuzz crashes. 2021-08-09 01:10:13 +02:00
Fredrik Öhrström 837b86da85 Fix bug that caused crash when dongle was reset. 2021-08-09 00:10:38 +02:00
Fredrik Öhrström 0d830bad59 Fix bug that caused crash when dongle was reset. 2021-08-08 23:07:34 +02:00
Fredrik Öhrström c490c92fdf Add debug information to amb8465 detection. 2021-08-08 21:36:32 +02:00
Fredrik Öhrström 8df796017e Added izar rs 868 meter detection. 2021-08-08 20:06:31 +02:00
Fredrik Öhrström 1bae33aeb7 Added tip on first using auto and then /dev/ttyxxx for raspberry pi. 2021-08-08 18:48:37 +02:00
Fredrik Öhrström bbe12e517b Added Axioma W1 water meter. 2021-08-08 18:31:36 +02:00
Fredrik Öhrström 0f209edc97 Update README, CHANGES and man page. 2021-08-08 17:16:52 +02:00
Fredrik Öhrström efbcafab9f Add timestamp_utc timestamp_lt for explicit choice of date format for fields. 2021-08-08 16:50:25 +02:00
Fredrik Öhrström 6009382d4f Rename jsons to extra_constant_fields. 2021-08-02 00:22:13 +02:00
Fredrik Öhrström e4d3ec1e7e Add field_ prefix which is equivalent to json_ prefix. 2021-08-01 23:12:52 +02:00
Fredrik Öhrström 2c83c51db1 Add field timestamp_ut for printing unix timestamp millis. 2021-08-01 18:24:19 +02:00
Fredrik Öhrström 209ce83c36 Deb package contents should be owned by root. 2021-07-15 10:06:43 +02:00
Fredrik Öhrström e31f1d005f Add telegram to listen to all test. 2021-07-10 21:08:38 +02:00
Fredrik Öhrström a8fae5550c
Merge pull request #311 from BIBOLV/master
Add version 0x06 for bmeter water meter.
2021-07-10 21:04:15 +02:00
BIBOLV a8dfb74720 Add version 0x06 for bmeter water meter.
Fix for https://github.com/weetmuts/wmbusmeters/issues/308
2021-07-09 00:58:37 +03:00
Fredrik Öhrström db42776d2b Add safety check for ancient udev rules in install script. 2021-07-06 11:57:08 +02:00
Fredrik Öhrström 5be9974086 Add safety check for install if ancient wmbusmeters.service is in etc. 2021-07-06 11:57:08 +02:00
Fredrik Öhrström 630631eb11
Merge pull request #306 from the78mole/master
Added Aventies HCA meter and some doc on creating new meter classes
2021-07-06 11:56:55 +02:00
the78mole cd8983dc62 Created some documentation on creating new meter classes. 2021-07-06 00:26:45 +02:00
the78mole 826404ef17 Added Aventies HCA meter 2021-07-05 21:19:45 +02:00
Fredrik Öhrström cf9a22a7e2 Add version 0x34 for qcaloric hca meters. 2021-07-04 10:52:20 +02:00
Fredrik Öhrström c30ad88ebc Update CHANGES and README. 2021-07-02 19:43:09 +02:00
Fredrik Öhrström 84f4d6892d Added regression tests for aventies water meter. 2021-07-02 19:35:45 +02:00
Fredrik Öhrström 7afa5fca34
Merge pull request #303 from the78mole/master
Added aventies water meter
2021-07-02 19:21:19 +02:00
the78mole 47b15021ce Added aventies water meter 2021-07-02 15:56:32 +02:00
Fredrik Öhrström b9d200f04f More work on creating deb package. 2021-06-29 16:54:12 +02:00
Fredrik Öhrström 3fffa30188
Merge pull request #299 from CWempe/format_readme
Improve formatting of README
2021-06-29 16:39:23 +02:00