mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
FBAHA: max msg length set to 20k
git-svn-id: https://svn.fhem.de/fhem/trunk@4183 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bf389d31a3
commit
42772a615c
@ -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 "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user