From 96c1e9de188e249e26a0a6aa67bee19e36dc0b8e Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 23 Nov 2017 21:46:14 +0000 Subject: [PATCH] 00_ZWDongle: fix small bug rearding backgroundRSSI git-svn-id: https://svn.fhem.de/fhem/trunk@15490 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_ZWDongle.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/00_ZWDongle.pm b/fhem/FHEM/00_ZWDongle.pm index 9c544c843..f51c8cb79 100644 --- a/fhem/FHEM/00_ZWDongle.pm +++ b/fhem/FHEM/00_ZWDongle.pm @@ -566,7 +566,7 @@ ZWDongle_Get($@) } elsif($cmd eq "backgroundRSSI") { ############################ my @list; my $i=0; - my $maxlen = (length($msg) >= 12 ? 10 : length($msg)-2); + my $maxlen = (length($msg) >= 10 ? 10 : length($msg)-2); for(my $off=4; $off<$maxlen; $off+=2) { my $dec = hex(substr($msg, $off, 2)); if($dec == 127 || $dec == 0) {