2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-18 05:56:03 +00:00

MAXLAN: Suppress "unsolicated" message in pairmode for N:

git-svn-id: https://svn.fhem.de/fhem/trunk@2299 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2012-12-09 15:02:11 +00:00
parent adea124446
commit 8cf5e7a58f

View File

@ -327,7 +327,9 @@ MAXLAN_Read($)
while(1) {
my $rmsg = MAXLAN_ReadSingleResponse($hash, 0);
last if(!$rmsg);
Log 2, "Unsolicated response from Cube: $rmsg";
# The Msg N: .... is the only one that may come spontanously from
# the cube while we are in pairmode
Log 2, "Unsolicated response from Cube: $rmsg" unless($hash->{pairmode} and substr($rmsg,0,2) eq "N:");
MAXLAN_Parse($hash, $rmsg);
}
}