typedef enum cec_vendor_id
{
- CEC_VENDOR_SAMSUNG = 240,
+ CEC_VENDOR_SAMSUNG = 0x00F0,
+ CEC_VENDOR_LG = 0xE091,
CEC_VENDOR_UNKNOWN = 0
} vendor_id;
m_vendorClasses[(uint8_t)device] = data.size >= 4 ? data[3] : 0;
CStdString strLog;
- strLog.Format("device %d: vendor = %s (%lld) class = %2x", (uint8_t)device, CECVendorIdToString(m_vendorIds[(uint8_t)device]), iVendorId, m_vendorClasses[(uint8_t)device]);
+ strLog.Format("device %d: vendor = %s (%04x) class = %2x", (uint8_t)device, CECVendorIdToString(m_vendorIds[(uint8_t)device]), iVendorId, m_vendorClasses[(uint8_t)device]);
m_controller->AddLog(CEC_LOG_DEBUG, strLog.c_str());
}
{
case CEC_VENDOR_SAMSUNG:
return "Samsung";
+ case CEC_VENDOR_LG:
+ return "LG";
default:
return "Unknown";
}