Fredrik Öhrström
678a3a8a0a
Improve verbose messages when user is not member of dialout.
2021-10-16 20:20:33 +02:00
DeDragonSlayer
f2576a02df
amiplus and gransystsems - change NAN to 0 for nonexistent values to increase downstream compatibility
2021-10-13 09:05:27 +02:00
DeDragonSlayer
561a98da5b
add phase 2 and 3 voltages
2021-10-12 10:05:26 +02:00
DeDragonSlayer
9b6638d6dc
refactor voltage for phase 1 to keep naming consistent with GSS meter
2021-10-12 09:26:12 +02:00
DeDragonSlayer
0368a70fbd
amiplus voltage for phase 1
2021-10-11 20:05:27 +02:00
Fredrik Öhrström
a9c1066d06
Merge pull request #353 from zivillian/agin
...
fix typo
2021-10-07 12:56:08 +02:00
Fredrik Öhrström
6c34beabae
Add another register size for apator162.
2021-10-06 10:19:36 +02:00
zivillian
058b7bd3c5
fix typo
2021-10-05 22:16:31 +02:00
Fredrik Öhrström
d6c83f65b2
Added hydrocalm3 driver.
2021-10-02 11:36:42 +02:00
Fredrik Öhrström
ebdad4eb3d
Detect when option is placed after the devices on the command line.
2021-09-30 11:10:24 +02:00
Fredrik Öhrström
2c0accb6ad
Do not reverse unismart version string.
2021-09-26 10:18:36 +02:00
Fredrik Öhrström
14290ba7b1
Add more fields to unismart driver.
2021-09-25 12:03:44 +02:00
Fredrik Öhrström
3e64ba587c
Added test case for unismart gas meter.
2021-09-25 11:01:51 +02:00
Fredrik Öhrström
61dbc60fa7
Added UniSmart gas meter driver.
2021-09-23 12:06:12 +02:00
Fredrik Öhrström
b535abe0a8
Add another register size for apator162.
2021-09-22 10:18:35 +02:00
Fredrik Öhrström
3e930d82df
Add another register size for apator162.
2021-09-22 00:17:18 +02:00
Fredrik Öhrström
09bb3debf6
Improved decoding of apator162 telegrams.
2021-09-22 00:01:21 +02:00
Fredrik Öhrström
fc89b34015
Added another mfct/version/media combo for the izar driver.
2021-09-20 10:54:53 +02:00
Fredrik Öhrström
0788ad7b90
Added :hex type for stdin, files and ttys.
2021-09-12 19:51:33 +02:00
Fredrik Öhrström
89cf1bad80
Parse and decode a hex string supplied as argument on command line.
2021-09-12 10:40:40 +02:00
Fredrik Öhrström
2baff2207b
Correct off by one error.
2021-09-02 20:37:51 +02:00
Fredrik Öhrström
b5f89eb61d
Add ability to send bytes to a bus.
2021-08-29 20:26:06 +02:00
Fredrik Öhrström
2739938424
Fix memleak in testinternals.
2021-08-27 08:50:46 +02:00
Fredrik Öhrström
301f7bd3f7
Add option --listunits
2021-08-27 08:31:56 +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
b346841a7e
Add necessary header file for alpine linux docker builds.
2021-08-21 21:11:50 +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
c0c61575be
Add check of length for buffer when potentially decrypting aes blocks.
2021-08-09 12:00:55 +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
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
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
the78mole
826404ef17
Added Aventies HCA meter
2021-07-05 21:19:45 +02:00