-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvcomponent_hdmicec_profile_template.yaml
125 lines (117 loc) · 3.53 KB
/
vcomponent_hdmicec_profile_template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
hdmicec:
#Device logical types - Hints for emulator to auto allocate logical address
device_type: &device_type
- TV
- PlaybackDevice
- AudioSystem
- RecordingDevice
- Tuner
- Reserved
- Unregistered
#Port ID - Integer [1 to 15]
port_id: &port_id
!!int
#Enum specifying port type
#All references shown in the configuration templates are intended to provide possible values for the given type.
#In practice, the below field would be defined as,
# port_type: in
port_type: &port_type
- in
- out
#Vendor Info - Name and IEEE RAC vendor code
vendor: &vendor
- TOSHIBA
- SAMSUNG
- DENON
- MARANTZ
- LOEWE
- ONKYO
- MEDION
- TOSHIBA2
- APPLE
- HARMAN_KARDON2
- GOOGLE
- AKAI
- AOC
- PANASONIC
- PHILIPS
- DAEWOO
- YAMAHA
- GRUNDIG
- PIONEER
- LG
- SHARP
- SONY
- BROADCOM
- SHARP2
- VIZIO
- BENQ
- HARMAN_KARDON
- TEST_VENDOR
- UNKNOWN
#HDMI CEC Version supported by device
cec_version: &cec_version
- 0 #Unknown
- 1 #1.2
- 2 #1.2A
- 3 #1.3
- 4 #1.3A
- 5 #1.4
- 6 #2.0
#Power Status of the device
power_status: &power_status
- on
- off
- standby
# Emulated Device's Information
emulated_device: !!str # e.g, Sky Glass
number_ports: !!int
ports: #Variable sized array of Ports belonging to Emulated device
- id: *port_id
#All references shown in the configuration templates are intended to provide possible values for the given type.
#In practice, the below field would be defined as,
# port_type: in
type: *port_type # Type of Port from &port_type
cec_supported: !!bool
arc_supported: !!bool
- id: *port_id
type: *port_type
cec_supported: !!bool
arc_supported: !!bool
number_devices: !!int # Total number of devices in the network
device_map: # Map of devices starting from the Root Device (A TV) and multiple levels of children
- name: !!str #Unique name identifying the device.
type: *device_type #Type of device from device_type list. The top parent must be a root device (TV)
version: *cec_version
active_source: !!bool
vendor_info: *vendor
pwr_status: *power_status
port_id: !!int #Port id of the parent to which this device is connected. For root device, this will be 0.
number_children: !!int #Number of children connected to this device
children: #Array of devices that are connected to this parent
- name: !!str
type: *device_type
version: *cec_version
active_source: !!bool
vendor_info: *vendor
pwr_status: *power_status
port_id: !!int #Port id of the parent to which this device is connected
number_children: !!int # 0, If no devices are connected. This parameter must be present for all devices
- name: !!str
type: *device_type
version: *cec_version
active_source: !!bool
vendor_info: *vendor
pwr_status: *power_status
port_id: !!int #Port id of the parent to which this device is connected
number_children: !!int # 0, If no devices are connected.
children:
- name: !!str
type: *device_type
version: *cec_version
active_source: !!bool
vendor_info: *vendor
pwr_status: *power_status
port_id: !!int #Port id of the parent to which this device is connected
number_children: !!int # 0, If no devices are connected.