Fredrik Öhrström
ff72e1debc
Add dynamic driver lookup bits translation to strings.
2024-04-04 20:59:03 +02:00
Fredrik Öhrström
7634b95438
New advanced addressing works.
2024-03-02 15:30:25 +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
92090073cb
Use macros for debug/verbose/trace to avoid calculation of args if debug/verbose/trace are not enabled.
2023-11-12 13:16:51 +01:00
Fredrik Öhrström
c5dc2ada51
Add more loadable driver features.
2023-11-12 12:36:22 +01:00
Fredrik Öhrström
b9306be914
Only try loading driver from disk if the driver name ends with .xmq and is a valid file.
2023-11-06 20:41:30 +01:00
Fredrik Öhrström
f017694d78
Initial support for loadable drivers.
2023-10-14 15:55:55 +02:00
Fredrik Öhrström
e577c0b30c
Update tests to accomodate new json ordering of keys.
2023-08-27 21:10:18 +02:00
Fredrik Öhrström
4c59363641
Prepend isnan with :: to satisfy CentOS compiler.
2023-05-02 17:52:00 +02:00
Fredrik Öhrström
c2e1127caa
Add utc format to formula parser. Test date conversions to from utc.
2022-12-31 11:38:28 +01:00
Fredrik Öhrström
26db03ffaa
Fix bugs in sharky774 and add cooling version of meter.
2022-12-29 23:48:58 +01:00
Fredrik Öhrström
3a775977b1
Fix waterstarm and hydrocalm3.
2022-12-29 22:04:51 +01:00
Fredrik Öhrström
586f7eecba
Fix bug when detection amber dongles. No longer analyze telegram twice.
2022-11-28 01:13:44 +01:00
Fredrik Öhrström
073aafd31c
Refactor gransystems driver to new format.
2022-11-27 17:01:15 +01:00
Fredrik Öhrström
8498fdf222
Refactor hydrocalm3 driver to new format.
2022-11-26 20:05:06 +01:00
Fredrik Öhrström
9670d33263
Full converted evo868 to new driver format. Includes calculated dates.
2022-11-26 15:39:29 +01:00
Fredrik Öhrström
e064c678a6
Formulas can now calculate using dates. E.g. '2022-02-03' + 2 month
2022-11-26 14:15:14 +01:00
Fredrik Öhrström
5675716286
Change nan:s to null:s in fields. Fix problem with irrelevant fields listed for --listfields for some meters. Refactor unismart driver.
2022-11-12 16:30:10 +01:00
Fredrik Öhrström
a01cdc8c34
Add formulas and SIUnits.
2022-11-08 22:55:53 +01:00
Fredrik Öhrström
b95c1feacb
Add formula for calculating new fields based on received fields. Refactor driver ebzwmbe.
2022-10-10 21:43:11 +02:00
Fredrik Öhrström
5e3ba5cb6f
When using --logtelegrams with --silent, this still prints the telegrams and silences everything else.
2022-09-28 15:18:34 +02:00
Damian Wrobel
e74ab687e5
Fix compilation error on gcc 12
...
Fixes the following error:
src/util.cc: In function ‘bool enableLogfile(std::string, bool)’:
src/util.cc:379:22: error: ‘time’ was not declared in this scope; did you mean ‘utimes’?
379 | time_t now = time(NULL);
| ^~~~
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-07-26 08:47:06 +02:00
Fredrik Öhrström
269176fe27
Allocate driver list dynamically instead of statically to avoid static initialization ordering problem when compiling with hardened flags for rpm package.
2022-06-16 16:01:31 +02:00
Fredrik Öhrström
c4b79b272f
Improve merging of other status fields into the main status field.
2022-05-22 16:10:16 +02:00
Fredrik Öhrström
ae75bf96c4
Auto-detect ascii in model-version vif.
2022-05-07 19:40:46 +02:00
Fredrik Öhrström
a69310d432
Wait for response before polling next meter.
2022-05-01 20:54:12 +02:00
Fredrik Öhrström
fc43958b76
Add Address object.
2022-04-26 11:44:00 +02:00
Fredrik Öhrström
cc89955004
Handle colons inside CMD(...) for a device.
2022-04-11 18:53:50 +02:00
Fredrik Öhrström
cd974697fb
Use underline instead of hash for border between header and data, since hash does not work in urls.
2022-03-28 08:47:27 +02:00
Fredrik Öhrström
d254ce5066
Add foundation for iu880b dongle to receive lora.
2022-02-19 08:13:58 +01:00
Fredrik Öhrström
05b987006f
Normalize copyright notices and add script for automatic extraction of copyrights.
2022-02-12 15:28:17 +01:00
Fredrik Öhrström
da943d3573
Refactor lse_07_17 driver.
2022-02-06 21:12:05 +01:00
Fredrik Öhrström
cb794cae42
Improve extraction of readble strings like fabricatio no and enhanced id.
2022-02-06 11:21:15 +01:00
Fredrik Öhrström
b58d6cd710
Add ANYID as a synonum for '*' for the meter id. Helps when dealing with escaping.
2022-01-13 10:59:50 +01:00
Fredrik Öhrström
c20a63e5b7
In logged telegrams, separate header from body with # instead of |, this makes it easier to double-click select copy and paste telegrams to the command line for decoding using wmbusmeters.
2022-01-12 19:20:03 +01:00
Fredrik Öhrström
ae6e10a291
First step to implement --analyze.
2021-12-07 19:51:26 +01:00
Fredrik Öhrström
678a3a8a0a
Improve verbose messages when user is not member of dialout.
2021-10-16 20:20:33 +02:00
Fredrik Öhrström
09bb3debf6
Improved decoding of apator162 telegrams.
2021-09-22 00:01:21 +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
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
0d830bad59
Fix bug that caused crash when dongle was reset.
2021-08-08 23:07:34 +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
08b9153167
Skip spurious bytes when testing for amb8465.
2021-06-09 12:51:37 +02:00
Fredrik Öhrström
21d3595a53
A device (mbus/wmbus/tty) can now have an alias. A meter spec can now refer to this alias.
2021-03-14 09:41:35 +01:00
Fredrik Öhrström
5eea15b18c
Add meterinfo parsing that can additionally handle bus,extras and bps.
2021-03-13 18:35:47 +01:00
Fredrik Öhrström
d9c73664e4
Add option --logtimestamps=<when>
2021-03-13 08:54:08 +01:00
Fredrik Öhrström
948064ae76
Add bus alias to meter info.
2021-03-09 22:00:11 +01:00
Fredrik Öhrström
a53cb1f77c
Refactor MeterType to MeterDriver.
2021-03-08 08:43:56 +01:00
Fredrik Öhrström
dd39fe55f7
Add ppm support for rtlsdr.
2021-03-06 16:28:42 +01:00