From 2a9126f7acf74bafd886d596bb090cc93db3e048 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 17 Jun 2023 11:08:01 -0500 Subject: [PATCH] feat: add debug logging for unknown commands to decipher more --- components/ratgdo/ratgdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 8ecc3d7..26c5433 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -124,7 +124,7 @@ namespace ratgdo { ESP_LOGV(TAG, "Motion: %d (toggle)", this->motionState); } else { // 0x84 -- is it used? - ESP_LOGV(TAG, "Unknown command: %04x", cmd); + ESP_LOGV(TAG, "Unknown command: cmd=%04x nibble=%02d byte1=%02d byte2=%02d", cmd, nibble, byte1, byte2); } return cmd; }