Skip to content

Commit

Permalink
Philips FC00 support update
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Nov 19, 2024
1 parent 4242aff commit 41bc19a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/php/AbeilleParser-Philips.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ function philipsDecodeCmdFC00($net, $addr, $ep, $clustId, $cmdId, $pl) {
);

$button = substr($pl, 0, 2);
// $unknown1 = substr($pl, 2, 3);
$type = substr($pl, 5, 2);
// $unknown2 = substr($pl, 7, 2);
$time = substr($pl, 9, 2);
// $unknown1 = substr($pl, 2, 6); // 24bits
$type = substr($pl, 8, 2);
// $unknown2 = substr($pl, 10, 2);
$time = substr($pl, 12, 2);
$typeTxt = isset($buttonTypeTxt[$type]) ? $buttonTypeTxt[$type] : "?";
parserLog2("debug", $addr, " Philips private: Cluster=$clustId, Cmd=$cmdId, Button=$button, Type=$type/$typeTxt, Time=$time");

Expand Down

0 comments on commit 41bc19a

Please sign in to comment.