beep
This commit is contained in:
parent
4bebe16598
commit
16813fa8c9
|
@ -95,7 +95,7 @@ namespace ratgdo {
|
|||
byte1 = (data >> 16) & 0xff;
|
||||
byte2 = (data >> 24) & 0xff;
|
||||
|
||||
ESP_LOGV(TAG, "command: cmd=%04x nibble=%02x byte1=%02x byte2=%02x fixed=%010"PRIx64" data=%08"PRIx32, cmd, nibble, byte1, byte2, fixed, data);
|
||||
ESP_LOGV(TAG, "command: cmd=%04x nibble=%02x byte1=%02x byte2=%02x fixed=%010" PRIx64 " data=%08" PRIx32, cmd, nibble, byte1, byte2, fixed, data);
|
||||
|
||||
if (cmd == STATUS_CMD) {
|
||||
this->doorState = nibble;
|
||||
|
@ -126,7 +126,7 @@ namespace ratgdo {
|
|||
ESP_LOGV(TAG, "Motion: %d (toggle)", this->motionState);
|
||||
} else {
|
||||
// 0x84 -- is it used?
|
||||
//ESP_LOGV(TAG, "Unknown command: cmd=%04x nibble=%02x byte1=%02x byte2=%02x fixed=%010"PRIx64" data=%08"PRIx32, cmd, nibble, byte1, byte2, fixed, data);
|
||||
// ESP_LOGV(TAG, "Unknown command: cmd=%04x nibble=%02x byte1=%02x byte2=%02x fixed=%010"PRIx64" data=%08"PRIx32, cmd, nibble, byte1, byte2, fixed, data);
|
||||
}
|
||||
return cmd;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue