mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
00_HMUARTLGW.pm: don't hide key-id in log
git-svn-id: https://svn.fhem.de/fhem/trunk@12868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f8f70044dc
commit
709fcecd68
@ -2029,9 +2029,9 @@ sub HMUARTLGW_send($$$;$)
|
||||
$log .= $m;
|
||||
}
|
||||
$v = HMUARTLGW_getVerbLvl($hash, $4, $5, 5);
|
||||
} elsif ($dst == HMUARTLGW_DST_APP && uc($msg) =~ m/^(0[3BF]).*[^0].*$/) {
|
||||
} elsif ($dst == HMUARTLGW_DST_APP && uc($msg) =~ m/^(0[3BF]).*[^0].*(..)$/) {
|
||||
#Key, do not log
|
||||
$log = sprintf("%02X", $dst). " ${1}" . ("XX"x17);
|
||||
$log = sprintf("%02X", $dst). " ${1}" . ("XX"x16) . $2;
|
||||
$v = HMUARTLGW_getVerbLvl($hash, undef, undef, 5);
|
||||
} else {
|
||||
$log = sprintf("%02X", $dst). " ".uc($msg);
|
||||
|
Loading…
Reference in New Issue
Block a user