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

Function SetLogicalAddress

src/dotnetlib/LibCecSharp.cpp:199–202  ·  view source on GitHub ↗

Change the logical address on the CEC bus of the CEC adapter. libCEC automatically assigns a logical address, and this method is only available for debugging purposes. The CEC adapter's new logical address. True when the logical address was set successfully, false otherwise.

Source from the content-addressed store, hash-verified

197 /// <param name="logicalAddress">The CEC adapter's new logical address.</param>
198 /// <returns>True when the logical address was set successfully, false otherwise.</returns>
199 bool SetLogicalAddress(CecLogicalAddress logicalAddress)
200 {
201 return !!m_libCec && m_libCec->SetLogicalAddress((cec_logical_address) logicalAddress);
202 }
203
204 /// <summary>
205 /// Change the physical address (HDMI port) of the CEC adapter. libCEC will try to autodetect the physical address when connecting. If it did, it's set in libcec_configuration.

Callers

nothing calls this directly

Calls 1

SetLogicalAddressMethod · 0.45

Tested by

no test coverage detected