mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
CUL_MAX: show RSSI
git-svn-id: https://svn.fhem.de/fhem/trunk@3750 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f097fdcd2b
commit
115451f9c7
@ -248,6 +248,12 @@ CUL_MAX_Parse($$)
|
||||
Log $ll5, "CUL_MAX_Parse: len $len, msgcnt $msgcnt, msgflag $msgFlag, msgTypeRaw $msgType, src $src, dst $dst, groupid $groupid, payload $payload";
|
||||
my $isToMe = ($dst eq $shash->{addr}) ? 1 : 0; # $isToMe is true if that packet was directed at us
|
||||
|
||||
#Set RSSI on MAX device
|
||||
if(exists($modules{MAX}{defptr}{$src}) && exists($hash->{RSSI})) {
|
||||
Log 5, "CUL_MAX_Parse: rssi: $hash->{RSSI}";
|
||||
$modules{MAX}{defptr}{$src}{RSSI} = $hash->{RSSI};
|
||||
}
|
||||
|
||||
if(exists($msgId2Cmd{$msgTypeRaw})) {
|
||||
|
||||
if($msgType eq "Ack") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user