#include "env.h"
#include "RHCommandHandler.h"
#include "devices/CECBusDevice.h"
#include "CECProcessor.h"
#include "LibCEC.h"
#include "CECClient.h"
using namespace CEC;
#define LIB_CEC m_busDevice->GetProcessor()->GetLib()
#define ToString(p) LIB_CEC->ToString(p)
CRHCommandHandler::CRHCommandHandler(CCECBusDevice *busDevice,
int32_t iTransmitTimeout ,
int32_t iTransmitWait ,
int8_t iTransmitRetries ,
int64_t iActiveSourcePending ) :
CCECCommandHandler(busDevice, iTransmitTimeout, iTransmitWait, iTransmitRetries, iActiveSourcePending)
{
m_vendorId = CEC_VENDOR_ONKYO;
}
int CRHCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &command)
{
if (command.parameters[0] == 0x00 && command.parameters[1] == 0x09 && command.parameters[2] == 0xb0)
{
}
return CEC_ABORT_REASON_REFUSED;
}