2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

00_ZWDongle.pm: PRIORITY_ROUTE patch from krikan, Forum #61359

git-svn-id: https://svn.fhem.de/fhem/trunk@15478 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-11-22 19:40:43 +00:00
parent 421b1d2826
commit 16bb7afd4d

View File

@ -547,7 +547,10 @@ ZWDongle_Get($@)
} elsif($cmd eq "routeFor") { ############################
my $homeId = $hash->{homeId};
my @list;
for(my $off=6; $off<16; $off+=2) {
my $e = hex(substr($msg, 6, 2));
push @list, ($e==1 ? "last": ($e==2 ? "next":"application"))
if($e !=0);
for(my $off=8; $off<16; $off+=2) {
my $dec = hex(substr($msg, $off, 2));
my $hex = sprintf("%02x", $dec);
my $h = ($hex eq $hash->{nodeIdHex} ?