Fredrik Öhrström
d90dbb196e
Add another m,v,t combo for the lse_07_17 driver.
2024-04-15 08:44:14 +02:00
Michał Morański
f32179a939
Avoid SIGSEGV in WMBusCUL::checkCULFrame
...
(cul) checkCULFrame "b2F4468506586269295620A17A2069F2"
(cul) no eol found yet, partial frame
(serial) received ascii "TMODE<0D><0A>b2F44685086625092957245C6A2069F2F6A06E0080000000000000000B9BF00000D0F0D11130512100F0F0F100F0F8E1F0F0E0D121310B241<0D><0A>b4E44B61065960200023732117A0E004005E4B5FD2A1E3DCCC84F38BDF21FD05D506BF685D50CB3AD9644F9FF7C893BF9DD0D2B64C85F703707B1965C69261E8CDF85046CDDC38F1336D67750E933854BA0C9A91240A18556E6064B<0D><0A>"
(cul) checkCULFrame "b2F4468506586269295620A17A2069F2TMODE<0D><0A>b2F44685086625092957245C6A2069F2F6A06E0080000000000000000B9BF00000D0F0D11130512100F0F0F100F0F8E1F0F0E0D121310B241<0D><0A>b4E44B61065960200023732117A0E004005E4B5FD2A1E3DCCC84F38BDF21FD05D506BF685D50CB3AD9644F9FF7C893BF9DD0D2B64C85F703707B1965C69261E8CDF85046CDDC38F1336D67750E933854BA0C9A91240A18556E6064B<0D><0A>"
(cul) bad hex for LQI and RSSI "MODE"
(cul) warning: the LQI and RSSI hex string is not properly formatted!
Thread 2 "wmbusmeters" received signal SIGSEGV, Segmentation fault.
0x571c718f in WMBusCUL::checkCULFrame (this=0xf0a03480, data=std::vector of length 339, capacity 339 = {...}, hex_frame_length=0xf07fe680,
payload=std::vector of length 0, capacity 0, rssi_dbm=0xf07fe6c0) at src/wmbus_cul.cc:336
336 uint lqi = lqi_rssi[0]>>1;
(gdb)
2024-04-14 15:16:56 +02:00
Fredrik Öhrström
a32fcfdf9a
When generating IV for AES-CTR zero out H and R bit.
2024-04-13 13:42:25 +02:00
Fredrik Öhrström
efcc41d107
Add support for GJ VIF.
2024-04-09 20:47:42 +02:00
Fredrik Öhrström
a69e547a17
Update drivers with signedness. Fix tests.
2024-04-09 11:11:17 +02:00
Fredrik Öhrström
23f2279a64
Separate VIF scaling and DIF signedness. Default to signed DIF binary integers.
2024-04-09 10:41:30 +02:00
Fredrik Öhrström
ff72e1debc
Add dynamic driver lookup bits translation to strings.
2024-04-04 20:59:03 +02:00
Fredrik Öhrström
c1509f6139
Merge pull request #1218 from jsreynaud/better_message_for_vife
...
Adding a better description of combinable extension vife
2024-03-29 16:19:50 +01:00
Fredrik Öhrström
9facddf019
Add support for the same fully specified secondary address printed by libmbus after doing a bus scan.
2024-03-28 12:41:00 +01:00
Fredrik Öhrström
9a34a55abb
Fail decoding if too many difes/vifes are found.
2024-03-28 12:41:00 +01:00
Fredrik Öhrström
465a450a8b
Merge pull request #1196 from avandorp/patch-1
...
topaseskr: Fix wording for date values
2024-03-22 20:23:08 +01:00
Jean-Samuel REYNAUD
9576550f85
Adding a better description of combinable extension vife
2024-03-22 16:25:49 +01:00
Fredrik Öhrström
8c09f7b2d8
The required field does not contribute to testing of the address expressions before.
2024-03-03 19:34:00 +01:00
Fredrik Öhrström
23779cb9f7
Add option --identitymode=...
2024-03-03 12:57:40 +01:00
Fredrik Öhrström
5962e727ff
Handle more address rules.
2024-03-02 22:46:50 +01:00
Arthur van Dorp
03d95e780e
topaseskr: Fix wording for date values
...
Those are period end dates, not start dates. That was my bad, sorry.
2024-03-02 21:06:59 +01:00
Fredrik Öhrström
11c83c1f37
Remove unused code.
2024-03-02 15:42:39 +01:00
Fredrik Öhrström
7634b95438
New advanced addressing works.
2024-03-02 15:30:25 +01:00
Fredrik Öhrström
78e7c47503
Add filter_out to address expression.
2024-03-01 12:00:49 +01:00
Fredrik Öhrström
0c98b474bb
Fix tests.
2024-02-27 11:52:45 +01:00
Fredrik Öhrström
9d27ab3fb3
New source file address.cc for mbus addressing.
2024-02-26 11:44:47 +01:00
Fredrik Öhrström
097f91fac0
Add dynaic driver add_combinable and storage_nr.
2024-02-15 11:40:30 +01:00
Fredrik Öhrström
14ca481c63
Fix rtl_wmbus -f detection.
2024-02-12 14:07:53 +01:00
Fredrik Öhrström
0d0338c9a4
Add on_time_h,battery_pct to q400 driver, not qualcosonic driver.
2024-02-12 10:06:09 +01:00
Fredrik Öhrström
4d3e306f30
Add on_time_h and batter_pct to qualcosonic driver. Add Percentage unit. Add 'keep open' tag and update workflow.
2024-02-12 09:34:59 +01:00
Fredrik Öhrström
004d8b751f
Do not try to load the builtin driver if --driver=<file> has been used already.
2024-02-12 01:16:34 +01:00
Fredrik Öhrström
72ecb86b91
Add use=<field> to use optional field from library.
2024-02-12 00:55:04 +01:00
Fredrik Öhrström
24b47fbd48
Temporarily avoid building xmq when testing after deb build.
2024-02-12 00:13:13 +01:00
Fredrik Öhrström
f446efa11d
Clone xmq from correct url.
2024-02-11 23:18:51 +01:00
Fredrik Öhrström
fefbf507fe
Add elster,iperl text based drivers.
2024-02-11 23:06:59 +01:00
Fredrik Öhrström
04ed4d7628
Add --driverdir=<dir> and --driver=<file> for loading drivers from text files.
2024-02-11 00:12:31 +01:00
Fredrik Öhrström
440ea263b1
Use mktemp in a way that is supported by busybox.
2024-01-31 20:47:06 +01:00
Fredrik Öhrström
03e03905ec
Add missing cstdint since gcc 13 is more picky.
2024-01-24 12:33:59 +01:00
Fredrik Öhrström
42511190e7
Do not test rtl_wmbus for -f option if CMD is overridden.
2024-01-18 15:40:15 +01:00
Fredrik Öhrström
4f21c04804
Add warning when rtl_wmbus data flow freezes. Improve README.
2024-01-18 15:24:42 +01:00
Fredrik Öhrström
abad0c8d74
Use new rtl_wmbus option -f to add flow control. If rtl_sdr stops sending samples to rtl_wmbus it will not exit with an error message. Wmbusmeters detects this and restarts the pipeline. Errors from rtl_sdr can be found in a /tmp/tmp....wmbusmeters_rtlsdr file.
2024-01-18 14:56:21 +01:00
Fredrik Öhrström
704e715582
Merge branch 'AddRTLWMBUSFlowCheck'
2024-01-18 11:00:35 +01:00
Fredrik Öhrström
866df740ad
Add energy MWh VIF 7b00-7b01 and improve kamheat driver.
2024-01-15 15:29:43 +01:00
Fredrik Öhrström
295053ebd6
Add more fields to the iem3000 driver.
2024-01-11 21:01:08 +01:00
Fredrik Öhrström
b6878b503c
Add iem3000 driver.
2024-01-11 20:36:10 +01:00
Fredrik Öhrström
cddcc9ae26
Add iem3000 driver.
2024-01-11 18:34:46 +01:00
Fredrik Öhrström
c08bf05521
Fix 2023-2024 in tests and update xmq.c
2024-01-09 23:31:41 +01:00
Fredrik Öhrström
331c5a4018
Correct test that expects a Repeater in the list of meter types.
2023-12-04 13:12:16 +01:00
Fredrik Öhrström
10fbac056b
Add test case to iwmtx5 driver.
2023-12-04 12:10:39 +01:00
Fredrik Öhrström
aff37db2c1
Merge pull request #1095 from sunflowerenergias/master
...
Update driver_iwmtx5.cc
2023-12-04 12:01:24 +01:00
Fredrik Öhrström
b011505d7b
Merge pull request #1047 from simonr-de/master
...
Update driver_sharky
2023-12-04 11:45:51 +01:00
Fredrik Öhrström
b0cb4fa44b
Merge pull request #1114 from pimlie/fix-date-format
...
fix: date format should use semicolon as time separator
2023-12-04 11:44:31 +01:00
Fredrik Öhrström
47f3256a50
Add test case to kamheat.
2023-12-04 11:39:25 +01:00
Fredrik Öhrström
0c3fa02d4f
Merge pull request #1109 from Jacman777/master
...
Update driver_kamheat.cc
2023-12-04 11:33:35 +01:00
Fredrik Öhrström
8077791846
Merge pull request #1115 from pimlie/feat-add-driver-lansen-repeater
...
feat: add driver for lansen repeater (0x0b)
2023-12-04 11:23:23 +01:00