+public enum class CecVendorId
+{
+ Samsung = 0x00F0,
+ LG = 0xE091,
+ Panasonic = 0x8045,
+ Pioneer = 0xE036,
+ Onkyo = 0x09B0,
+ Yamaha = 0xA0DE,
+ Philips = 0x903E,
+ Unknown = 0
+};
+
+public enum class CecAudioStatus
+{
+ MuteStatusMask = 0x80,
+ VolumeStatusMask = 0x7F,
+ VolumeMin = 0x00,
+ VolumeMax = 0x64,
+ VolumeStatusUnknown = 0x7F
+};
+
+public enum class CecOpcode
+{
+ ActiveSource = 0x82,
+ ImageViewOn = 0x04,
+ TextViewOn = 0x0D,
+ InactiveSource = 0x9D,
+ RequestActiveSource = 0x85,
+ RoutingChange = 0x80,
+ RoutingInformation = 0x81,
+ SetStreamPath = 0x86,
+ Standby = 0x36,
+ RecordOff = 0x0B,
+ RecordOn = 0x09,
+ RecordStatus = 0x0A,
+ RecordTvScreen = 0x0F,
+ ClearAnalogueTimer = 0x33,
+ ClearDigitalTimer = 0x99,
+ ClearExternalTimer = 0xA1,
+ SetAnalogueTimer = 0x34,
+ SetDigitalTimer = 0x97,
+ SetExternalTimer = 0xA2,
+ SetTimerProgramTitle = 0x67,
+ TimerClearedStatus = 0x43,
+ TimerStatus = 0x35,
+ CecVersion = 0x9E,
+ GetCecVersion = 0x9F,
+ GivePhysicalAddress = 0x83,
+ GetMenuLanguage = 0x91,
+ ReportPhysicalAddress = 0x84,
+ SetMenuLanguage = 0x32,
+ DeckControl = 0x42,
+ DeckStatus = 0x1B,
+ GiveDeckStatus = 0x1A,
+ Play = 0x41,
+ GiveTunerDeviceStatus = 0x08,
+ SelectAnalogueService = 0x92,
+ SelectDigtalService = 0x93,
+ TunerDeviceStatus = 0x07,
+ TunerStepDecrement = 0x06,
+ TunerStepIncrement = 0x05,
+ DeviceVendorId = 0x87,
+ GiveDeviceVendorId = 0x8C,
+ VendorCommand = 0x89,
+ VendorCommandWithId = 0xA0,
+ VendorRemoteButtonDown = 0x8A,
+ VendorRemoteButtonUp = 0x8B,
+ SetOsdString = 0x64,
+ GiveOsdName = 0x46,
+ SetOsdName = 0x47,
+ MenuRequest = 0x8D,
+ MenuStatus = 0x8E,
+ UserControlPressed = 0x44,
+ UserControlRelease = 0x45,
+ GiveDevicePowerStatus = 0x8F,
+ ReportPowerStatus = 0x90,
+ FeatureAbort = 0x00,
+ Abort = 0xFF,
+ GiveAudioStatus = 0x71,
+ GiveSystemAudioMode = 0x7D,
+ ReportAudioStatus = 0x7A,
+ SetSystemAudioMode = 0x72,
+ SystemAudioModeRequest = 0x70,
+ SystemAudioModeStatus = 0x7E,
+ SetAudioRate = 0x9A,
+ /* when this opcode is set, no opcode will be sent to the device. this is one of the reserved numbers */
+ None = 0xFD
+};
+
+public enum class CecSystemAudioStatus
+{
+ Off = 0,
+ On = 1
+};
+