سؤال

I'm working on a set-top-box, and was wondering if the HDMI standard includes the possibility of turning off the TV screen through the device that it is connected to? Not just stopping the HDMI output, but completely shutting down the screen.

I've looked through the list of HDMI-CEC commands, but not sure if this feature fits the description of "Deck Control".

هل كانت مفيدة؟

المحلول

it is in the HDMI CEC https://github.com/Pulse-Eight/libcec/blob/master/src/libcec/implementations/CECCommandHandler.cpp#L763

// CEC_USER_CONTROL_CODE_POWER and CEC_USER_CONTROL_CODE_POWER_TOGGLE_FUNCTION operate as a toggle
// assume CEC_USER_CONTROL_CODE_POWER_ON_FUNCTION does not

Disclaimer: Github libcec repository layout is subject to changes, look for the CECCommandHandler.cpp file

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top