SVN-Transfer corrections

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1090 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2011-11-05 08:59:29 +00:00
parent 728c6b30d4
commit 20f3d22b22
10 changed files with 125 additions and 122 deletions

View File

@@ -101,7 +101,7 @@ TCM_Write($$$)
} else { # 310 / ESP3
if(!$fn) { # Radio Paket from the EnOcean Module
if(!$fn) { # "Old-Type" Radio Packet
$msg =~ m/^6B05(..)000000(........)(..)$/;
$fn = "00070701";
$msg = "F6$1$2${3}03FFFFFFFFFF00";
@@ -232,6 +232,7 @@ TCM_Read($)
} else { # TCM310 / ESP3
if($data =~ m/^55(....)(..)(..)(..)/) {
my ($l1, $l2, $t, $crc) = (hex($1), hex($2), $3, $4);
my $tlen = 2*(7+$l1+$l2);
if(length($data) < $tlen) {
$hash->{PARTIAL} = $data;