respond to vendor command 89:10:01:03 for panasonic and send the same response as...
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 6 Dec 2013 10:04:42 +0000 (11:04 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 6 Dec 2013 11:11:42 +0000 (12:11 +0100)
src/lib/implementations/VLCommandHandler.cpp

index 5f014f0d6e709bc6cc49a78b77fe156bb7effff4..329eab2f930cff5b547417bd75057ecd526bde7c 100644 (file)
@@ -249,9 +249,10 @@ int CVLCommandHandler::HandleVendorCommand(const cec_command &command)
   if (command.parameters.size == 3 &&
       command.parameters[0] == 0x10 &&
       command.parameters[1] == 0x01 &&
-      command.parameters[2] == 0x05 &&
       m_processor->IsHandledByLibCEC(command.destination))
   {
+    // XXX i've seen 0x05 and 0x03 as third param. these probably indicate different types of TVs/capabilities
+    // when we feature abort this, then the TV will try the same thing with a vendor command with id
     SendVendorCommandCapabilities(m_processor->GetLogicalAddress(), command.initiator);
     return COMMAND_HANDLED;
   }