Skip to content

Commit

Permalink
Internal dbg msg
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Dec 31, 2023
1 parent 03d8d61 commit 23a5223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/class/AbeilleCmdQueue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,8 @@ function processAcksQueue() {
// Removing last sent cmd
if (isset($removeCmd) && $removeCmd) {

cmdLog('debug', " Removing cmd from queue (Pri/Idx=${sentPri}/${sentIdx})");
$count = count($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri]);
cmdLog('debug', " Removing cmd from queue (Pri/Idx/Count=${sentPri}/${sentIdx}/${count})");
// array_shift($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri]);
cmdLog('debug', ' BEFORE: count='.count($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri]).', '.json_encode($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri]));
array_splice($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri], $sentIdx, 1);
Expand Down
2 changes: 1 addition & 1 deletion core/php/AbeilleParser-Xiaomi.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
// }

function xiaomiDecodeFunction($addr, $valueHex, $value, $m, $map, &$attrReportN = null) {
parserLog2('debug', $addr, " BEN valueHex: ".json_encode($valueHex). ", value: ".json_encode($value)." mgs: ".$m );
// parserLog2('debug', $addr, " BEN valueHex: ".json_encode($valueHex). ", value: ".json_encode($value)." mgs: ".$m );

$value2 = $value;
$mapTxt = ' ==> ';
Expand Down

0 comments on commit 23a5223

Please sign in to comment.