log what data we received exactly when we receive an response from the pi's firmware...
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 31 Oct 2012 10:08:59 +0000 (11:08 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 31 Oct 2012 10:08:59 +0000 (11:08 +0100)
src/lib/adapter/RPi/RPiCECAdapterMessageQueue.cpp

index 656a25d0a2d54243983a7b813007481cc4ea18ba..625b2e9e5ab4102b5906baadd43fe5f0c9c807c6 100644 (file)
@@ -121,7 +121,7 @@ void CRPiCECAdapterMessageQueue::MessageReceived(cec_opcode opcode, cec_logical_
     bHandled = it->second->MessageReceived(opcode, initiator, destination, response);
 
   if (!bHandled)
-    LIB_CEC->AddLog(CEC_LOG_WARNING, "unhandled response received");
+    LIB_CEC->AddLog(CEC_LOG_WARNING, "unhandled response received: opcode=%x initiator=%x destination=%x response=%x", (int)opcode, (int)initiator, (int)destination, response);
 }
 
 bool CRPiCECAdapterMessageQueue::Write(const cec_command &command, bool bIsReply)