Accepting request 1036819 from hardware:sdr

OBS-URL: https://build.opensuse.org/request/show/1036819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtl_433?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-11-20 18:46:59 +00:00 committed by Git OBS Bridge
commit af6cad6c20
5 changed files with 103 additions and 42 deletions

View File

@ -1,35 +0,0 @@
From 37455483889bd1c641bdaafc493d1cc236b74904 Mon Sep 17 00:00:00 2001
From: "Christian W. Zuckschwerdt" <christian@zuckschwerdt.org>
Date: Fri, 18 Mar 2022 08:09:15 +0100
Subject: [PATCH] Fix overflow in Acurite-00275rm (closes #2012)
---
src/devices/acurite.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/devices/acurite.c b/src/devices/acurite.c
index 6879e52d..4f3e83eb 100644
--- a/src/devices/acurite.c
+++ b/src/devices/acurite.c
@@ -1318,15 +1318,15 @@ static int acurite_00275rm_decode(r_device *decoder, bitbuffer_t *bitbuffer)
// Combine signal if exactly three repeats were found
if (n_rows == 3) {
- uint8_t *b = bitbuffer->bb[bitbuffer->num_rows];
+ bitbuffer_add_row(bitbuffer);
+ uint8_t *b = bitbuffer->bb[bitbuffer->num_rows - 1];
for (int i = 0; i < 11; ++i) {
// The majority bit count wins
b[i] = (b_rows[0][i] & b_rows[1][i]) |
(b_rows[1][i] & b_rows[2][i]) |
(b_rows[2][i] & b_rows[0][i]);
}
- bitbuffer->bits_per_row[bitbuffer->num_rows] = 88;
- bitbuffer->num_rows += 1;
+ bitbuffer->bits_per_row[bitbuffer->num_rows - 1] = 88;
}
// Output the first valid row
--
2.35.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b362ef3410adec64aee7ad8e6d4d74875f1b3d59ef6fb4856e96adc03876dc65
size 954628

3
rtl_433-22.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61a9163d69cc4b1da46aebbcaf969bd180a055a6b90f42ad281218cc4fbefb86
size 996690

View File

@ -1,3 +1,101 @@
-------------------------------------------------------------------
Sat Nov 19 16:04:10 UTC 2022 - Martin Hauke <mardnh@gmx.de>
- Update to version 22.11
Breaking Changes
* Fixed irregular model names.
"Inkbird ITH-20R" -> "Inkbird-ITH20R"
"LaCrosse-WS7000-27/28" -> "LaCrosse-WS700027"
"LaCrosse-WS7000-22/25" -> "LaCrosse-WS700022"
"LaCrosse-WS7000-16" -> "LaCrosse-WS700016"
"LaCrosse-WS7000-15" -> "LaCrosse-WS700015"
"LaCrosse-WS7000-20" -> "LaCrosse-WS700020"
"LaCrosse-WS2500-19" -> "LaCrosse-WS250019"
"Abarth 124 Spider" -> "Abarth-124Spider"
"Jansite Solar" -> "Jansite-Solar"
"Klimalogg Pro" -> "Klimalogg-Pro"
"Secplus_v1" -> "Secplus-v1"
"SCM+" -> "SCMplus"
Changed light_klx to light_lux in Bresser-7in1.
Highlights
* Added rtl_tcp pass-through output.
* Added realtime replay option for file inputs.
* Added support for Badger ORION water meter.
* Added support for Rubicson pool thermometer.
* Added support for Fine Offset WN34 temperature sensor.
* Added support for KS200/KS300 to ELV WS2000.
* Added support for Maverick XR-30.
* Added support for Fine Offset WH45 air quality sensor.
* Added support for HCS200/HCS300 based remotes with FSK
transmitters.
* Added support for Emos E6016 Rain Gauge.
* Added support for ANT and ANT+ devices.
* Added support for Altronics X7064 sensor.
* Added support for EMOS 6016.
* Added support for FineOffset WS80 weather station.
* Added support for Renault-0435R TPMS.
* Added support for AcuRite 01190 Leak Detector.
* Added support for Regency ceiling fans.
* Added support for Microchip HCS300 KeeLoq remotes.
* Added support for Yale HSA.
* Added support for SimpliSafe-Gen3.
* Added support for AVE TPMS.
* Added decoder conf for sgooway door detector.
* Added decoder conf for ContinentalRemote.
* Added decoder conf for Mondeo remote.
* Added decoder conf for LeakDetector.
* Added decoder conf for Heatilator-Gas-Log.
* Added decoder conf for Honeywell-Fan.
* Added decoder conf for DrivewayAlert.
* Added decoder conf for GhostControls.
* Added Threads if available.
Changed
* Added note regarding WH51 915MHz decoding.
* Added publish secret knocks as device automations.
* Added time, channel, and button device automation triggers.
* Improved false positives for acurite_01185m.
* Changed rtl_433_mqtt_hass rain value template round to two
digits.
* Changed rtl_433_mqtt_hass value templates round to one digit.
* Fixed Chuango devices with some zeroes in their ID.
* Changed Proove/Nexa/Kaku to support Smartwares SH4-90152.
* Changed Acurite TXR decoder to improve validation.
* Fixed Efergy-e2CT current above 53 Amp.
* Added sanity check to Ambient Weather F007th.
* Added decode symbol helper and flex option.
* Added InFactory PT-310 support to Rubicson.
* Added HTTP API example scripts.
* Changed rain gauge multiplier for Auriol-4LD5661.
* Added CSV names for flex getters with unique mode.
* Added php example script.
* Improved Ford TPMS decoder.
* Fixed crash when reading a conf file.
* Changed SDR data buffers to persist valid.
* Added ERT-SCM consumption data to mqtt hass mappings.
* Added id filter to mqtt hass.
* Fixed overflow in Acurite-00275rm.
* Changed the PCM/NRZ/RZ naming.
* Added cmake option to select IPv6 support.
* Fixed EMOS-6016 checksum, add DCF77.
* Added bitbuffer_find_repeated_prefix function.
* Fixed pulse reset on spurious pulses.
* Removed confusing -G register all option.
* Changed hass script duplicate dict key 'light_lux' back to 'lux'
for legacy reasons.
* Added Honeywell-cm921 Ticker and Heat Demand commands.
* Changed most decoder-verbose to log level.
* Changed fprintf in decoders to decoder_log.
* Added decoder log to replace bitbuffer bitrow print.
* Added decoder log to replace fprintf.
* Fixed Digitech-XC0324 humidity readings (FT-005TH Sensor).
* Changed wt0124 to use additional checksum.
* Added diagnostic entity category to mqtt hass example.
* Removed invalid "weather" device class in HASS script.
* Added trigger stream output.
* Changed Hideki to accept short sync.
- Drop patch:
0001-Fix-overflow-in-Acurite-00275rm-closes-2012.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 13 08:32:49 UTC 2022 - Martin Hauke <mardnh@gmx.de> Wed Apr 13 08:32:49 UTC 2022 - Martin Hauke <mardnh@gmx.de>

View File

@ -18,14 +18,13 @@
Name: rtl_433 Name: rtl_433
Version: 21.12 Version: 22.11
Release: 0 Release: 0
Summary: Application turning the RTL2832 dongle into a 433.92MHz generic data receiver Summary: Application turning the RTL2832 dongle into a 433.92MHz generic data receiver
License: GPL-2.0-only License: GPL-2.0-only
Group: Productivity/Hamradio/Other Group: Productivity/Hamradio/Other
URL: https://github.com/merbanan/rtl_433.git URL: https://github.com/merbanan/rtl_433.git
Source: https://github.com/merbanan/rtl_433/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/merbanan/rtl_433/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: 0001-Fix-overflow-in-Acurite-00275rm-closes-2012.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(SoapySDR) BuildRequires: pkgconfig(SoapySDR)
@ -49,7 +48,6 @@ to make use of rtl_433.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%cmake \ %cmake \