feat: add debug logging for unknown commands to decipher more

This commit is contained in:
J. Nick Koston 2023-06-17 11:08:01 -05:00
parent a3a6b0ae0e
commit 2a9126f7ac
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}