FBAHA: max msg length set to 20k

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4183 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-11-08 14:35:57 +00:00
parent c86f4c7f01
commit 3769d30a25

View File

@ -263,7 +263,7 @@ FBAHA_Read($@)
my $msg;
while(length($data) >= 16) {
my $len = hex(substr($data, 4,4))*2;
if($len < 16 || $len > 10240) { # Out of Sync
if($len < 16 || $len > 20480) { # Out of Sync
Log3 $name, 1, "FBAHA: resetting buffer as we are out of sync ($len)";
$hash->{PARTIAL} = "";
return "";