@@ -24,54 +24,54 @@ limitations under the License.
24
24
<client init =" false" tick =" false" >true</client >
25
25
<server init =" false" tick =" false" >true</server >
26
26
<description >This cluster provides an interface for controlling the current Channel on a device.</description >
27
- <attribute side =" server" code =" 0x0000" define =" CHANNEL_LIST" type =" ARRAY" entryType =" ChannelInfo " length =" 254" writable =" false" optional =" true" >ChannelList</attribute >
28
- <attribute side =" server" code =" 0x0001" define =" CHANNEL_LINEUP" type =" LineupInfo " default =" 0x0" isNullable =" true" writable =" false" optional =" true" >Lineup</attribute >
29
- <attribute side =" server" code =" 0x0002" define =" CHANNEL_CURRENT_CHANNEL" type =" ChannelInfo " default =" 0x0" isNullable =" true" writable =" false" optional =" true" >CurrentChannel</attribute >
27
+ <attribute side =" server" code =" 0x0000" define =" CHANNEL_LIST" type =" ARRAY" entryType =" ChannelInfoStruct " length =" 254" writable =" false" optional =" true" >ChannelList</attribute >
28
+ <attribute side =" server" code =" 0x0001" define =" CHANNEL_LINEUP" type =" LineupInfoStruct " default =" 0x0" isNullable =" true" writable =" false" optional =" true" >Lineup</attribute >
29
+ <attribute side =" server" code =" 0x0002" define =" CHANNEL_CURRENT_CHANNEL" type =" ChannelInfoStruct " default =" 0x0" isNullable =" true" writable =" false" optional =" true" >CurrentChannel</attribute >
30
30
31
31
<command source =" client" code =" 0x00" name =" ChangeChannel" response =" ChangeChannelResponse" optional =" true" >
32
32
<description >Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. </description >
33
- <arg name =" match " type =" CHAR_STRING" />
33
+ <arg name =" Match " type =" CHAR_STRING" />
34
34
</command >
35
35
36
36
<command source =" client" code =" 0x02" name =" ChangeChannelByNumber" optional =" false" >
37
37
<description >Change the channel on the media plaeyer to the channel with the given Number in the ChannelList attribute.</description >
38
- <arg name =" majorNumber " type =" INT16U" />
39
- <arg name =" minorNumber " type =" INT16U" />
38
+ <arg name =" MajorNumber " type =" INT16U" />
39
+ <arg name =" MinorNumber " type =" INT16U" />
40
40
</command >
41
41
42
42
<command source =" client" code =" 0x03" name =" SkipChannel" optional =" false" >
43
43
<description >This command provides channel up and channel down functionality, but allows channel index jumps of size Count. When the value of the increase or decrease is larger than the number of channels remaining in the given direction, then the behavior SHALL be to return to the beginning (or end) of the channel list and continue. For example, if the current channel is at index 0 and count value of -1 is given, then the current channel should change to the last channel.</description >
44
- <arg name =" count " type =" INT16U" />
44
+ <arg name =" Count " type =" INT16U" />
45
45
</command >
46
46
47
47
<command source =" server" code =" 0x01" name =" ChangeChannelResponse" optional =" true" >
48
48
<description >Upon receipt, this SHALL display the active status of the input list on screen.</description >
49
- <arg name =" status " type =" ChannelStatusEnum" />
50
- <arg name =" data " type =" CHAR_STRING" optional =" true" />
49
+ <arg name =" Status " type =" ChannelStatusEnum" />
50
+ <arg name =" Data " type =" CHAR_STRING" optional =" true" />
51
51
</command >
52
52
53
53
</cluster >
54
54
55
- <struct name =" ChannelInfo " >
55
+ <struct name =" ChannelInfoStruct " >
56
56
<cluster code =" 0x0504" />
57
- <item name =" majorNumber " type =" INT16U" />
58
- <item name =" minorNumber " type =" INT16U" />
59
- <item name =" name " type =" CHAR_STRING" optional =" true" length = " 32 " />
60
- <item name =" callSign " type =" CHAR_STRING" optional =" true" length = " 32 " />
61
- <item name =" affiliateCallSign " type =" CHAR_STRING" optional =" true" length = " 32 " />
57
+ <item name =" MajorNumber " type =" INT16U" />
58
+ <item name =" MinorNumber " type =" INT16U" />
59
+ <item name =" Name " type =" CHAR_STRING" optional =" true" />
60
+ <item name =" CallSign " type =" CHAR_STRING" optional =" true" />
61
+ <item name =" AffiliateCallSign " type =" CHAR_STRING" optional =" true" />
62
62
</struct >
63
63
64
- <struct name =" LineupInfo " >
64
+ <struct name =" LineupInfoStruct " >
65
65
<cluster code =" 0x0504" />
66
- <item name =" operatorName " type =" CHAR_STRING" />
67
- <item name =" lineupName " type =" CHAR_STRING" default =" " optional =" true" />
68
- <item name =" postalCode " type =" CHAR_STRING" default =" " optional =" true" />
69
- <item name =" lineupInfoType " type =" LineupInfoTypeEnum" />
66
+ <item name =" OperatorName " type =" CHAR_STRING" />
67
+ <item name =" LineupName " type =" CHAR_STRING" default =" " optional =" true" />
68
+ <item name =" PostalCode " type =" CHAR_STRING" default =" " optional =" true" />
69
+ <item name =" LineupInfoType " type =" LineupInfoTypeEnum" />
70
70
</struct >
71
71
72
72
<enum name =" LineupInfoTypeEnum" type =" ENUM8" >
73
73
<cluster code =" 0x0504" />
74
- <item name =" Mso " value =" 0x00" />
74
+ <item name =" MSO " value =" 0x00" />
75
75
</enum >
76
76
77
77
<enum name =" ChannelStatusEnum" type =" ENUM8" >
0 commit comments