MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / Process

Method Process

src/libcec/implementations/AQCommandHandler.cpp:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void* CAQPowerStatusCheck::Process(void)
84{
85 // sleep for 2 seconds and query the power status
86 Sleep(2000);
87 if (m_handler->m_busDevice->GetProcessor()->GetDevice(m_iDestination)->GetPowerStatus(m_iInitiator, true) == CEC_POWER_STATUS_STANDBY)
88 m_handler->m_busDevice->GetProcessor()->GetLib()->AddLog(CEC_LOG_WARNING, "AQUOS LINK 'auto power on' is disabled, which prevents the TV from being powered on. To correct this, press the menu button on your remote, go to 'link operation' -> 'AQUOS LINK setup' -> 'Auto power on' and set it to 'On'");
89 return NULL;
90}

Callers

nothing calls this directly

Calls 5

GetPowerStatusMethod · 0.80
GetProcessorMethod · 0.80
GetLibMethod · 0.80
GetDeviceMethod · 0.45
AddLogMethod · 0.45

Tested by

no test coverage detected