Skip to content

Commit

Permalink
Removed logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
www-data committed Nov 4, 2023
1 parent 6be51bd commit 5f5f2ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/class/AbeilleCmdProcess.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
Expand Down

0 comments on commit 5f5f2ac

Please sign in to comment.