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

Method HandleDeviceVendorId

src/libcec/implementations/CECCommandHandler.cpp:285–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285int CCECCommandHandler::HandleDeviceVendorId(const cec_command &command)
286{
287 SetVendorId(command);
288
289 if (command.initiator == CECDEVICE_TV)
290 {
291 CCECBusDevice* primary = m_processor->GetPrimaryDevice();
292 if (primary)
293 primary->TransmitVendorID(CECDEVICE_BROADCAST, false, false);
294 }
295
296 return COMMAND_HANDLED;
297}
298
299int CCECCommandHandler::HandleFeatureAbort(const cec_command &command)
300{

Callers

nothing calls this directly

Calls 2

GetPrimaryDeviceMethod · 0.45
TransmitVendorIDMethod · 0.45

Tested by

no test coverage detected