/// The device needs servicing. This is set when the firmware can be upgraded, or when a problem with the firmware is detected.
/// The latest firmware flash tool can be downloaded from http://packages.pulse-eight.net/
/// </summary>
- ServiceDevice = 1
+ ServiceDevice = 0,
+ /// <summary>
+ /// The connection to the adapter was lost, probably because the device got unplugged.
+ /// </summary>
+ ConnectionLost,
+ /// <summary>
+ /// No permission from the OS to access the adapter.
+ /// </summary>
+ PermissionError,
+ /// <summary>
+ /// The device is being used by another program.
+ /// </summary>
+ PortBusy,
+ /// <summary>
+ /// The physical address that is assigned to the adapter is already being used.
+ /// </summary>
+ PhysicalAddressError,
+ /// <summary>
+ /// The TV does not respond to polls.
+ /// </summary>
+ TVPollFailed
};
/// <summary>
/// </summary>
public enum class CecVendorId
{
- Toshiba = 0x000039,
- Samsung = 0x0000F0,
- Denon = 0x0005CD,
- Loewe = 0x000982,
- Onkyo = 0x0009B0,
- Medion = 0x000CB8,
- Akai = 0x0020C7,
- AOC = 0x002467,
- Panasonic = 0x008045,
- Philips = 0x00903E,
- Daewoo = 0x009053,
- Yamaha = 0x00A0DE,
- Grundig = 0x00D0D5,
- Pioneer = 0x00E036,
- LG = 0x00E091,
- Sharp = 0x08001F,
- Sony = 0x080046,
- Broadcom = 0x18C086,
- Vizio = 0x6B746D,
- Benq = 0x8065E9,
- Unknown = 0
+ Toshiba = 0x000039,
+ Samsung = 0x0000F0,
+ Denon = 0x0005CD,
+ Marantz = 0x000678,
+ Loewe = 0x000982,
+ Onkyo = 0x0009B0,
+ Medion = 0x000CB8,
+ Toshiba2 = 0x000CE7,
+ PulseEight = 0x001582,
+ Akai = 0x0020C7,
+ AOC = 0x002467,
+ Panasonic = 0x008045,
+ Philips = 0x00903E,
+ Daewoo = 0x009053,
+ Yamaha = 0x00A0DE,
+ Grundig = 0x00D0D5,
+ Pioneer = 0x00E036,
+ LG = 0x00E091,
+ Sharp = 0x08001F,
+ Sony = 0x080046,
+ Broadcom = 0x18C086,
+ Vizio = 0x6B746D,
+ Benq = 0x8065E9,
+ HarmanKardon = 0x9C645E,
+ Unknown = 0
};
/// <summary>
/// <summary>
/// v2.1.0
/// </summary>
- Version2_1_0 = 0x2100
+ Version2_1_0 = 0x2100,
+ /// <summary>
+ /// v2.1.1
+ /// </summary>
+ Version2_1_1 = 0x2101,
+ /// <summary>
+ /// v2.1.2
+ /// </summary>
+ Version2_1_2 = 0x2102,
+ /// <summary>
+ /// v2.1.3
+ /// </summary>
+ Version2_1_3 = 0x2103,
+ /// <summary>
+ /// The current version
+ /// </summary>
+ CurrentVersion = 0x2103
};
/// <summary>
/// <summary>
/// v2.1.0
/// </summary>
- Version2_1_0 = 0x2100
+ Version2_1_0 = 0x2100,
+ /// <summary>
+ /// v2.1.1
+ /// </summary>
+ Version2_1_1 = 0x2101,
+ /// <summary>
+ /// v2.1.2
+ /// </summary>
+ Version2_1_2 = 0x2102,
+ /// <summary>
+ /// v2.1.3
+ /// </summary>
+ Version2_1_3 = 0x2103,
+ /// <summary>
+ /// The current version
+ /// </summary>
+ CurrentVersion = 0x2103
};
/// <summary>
PhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS;
BaseDevice = (CecLogicalAddress)CEC_DEFAULT_BASE_DEVICE;
HDMIPort = CEC_DEFAULT_HDMI_PORT;
- ClientVersion = CecClientVersion::Version2_1_0;
- ServerVersion = CecServerVersion::Version2_1_0;
+ ClientVersion = CecClientVersion::CurrentVersion;
+ ServerVersion = CecServerVersion::CurrentVersion;
TvVendor = CecVendorId::Unknown;
GetSettingsFromROM = false;
/// The type of adapter that libCEC is connected to.
/// </summary>
property CecAdapterType AdapterType;
+
+ /// <summary>
+ /// True to power on when quitting the screensaver.
+ /// </summary>
+ property bool PowerOnScreensaver;
};
// the callback methods are called by unmanaged code, so we need some delegates for this