Skip to content

Commit

Permalink
Xiaomi debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Dec 5, 2023
1 parent 833d4d9 commit 2c52310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/AbeilleParser.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3579,7 +3579,7 @@ function decode8002($dest, $payload, $lqi) {
// xiaomiReportAttributeOld($dest, $srcAddr, $clustId, $plOld, $attrReportN);
// // $pl = ''; // Full payload treated
// }
if (($manufCode == '115F') || ($clustId == 'FCC0')) { // Xiaomi specific: displaying debug infos
if (($manufCode == '115F') || ($clustId == 'FCC0') || ($clustId == 'FF01')) { // Xiaomi specific: displaying debug infos
$attrType = $attr['dataType'];
if (($attrType == "41") || ($attrType == "42")) // Even if unhandled, displaying debug infos
xiaomiDecodeTagsDebug($dest, $srcAddr, $clustId, $attrId, $attr['valueHex']);
Expand Down

0 comments on commit 2c52310

Please sign in to comment.