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

Function SetPhysicalAddress

src/dotnetlib/LibCecSharp.cpp:209–212  ·  view source on GitHub ↗

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. The CEC adapter's new physical address. True when the physical address was set successfully, false otherwise.

Source from the content-addressed store, hash-verified

207 /// <param name="physicalAddress">The CEC adapter's new physical address.</param>
208 /// <returns>True when the physical address was set successfully, false otherwise.</returns>
209 bool SetPhysicalAddress(uint16_t physicalAddress)
210 {
211 return !!m_libCec && m_libCec->SetPhysicalAddress(physicalAddress);
212 }
213
214 /// <summary>
215 /// Power on the given CEC capable devices. If CECDEVICE_BROADCAST is used, then wakeDevice in libcec_configuration will be used.

Callers 5

OnRegisterMethod · 0.85
SetHDMIPortMethod · 0.85
SetPhysicalAddressMethod · 0.85
SetConfigurationMethod · 0.85

Calls 1

SetPhysicalAddressMethod · 0.45

Tested by

no test coverage detected