MAXLAN: Suppress "unsolicated" message in pairmode for N:
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2299 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -327,7 +327,9 @@ MAXLAN_Read($)
|
|||||||
while(1) {
|
while(1) {
|
||||||
my $rmsg = MAXLAN_ReadSingleResponse($hash, 0);
|
my $rmsg = MAXLAN_ReadSingleResponse($hash, 0);
|
||||||
last if(!$rmsg);
|
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);
|
MAXLAN_Parse($hash, $rmsg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user