pupnp (libupnp) snapshot from SourceForge: git clone git://pupnp.git.sourceforge...
[igd2-for-linux:pandonghui1211s-igd2-for-linux.git] / pupnp_branch-1.6.x / upnp / sample / web / tvcontrolSCPD.xml
1 <?xml version="1.0"?>
2 <scpd xmlns="urn:schemas-upnp-org:service-1-0">
3
4   <specVersion>
5     <major>1</major>
6     <minor>0</minor>
7   </specVersion>
8
9
10   <actionList>
11
12     <action>
13       <name>PowerOn</name>
14       <argumentList>
15          <argument>
16            <retval />
17            <name>Power</name>
18            <relatedStateVariable>Power</relatedStateVariable>
19            <direction>out</direction>
20           </argument>
21       </argumentList>
22     </action>
23
24     <action>
25       <name>PowerOff</name>    
26       <argumentList>
27          <argument>
28            <retval />
29            <name>Power</name>
30            <relatedStateVariable>Power</relatedStateVariable>
31            <direction>out</direction>
32           </argument>
33       </argumentList>
34     </action>
35
36     <action>
37       <name>SetChannel</name>
38       <argumentList>
39
40         <argument>
41         <name>Channel</name>
42           <relatedStateVariable>Channel</relatedStateVariable>
43           <direction>in</direction>
44         </argument>
45
46         <argument>
47          <name>NewChannel</name>
48          <retval />
49          <relatedStateVariable>Channel</relatedStateVariable>
50          <direction>out</direction>
51         </argument>
52
53       </argumentList>
54     </action>
55
56     <action>
57       <name>IncreaseChannel</name>     
58        <argumentList>
59         <argument>
60          <name>Channel</name>
61          <retval />
62          <relatedStateVariable>Channel</relatedStateVariable>
63          <direction>out</direction>
64         </argument>
65        </argumentList>
66     </action>
67
68     <action>
69       <name>DecreaseChannel</name> 
70       <argumentList>
71         <argument>
72          <name>Channel</name>
73          <retval />
74          <relatedStateVariable>Channel</relatedStateVariable>
75          <direction>out</direction>
76         </argument>
77        </argumentList>
78     </action>
79
80     <action>
81       <name>SetVolume</name>
82       <argumentList>
83         <argument>
84         <name>Volume</name>
85           <relatedStateVariable>Volume</relatedStateVariable>
86           <direction>in</direction>
87         </argument>
88
89         <argument>
90          <name>NewVolume</name>
91          <retval />
92          <relatedStateVariable>Volume</relatedStateVariable>
93          <direction>out</direction>
94          </argument>
95       </argumentList>
96     </action>
97
98     <action>
99       <name>IncreaseVolume</name>       
100       <argumentList>
101
102         <argument>
103          <name>Volume</name>
104          <retval />
105          <relatedStateVariable>Volume</relatedStateVariable>
106          <direction>out</direction>
107          </argument>
108        </argumentList>
109
110     </action>
111
112     <action>
113       <name>DecreaseVolume</name>       
114       <argumentList>
115
116         <argument>
117          <name>Volume</name>
118          <retval />
119          <relatedStateVariable>Volume</relatedStateVariable>
120          <direction>out</direction>
121          </argument>
122       </argumentList>
123     </action>
124
125   </actionList>
126
127   <serviceStateTable>
128
129     <stateVariable sendEvents="yes">
130       <name>Power</name>
131       <dataType>Boolean</dataType>
132       <defaultValue>0</defaultValue>
133     </stateVariable>
134
135     <stateVariable sendEvents="yes">
136       <name>Channel</name>
137       <dataType>i4</dataType>
138         <allowedValueRange>
139           <minimum>1</minimum>
140           <maximum>100</maximum>
141           <step>1</step>
142         </allowedValueRange>
143       <defaultValue>1</defaultValue>
144     </stateVariable>
145
146     <stateVariable sendEvents="yes">
147       <name>Volume</name>
148       <dataType>i4</dataType>
149         <allowedValueRange>
150           <minimum>0</minimum>
151           <maximum>10</maximum>
152           <step>1</step>
153         </allowedValueRange>
154       <defaultValue>5</defaultValue>
155     </stateVariable>
156
157   </serviceStateTable>
158
159 </scpd>
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175