mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
# RSSI: radio signal strength with correct negative sign
git-svn-id: https://svn.fhem.de/fhem/trunk@3745 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ffca52b256
commit
72662bf1b7
@ -316,10 +316,10 @@ TCM_Read($)
|
||||
PacketType => $packetType,
|
||||
SubTelNum => hex($1),
|
||||
DestinationID => $2,
|
||||
RSSI => hex($3),
|
||||
RSSI => -hex($3),
|
||||
SecurityLevel => hex($4),
|
||||
);
|
||||
$hash->{RSSI} = hex($3);
|
||||
$hash->{RSSI} = -hex($3);
|
||||
|
||||
if ($blockSenderID eq "own" && (hex $id) >= $baseID && (hex $id) <= $lastID) {
|
||||
Log $ll5, "TCM: $name Telegram from $id blocked.";
|
||||
@ -760,9 +760,10 @@ TCM_Undef($$)
|
||||
<ul>
|
||||
The TCM module serves an USB or TCP/IP connected TCM120 or TCM310 EnOcean
|
||||
Transceiver module. These are mostly packaged together with a serial to USB
|
||||
chip and an antenna, e.g. the BSC BOR contains the TCM120, the EUL from
|
||||
busware contains a TCM310. See also the datasheet available from <a
|
||||
href="http://www.enocean.com">www.enocean.com</a>.
|
||||
chip and an antenna, e.g. the BSC BOR contains the TCM120, the <a
|
||||
href="http://www.enocean.com/de/enocean_module/usb-300-oem/">USB 300</a> from
|
||||
EnOcean and the EUL from busware contains a TCM310. See also the datasheet
|
||||
available from <a href="http://www.enocean.com">www.enocean.com</a>.
|
||||
<br>
|
||||
As the TCM120 and the TCM310 speak completely different protocols, this
|
||||
module implements 2 drivers in one. It is the "physical" part for the <a
|
||||
@ -784,7 +785,7 @@ TCM_Undef($$)
|
||||
<code>device</code> can take the same parameters (@baudrate, @directio,
|
||||
TCP/IP, none) like the <a href="#CULdefine">CUL</a>, but you probably have
|
||||
to specify the baudrate: the TCM120 should be opened with 9600 Baud, the
|
||||
TCM310 with 57600 baud.
|
||||
TCM310 with 57600 baud.<br>
|
||||
Example:
|
||||
<ul><code>
|
||||
define BscBor TCM 120 /dev/ttyACM0@9600<br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user