mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
00_ZWDongle.pm: set nucheck timeout to 40s (Forum #111794)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22138 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d2a603b75b
commit
89f759c38c
@ -652,7 +652,7 @@ ZWDongle_NUCheck($$$$)
|
||||
return 0 if($msg !~ m/^0048/ || $hash->{calledFromNuCheck});
|
||||
push @nuStack, "$fn/$msg";
|
||||
if(@nuStack == 1) {
|
||||
InternalTimer(gettimeofday+20, sub { # ZME timeout is 9-11s
|
||||
InternalTimer(gettimeofday+40, sub { # ZME timeout is 9-11s, #111794
|
||||
ZWDongle_NUCheck($hash, undef, "0048xx23", 0); # simulate fail
|
||||
}, \@nuStack, 0);
|
||||
}
|
||||
@ -668,7 +668,7 @@ ZWDongle_NUCheck($$$$)
|
||||
$hash->{calledFromNuCheck} = 1;
|
||||
ZWDongle_Write($hash, $a[0], $a[1]);
|
||||
delete($hash->{calledFromNuCheck});
|
||||
InternalTimer(gettimeofday+20, sub {
|
||||
InternalTimer(gettimeofday+40, sub {
|
||||
ZWDongle_NUCheck($hash, undef, "0048xx23", 0); # simulate fail
|
||||
}, \@nuStack, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user