From 5f5f2ac98b85748d64974557ebedf2daa2ba5b00 Mon Sep 17 00:00:00 2001 From: www-data Date: Sat, 4 Nov 2023 21:45:09 +0000 Subject: [PATCH] Removed logs. --- core/class/AbeilleCmdProcess.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/class/AbeilleCmdProcess.class.php b/core/class/AbeilleCmdProcess.class.php index 70534341a0..f7549dacfa 100755 --- a/core/class/AbeilleCmdProcess.class.php +++ b/core/class/AbeilleCmdProcess.class.php @@ -5124,9 +5124,9 @@ function processCmd($Command) { $fcf = "11"; // Frame Control Field $sqn = $this->genSqn(); $cmdId = "00"; // TY_DATA_REQUEST, 0x00, The gateway sends data to the Zigbee module. - cmdLog2('debug', $addr, ' BEN: Command : '.json_encode($Command) ); + // cmdLog2('debug', $addr, ' BEN: Command : '.json_encode($Command) ); $dp = tuyaCmd2Dp($Command); - cmdLog2('debug', $addr, ' BEN: dp : '.json_encode($dp) ); + // cmdLog2('debug', $addr, ' BEN: dp : '.json_encode($dp) ); if ($dp === false) { return; } @@ -5142,7 +5142,7 @@ function processCmd($Command) { $dpId = $dp['id']; $dpLen = sprintf("%04X", $dpLen); - cmdLog2('debug', $addr, ' BEN: '.$Command['cmd'].': tSqn='.$tSqn.', dpId='.$dpId.', dpType='.$dpType.', dpData='.$dpData); + // cmdLog2('debug', $addr, ' BEN: '.$Command['cmd'].': tSqn='.$tSqn.', dpId='.$dpId.', dpType='.$dpType.', dpData='.$dpData); $data2 = $fcf.$sqn.$cmdId.$tSqn.$dpId.$dpType.$dpLen.$dpData; } $dataLen2 = sprintf("%02X", strlen($data2) / 2);