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
Christoph Wempe
6717ea3f8a
Fix missing code block opening
2021-06-28 22:29:38 +02:00
Christoph Wempe
ec18d26829
Improve formatting of README
...
mostly inline code and markdown best practice
2021-06-28 22:27:38 +02:00
Christoph Wempe
abc83d4753
Add syntax highlighting to code blocks
2021-06-28 22:25:33 +02:00
Christoph Wempe
71d5569043
Uncomment rpm install command
2021-06-28 22:21:28 +02:00
Fredrik Öhrström
3ee42c6fdb
Create separate deb creation script.
2021-06-26 17:49:21 +02:00
Fredrik Öhrström
67f01cdc50
Add install_binaries.sh
2021-06-26 17:22:07 +02:00
Fredrik Öhrström
8c468a5477
Break out install scripts.
2021-06-26 16:53:27 +02:00
Fredrik Öhrström
8b258304ee
Add script to collect copyrights for deb creation.
2021-06-26 16:30:24 +02:00
Fredrik Öhrström
e8b60c6bd5
Also sync --help output with manual.
2021-06-26 12:28:17 +02:00
Fredrik Öhrström
e93310e008
Sync man with readme with code.
2021-06-26 12:24:30 +02:00
Fredrik Öhrström
08b9153167
Skip spurious bytes when testing for amb8465.
2021-06-09 12:51:37 +02:00
Fredrik Öhrström
ab76ea9788
Update info on reducing rtl_wmbus cpu usage when only listening to T1/C1.
2021-06-09 12:26:25 +02:00
Fredrik Öhrström
7892d41999
Add info on reducing rtl_wmbus cpu usage when only listening to T1/C1.
2021-06-09 12:22:09 +02:00
Fredrik Öhrström
59b7421b5b
Added another telegram for testing of Qundis meter.
2021-06-04 10:07:38 +02:00
Fredrik Öhrström
0276416e49
Merge pull request #294 from westfalenyeti/master
...
Add Qundis 5.5 watermeter version 16 to lse_07_17 driver
2021-06-04 09:56:51 +02:00
Björn Adler
2d57b3ef44
Add Qundis 5.5 watermeter version 16 to lse_07_17 driver
2021-05-30 17:40:58 +02:00