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:
@@ -1750,13 +1750,6 @@ sub CUL_HM_parseCommon(@){#####################################################
|
|||||||
elsif($subType eq "01"){ #storePeerList=================================
|
elsif($subType eq "01"){ #storePeerList=================================
|
||||||
my $msgValid = 0;
|
my $msgValid = 0;
|
||||||
if ($pendType eq "PeerList"){
|
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 $chn = $shash->{helper}{prt}{rspWait}{forChn};
|
||||||
my $chnhash = $modules{CUL_HM}{defptr}{$src.$chn};
|
my $chnhash = $modules{CUL_HM}{defptr}{$src.$chn};
|
||||||
$chnhash = $shash if (!$chnhash);
|
$chnhash = $shash if (!$chnhash);
|
||||||
@@ -4022,7 +4015,8 @@ sub CUL_HM_respPendTout($) {
|
|||||||
delete $pHash->{mmcS};
|
delete $pHash->{mmcS};
|
||||||
}
|
}
|
||||||
else{#fillback simple command
|
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
|
my $wuReSent = $pHash->{rspWait}{reSent};# save 'invalid' count
|
||||||
CUL_HM_respPendRm($hash);#clear
|
CUL_HM_respPendRm($hash);#clear
|
||||||
|
|||||||
Reference in New Issue
Block a user