mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
HMUARTLGW: revert changes
git-svn-id: https://svn.fhem.de/fhem/trunk@11906 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ca3a2a476f
commit
7c4fc0e7c3
@ -1226,7 +1226,7 @@ sub HMUARTLGW_Parse($$$$)
|
|||||||
my ($type, $status, $info, $rssi, $mNr, $flags, $cmd, $src, $dst, $payload) = ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
|
my ($type, $status, $info, $rssi, $mNr, $flags, $cmd, $src, $dst, $payload) = ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);
|
||||||
|
|
||||||
Log3($hash, HMUARTLGW_getVerbLvl($hash, $src, $dst, 5),
|
Log3($hash, HMUARTLGW_getVerbLvl($hash, $src, $dst, 5),
|
||||||
"HMUARTLGW ${name} recv: 01 ${type} ${status} ${info} ${rssi} msg:${mNr} ${flags}${cmd} ${src} ${dst} ${payload}");
|
"HMUARTLGW ${name} recv: 01 ${type} ${status} ${info} ${rssi} msg: ${mNr} ${flags} ${cmd} ${src} ${dst} ${payload}");
|
||||||
|
|
||||||
return if (!$hash->{Helper}{Initialized});
|
return if (!$hash->{Helper}{Initialized});
|
||||||
|
|
||||||
@ -1922,7 +1922,7 @@ sub HMUARTLGW_send($$$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($m =~ m/^(..)(..)(..)(......)(......)(.*)$/) {
|
if ($m =~ m/^(..)(..)(..)(......)(......)(.*)$/) {
|
||||||
$log .= " msg:${1} ${2}${3} ${4} ${5} ${6}";
|
$log .= "msg: ${1} ${2} ${3} ${4} ${5} ${6}";
|
||||||
} else {
|
} else {
|
||||||
$log .= $m;
|
$log .= $m;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user