2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

remove sequence check for peerlist retrieve

git-svn-id: https://svn.fhem.de/fhem/trunk@4486 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2013-12-28 10:52:17 +00:00
parent 4715458c01
commit d011557153

View File

@ -1750,13 +1750,6 @@ sub CUL_HM_parseCommon(@){#####################################################
elsif($subType eq "01"){ #storePeerList=================================
my $msgValid = 0;
if ($pendType eq "PeerList"){
if($shash->{helper}{prt}{rspWait}{mNo} == hex($mNo)){#next message
$shash->{helper}{prt}{rspWait}{mNo}++;
$shash->{helper}{prt}{rspWait}{mNo} &= 0xff;
$msgValid = 1;
}
}
if ($msgValid){
my $chn = $shash->{helper}{prt}{rspWait}{forChn};
my $chnhash = $modules{CUL_HM}{defptr}{$src.$chn};
$chnhash = $shash if (!$chnhash);
@ -4022,7 +4015,8 @@ sub CUL_HM_respPendTout($) {
delete $pHash->{mmcS};
}
else{#fillback simple command
unshift (@{$hash->{cmdStack}},"++".substr($pHash->{rspWait}{cmd},6));
unshift (@{$hash->{cmdStack}},"++".substr($pHash->{rspWait}{cmd},6))
if (substr($pHash->{rspWait}{cmd},8,2) ne '12');# not wakeup
}
my $wuReSent = $pHash->{rspWait}{reSent};# save 'invalid' count
CUL_HM_respPendRm($hash);#clear