2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 16:19:11 +00:00

00_ZWDongle: a command is acked if ZW_SEND_DATA ans answer or request is received (Forum #37418)

git-svn-id: https://svn.fhem.de/fhem/trunk@8917 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-07-08 13:17:28 +00:00
parent 38564381c6
commit 0a1a318be2
2 changed files with 3 additions and 3 deletions

View File

@ -694,8 +694,8 @@ ZWDongle_Read($@)
DevIo_SimpleWrite($hash, "06", 1); # Send ACK
# SEND_DATA answer: remove message from SendStack. TODO: check callbackId
if($msg =~ m/^0013..(..)/ ){
my $m = $1;
if($msg =~ m/^0(0|1)13..(..)/ ){
my ($r, $m) = ($1, $2);
my %msg = ('00'=>'OK', '01'=>'NO_ACK', '02'=>'FAIL',
'03'=>'NOT_IDLE', '04'=>'NOROUTE' );
$m = $msg{$m} ? $msg{$m} : "UNKNOWN $m";

View File

@ -1508,7 +1508,7 @@ ZWave_secureInit(@)
return undef; # No Event/Reading
} elsif($status == 3) {
IOWrite($hash, "secKey ACK", "");
#IOWrite($hash, "secKey ACK", "");
ZWave_Set($hash, $name, "secNonce");
return undef; # No Event/Reading