Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Mar 17, 2024
1 parent 7c9e370 commit 0f02767
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/class/AbeilleCmdProcess.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2953,7 +2953,7 @@ function processCmd($Command) {

// Zigbee command: Bind to device or bind to group.
// Bind, thru command 0030 => generates 'Bind_req' / cluster 0021
// Mandatory params: addr, clustId, attrType, attrId
// Mandatory params: addr, ep, clustId, destAddr
// Optional params: destEp required if destAddr = device ieee addr
else if ($cmdName == 'bind0030') {

Expand Down
4 changes: 2 additions & 2 deletions core/php/AbeilleLQI.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function msgFromParser($eqIdx) {
)
); */

logMessage("", " msg=".json_encode($msg));
logMessage("", " msg=".json_encode($msg, JSON_UNESCAPED_SLASHES));
$tableEntries = $msg->tableEntries; // Total entries on interrogated eq
$tableListCount = $msg->tableListCount; // Number of neighbours listed in msg
$startIdx = $msg->startIdx;
Expand Down Expand Up @@ -362,7 +362,7 @@ function msgToCmd($dest, $addr, $index) {
$msg = array();
$msg['topic'] = "Cmd".$dest."/".$addr."/getNeighborTable";
$msg['payload'] = "startIndex=".$index;
$msgJson = json_encode($msg);
$msgJson = json_encode($msg, JSON_UNESCAPED_SLASHES);
logMessage("", "msgToCmd: ".$msgJson);

global $queueLQIToCmd;
Expand Down

0 comments on commit 0f02767

Please sign in to comment.