Skip to content
Newer
Older
100644 660 lines (494 sloc) 28.8 KB
be7923d Added LGPL licence headers
Elias Karakoulakis authored
1 //~ Thrift4OZW - An Apache Thrift wrapper for OpenZWave
2 //~ ----------------------------------------------------
3 //~ Copyright (c) 2011 Elias Karakoulakis <elias.karakoulakis@gmail.com>
4
5 //~ SOFTWARE NOTICE AND LICENSE
6
7 //~ Thrift4OZW is free software: you can redistribute it and/or modify
8 //~ it under the terms of the GNU Lesser General Public License as published
9 //~ by the Free Software Foundation, either version 3 of the License,
10 //~ or (at your option) any later version.
11
12 //~ Thrift4OZW is distributed in the hope that it will be useful,
13 //~ but WITHOUT ANY WARRANTY; without even the implied warranty of
14 //~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 //~ GNU Lesser General Public License for more details.
16
17 //~ You should have received a copy of the GNU Lesser General Public License
18 //~ along with Thrift4OZW. If not, see <http://www.gnu.org/licenses/>.
19
20 //~ for more information on the LGPL, see:
21 //~ http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
8603286 Initial repo set-up
Elias Karakoulakis authored
22
23 namespace * OpenZWave
24 cpp_include "Manager.h"
25 cpp_include "ValueID.h"
26 cpp_include "Options.h"
bde506c [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
Elias Karakoulakis authored
27 cpp_include "Driver.h"
8603286 Initial repo set-up
Elias Karakoulakis authored
28
29 enum RemoteValueGenre {
30 ValueGenre_Basic=0,
31 ValueGenre_User=1,
32 ValueGenre_Config=2,
33 ValueGenre_System=3,
34 ValueGenre_Count=4
35 }
36
37 enum RemoteValueType {
38 ValueType_Bool=0,
39 ValueType_Byte=1,
40 ValueType_Decimal=2,
41 ValueType_Int=3,
42 ValueType_List=4,
43 ValueType_Schedule=5,
44 ValueType_Short=6,
45 ValueType_String=7,
46 ValueType_Button=8,
47 ValueType_Max=8
48 }
49
bde506c [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
Elias Karakoulakis authored
50 enum DriverControllerCommand {
51 ControllerCommand_None = 0, /**< No command. */
52 ControllerCommand_AddController, /**< Add a new controller to the Z-Wave network. The new controller will be a secondary. */
53 ControllerCommand_AddDevice, /**< Add a new device (but not a controller) to the Z-Wave network. */
54 ControllerCommand_CreateNewPrimary, /**< Add a new controller to the Z-Wave network. The new controller will be the primary, and the current primary will become a secondary controller. */
55 ControllerCommand_ReceiveConfiguration, /**< Receive Z-Wave network configuration information from another controller. */
56 ControllerCommand_RemoveController, /**< Remove a controller from the Z-Wave network. */
57 ControllerCommand_RemoveDevice, /**< Remove a new device (but not a controller) from the Z-Wave network. */
58 ControllerCommand_RemoveFailedNode, /**< Move a node to the controller's failed nodes list. This command will only work if the node cannot respond. */
59 ControllerCommand_HasNodeFailed, /**< Check whether a node is in the controller's failed nodes list. */
60 ControllerCommand_ReplaceFailedNode, /**< Replace a non-responding node with another. The node must be in the controller's list of failed nodes for this command to succeed. */
61 ControllerCommand_TransferPrimaryRole, /**< Make a different controller the primary. */
62 ControllerCommand_RequestNetworkUpdate, /**< Request network information from the SUC/SIS. */
63 ControllerCommand_RequestNodeNeighborUpdate, /**< Get a node to rebuild its neighbour list. This method also does ControllerCommand_RequestNodeNeighbors */
64 ControllerCommand_AssignReturnRoute, /**< Assign a network return routes to a device. */
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
65 ControllerCommand_DeleteAllReturnRoutes, /**< Delete all return routes from a device. */
66 ControllerCommand_CreateButton, /** Create a handheld button id. */
67 ControllerCommand_DeleteButton /** Delete a handheld button id. */
bde506c [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
Elias Karakoulakis authored
68 }
69
34c2ebe More OpenZWave compatibility fixes
Elias Karakoulakis authored
70 struct RemoteValueID {
657ede1 Manager::GetDriverStatistics() mapping (why did I forget it?)
Elias Karakoulakis authored
71 1:i32 _homeId,
72 2:byte _nodeId,
73 3:RemoteValueGenre _genre,
74 4:byte _commandClassId,
75 5:byte _instance,
76 6:byte _valueIndex,
77 7:RemoteValueType _type
34c2ebe More OpenZWave compatibility fixes
Elias Karakoulakis authored
78 }
79
657ede1 Manager::GetDriverStatistics() mapping (why did I forget it?)
Elias Karakoulakis authored
80 // Used in GetDriverStatistics
81 struct DriverData {
82 1:i32 s_SOFCnt; // Number of SOF bytes received
83 2:i32 s_ACKWaiting; // Number of unsolcited messages while waiting for an ACK
84 3:i32 s_readAborts; // Number of times read were aborted due to timeouts
85 4:i32 s_badChecksum; // Number of bad checksums
86 5:i32 s_readCnt; // Number of messages successfully read
87 6:i32 s_writeCnt; // Number of messages successfully sent
88 7:i32 s_CANCnt; // Number of CAN bytes received
89 8:i32 s_NAKCnt; // Number of NAK bytes received
90 9:i32 s_ACKCnt; // Number of ACK bytes received
91 10:i32 s_OOFCnt; // Number of bytes out of framing
92 11:i32 s_dropped; // Number of messages dropped & not delivered
93 12:i32 s_retries; // Number of messages retransmitted
94 13:i32 s_controllerReadCnt; // Number of controller messages read
95 14:i32 s_controllerWriteCnt; // Number of controller messages sent
96 }
97
98 struct GetDriverStatisticsReturnStruct {
99 1:DriverData _data;
100 }
8603286 Initial repo set-up
Elias Karakoulakis authored
101
102 struct GetSwitchPointReturnStruct {
6a750a2 more documentation added
Elias Karakoulakis authored
103 1:bool retval;
104 2:byte o_hours;
105 3:byte o_minutes;
106 4:byte o_setback;
8603286 Initial repo set-up
Elias Karakoulakis authored
107 }
108
109 struct Bool_Bool {
110 1:bool retval; // function succeeded?
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
111 2:bool o_value; // value returned
8603286 Initial repo set-up
Elias Karakoulakis authored
112 }
113
114 struct Bool_UInt8 {
115 1:bool retval; // function succeeded?
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
116 2:byte o_value; // value returned
8603286 Initial repo set-up
Elias Karakoulakis authored
117 }
118
119 struct Bool_Float {
120 1:bool retval; // function succeeded?
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
121 2:double o_value; // value returned
8603286 Initial repo set-up
Elias Karakoulakis authored
122 }
123
124 struct Bool_Int {
125 1:bool retval; // function succeeded?
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
126 2:i32 o_value; // value returned
8603286 Initial repo set-up
Elias Karakoulakis authored
127 }
128
129 struct Bool_Int16 {
130 1:bool retval; // function succeeded?
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
131 2:i16 o_value; // value returned
8603286 Initial repo set-up
Elias Karakoulakis authored
132 }
133
134 struct Bool_String {
135 1:bool retval; // function succeeded?
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
136 2:string o_value; // value returned
8603286 Initial repo set-up
Elias Karakoulakis authored
137 }
138
139 struct Bool_ListString {
140 1:bool retval;
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
141 2:list<string> o_value;
8603286 Initial repo set-up
Elias Karakoulakis authored
142 }
143
144 struct UInt32_ListByte {
145 1:i32 retval;
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
146 2:list<byte> _nodeNeighbors;
147 }
148
149 struct Bool_GetNodeClassInformation {
150 1:bool retval;
151 2:string _className;
152 3:byte _classVersion;
153 }
154
155 struct GetAssociationsReturnStruct {
156 1:i32 retval;
157 2:list<byte> o_associations;
158 }
159
160 struct GetAllScenesReturnStruct {
161 1:byte retval;
162 2:list<byte> _sceneIds;
163 }
164
165 struct SceneGetValuesReturnStruct {
166 1: i32 retval;
167 2: list<RemoteValueID> o_value;
8603286 Initial repo set-up
Elias Karakoulakis authored
168 }
169
170 /*-------------------------------------*/
171 service RemoteManager {
172 /*-------------------------------------*/
173
174 //-----------------------------------------------------------------------------
175 // Configuration
176 //-----------------------------------------------------------------------------
177 /** \name Configuration
178 * For saving the Z-Wave network configuration so that the entire network does not need to be
179 * polled every time the application starts.
180 */
181
182 // void WriteConfig( uint32 const _homeId );
183 void WriteConfig(1: i32 _homeId );
184
185 //TODO: Options* GetOptions()const{ return m_options; }
bde506c [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
Elias Karakoulakis authored
186 //list<Options> GetOptions();
8603286 Initial repo set-up
Elias Karakoulakis authored
187
188 //-----------------------------------------------------------------------------
189 // Drivers
190 //-----------------------------------------------------------------------------
191 /** \name Drivers
192 * Methods for adding and removing drivers and obtaining basic controller information.
193 */
194
195 //TODO: bool AddDriver( string const& _controllerPath, Driver::ControllerInterface const& _interface = Driver::ControllerInterface_Serial);
196 //TODO: bool RemoveDriver( string const& _controllerPath );
197
198 //uint8 GetControllerNodeId( uint32 const _homeId );
199 byte GetControllerNodeId( 1:i32 _homeId );
200
201 //bool IsPrimaryController( uint32 const _homeId );
202 bool IsPrimaryController(1: i32 _homeId );
203
204 //bool IsStaticUpdateController( uint32 const _homeId );
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
205 bool IsStaticUpdateController( 1:i32 _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
206
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
207 //bool IsBridgeController( uint32 const _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
208 bool IsBridgeController( 1:i32 _homeId );
209
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
210 //string GetLibraryVersion( uint32 const _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
211 string GetLibraryVersion( 1:i32 _homeId );
212
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
213 //string GetLibraryTypeName( uint32 const _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
214 string GetLibraryTypeName( 1:i32 _homeId );
215
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
216 //int32 GetSendQueueCount( uint32 const _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
217 i32 GetSendQueueCount( 1:i32 _homeId );
028c692 updated API to OpenZWave main trunk rev.454
Elias Karakoulakis authored
218
219 //void LogDriverStatistics( uint32 const _homeId );
220 void LogDriverStatistics( 1:i32 _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
221
222 //-----------------------------------------------------------------------------
223 // Polling Z-Wave devices
224 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
225 //int32 GetPollInterval();
8603286 Initial repo set-up
Elias Karakoulakis authored
226 i32 GetPollInterval();
227
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
228 //void SetPollInterval( int32 _seconds );
8603286 Initial repo set-up
Elias Karakoulakis authored
229 void SetPollInterval( 1:i32 _seconds );
230
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
231 //bool EnablePoll( ValueID const _valueId );
8603286 Initial repo set-up
Elias Karakoulakis authored
232 bool EnablePoll( 1:RemoteValueID _valueId );
233
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
234 //bool DisablePoll( ValueID const _valueId );
8603286 Initial repo set-up
Elias Karakoulakis authored
235 bool DisablePoll( 1:RemoteValueID _valueId );
236
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
237 //bool isPolled( ValueID const _valueId );
8603286 Initial repo set-up
Elias Karakoulakis authored
238 bool isPolled( 1:RemoteValueID _valueId );
239
240 //-----------------------------------------------------------------------------
241 // Node information
242 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
243 //bool RefreshNodeInfo( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
244 bool RefreshNodeInfo( 1:i32 _homeId, 2:byte _nodeId );
245
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
246 //bool RequestNodeState( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
247 bool RequestNodeState( 1:i32 _homeId, 2:byte _nodeId );
248
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
249 //bool RequestNodeDynamic( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
250 bool RequestNodeDynamic( 1:i32 _homeId, 2:byte _nodeId );
251
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
252 //bool IsNodeListeningDevice( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
253 bool IsNodeListeningDevice( 1:i32 _homeId, 2:byte _nodeId );
bede65b updated API to rev.410 of openzwave's main trunk
Elias Karakoulakis authored
254
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
255 //bool IsNodeFrequentListeningDevice( uint32 const _homeId, uint8 const _nodeId );
bede65b updated API to rev.410 of openzwave's main trunk
Elias Karakoulakis authored
256 bool IsNodeFrequentListeningDevice( 1:i32 _homeId, 2:byte _nodeId );
257
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
258 //bool IsNodeBeamingDevice( uint32 const _homeId, uint8 const _nodeId );
bede65b updated API to rev.410 of openzwave's main trunk
Elias Karakoulakis authored
259 bool IsNodeBeamingDevice( 1:i32 _homeId, 2:byte _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
260
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
261 //bool IsNodeRoutingDevice( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
262 bool IsNodeRoutingDevice( 1:i32 _homeId, 2:byte _nodeId );
263
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
264 //bool IsNodeSecurityDevice( uint32 const _homeId, uint8 const _nodeId );
bede65b updated API to rev.410 of openzwave's main trunk
Elias Karakoulakis authored
265 bool IsNodeSecurityDevice( 1:i32 _homeId, 2:byte _nodeId );
266
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
267 //uint32 GetNodeMaxBaudRate( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
268 i32 GetNodeMaxBaudRate( 1:i32 _homeId, 2:byte _nodeId );
269
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
270 //uint8 GetNodeVersion( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
271 byte GetNodeVersion( 1:i32 _homeId, 2:byte _nodeId );
272
028c692 updated API to OpenZWave main trunk rev.454
Elias Karakoulakis authored
273 //uint8 GetNodeSecurity( uint32 const _homeId, uint8 const _nodeId );
274 byte GetNodeSecurity( 1:i32 _homeId, 2:byte _nodeId );
275
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
276 //uint8 GetNodeBasic( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
277 byte GetNodeBasic( 1:i32 _homeId, 2:byte _nodeId );
278
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
279 //uint8 GetNodeGeneric( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
280 byte GetNodeGeneric( 1:i32 _homeId, 2:byte _nodeId );
281
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
282 //uint8 GetNodeSpecific( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
283 byte GetNodeSpecific( 1:i32 _homeId, 2:byte _nodeId );
284
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
285 //string GetNodeType( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
286 string GetNodeType( 1:i32 _homeId, 2:byte _nodeId );
287
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
288 //uint32 GetNodeNeighbors( uint32 const _homeId, uint8 const _nodeId, uint8** _nodeNeighbors );
8603286 Initial repo set-up
Elias Karakoulakis authored
289 UInt32_ListByte GetNodeNeighbors( 1:i32 _homeId, 2:byte _nodeId);
290
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
291 //string GetNodeManufacturerName( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
292 string GetNodeManufacturerName( 1:i32 _homeId, 2:byte _nodeId );
293
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
294 //string GetNodeProductName( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
295 string GetNodeProductName( 1:i32 _homeId, 2:byte _nodeId );
296
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
297 //string GetNodeName( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
298 string GetNodeName( 1:i32 _homeId, 2:byte _nodeId );
299
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
300 //string GetNodeLocation( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
301 string GetNodeLocation( 1:i32 _homeId, 2:byte _nodeId );
302
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
303 //string GetNodeManufacturerId( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
304 string GetNodeManufacturerId( 1:i32 _homeId, 2:byte _nodeId );
305
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
306 //string GetNodeProductType( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
307 string GetNodeProductType( 1:i32 _homeId, 2:byte _nodeId );
308
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
309 //string GetNodeProductId( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
310 string GetNodeProductId( 1:i32 _homeId, 2:byte _nodeId );
311
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
312 //void SetNodeManufacturerName( uint32 const _homeId, uint8 const _nodeId, string const& _manufacturerName );
8603286 Initial repo set-up
Elias Karakoulakis authored
313 void SetNodeManufacturerName( 1:i32 _homeId, 2:byte _nodeId, 3:string _manufacturerName );
314
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
315 //void SetNodeProductName( uint32 const _homeId, uint8 const _nodeId, string const& _productName );
8603286 Initial repo set-up
Elias Karakoulakis authored
316 void SetNodeProductName( 1:i32 _homeId, 2:byte _nodeId, 3:string _productName );
317
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
318 //void SetNodeName( uint32 const _homeId, uint8 const _nodeId, string const& _nodeName );
8603286 Initial repo set-up
Elias Karakoulakis authored
319 void SetNodeName( 1:i32 _homeId, 2:byte _nodeId, 3:string _nodeName );
320
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
321 //void SetNodeLocation( uint32 const _homeId, uint8 const _nodeId, string const& _location );
8603286 Initial repo set-up
Elias Karakoulakis authored
322 void SetNodeLocation( 1:i32 _homeId, 2:byte _nodeId, 3:string _location );
323
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
324 //void SetNodeOn( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
325 void SetNodeOn( 1:i32 _homeId, 2:byte _nodeId );
326
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
327 //void SetNodeOff( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
328 void SetNodeOff( 1:i32 _homeId, 2:byte _nodeId );
329
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
330 //void SetNodeLevel( uint32 const _homeId, uint8 const _nodeId, uint8 const _level );
8603286 Initial repo set-up
Elias Karakoulakis authored
331 void SetNodeLevel( 1:i32 _homeId, 2:byte _nodeId, 3:byte _level );
332
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
333 //bool IsNodeInfoReceived( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
334 bool IsNodeInfoReceived( 1:i32 _homeId, 2:byte _nodeId );
335
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
336 //bool GetNodeClassInformation( uint32 const _homeId, uint8 const _nodeId, uint8 const _commandClassId, string *_className = NULL, uint8 *_classVersion = NULL);
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
337 Bool_GetNodeClassInformation GetNodeClassInformation( 1:i32 _homeId, 2:byte _nodeId, 3:byte _commandClassId);
8603286 Initial repo set-up
Elias Karakoulakis authored
338
339 //-----------------------------------------------------------------------------
340 // Values
341 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
342 //string GetValueLabel( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
343 string GetValueLabel( 1:RemoteValueID _id );
344
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
345 //void SetValueLabel( ValueID const& _id, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
346 void SetValueLabel( 1:RemoteValueID _id, 2:string _value );
347
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
348 //string GetValueUnits( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
349 string GetValueUnits( 1:RemoteValueID _id );
350
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
351 //void SetValueUnits( ValueID const& _id, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
352 void SetValueUnits( 1:RemoteValueID _id, 2:string _value );
353
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
354 //string GetValueHelp( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
355 string GetValueHelp( 1:RemoteValueID _id );
356
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
357 //void SetValueHelp( ValueID const& _id, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
358 void SetValueHelp( 1:RemoteValueID _id, 2:string _value );
359
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
360 //int32 GetValueMin( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
361 i32 GetValueMin( 1:RemoteValueID _id );
362
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
363 //int32 GetValueMax( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
364 i32 GetValueMax( 1:RemoteValueID _id );
365
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
366 //bool IsValueReadOnly( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
367 bool IsValueReadOnly( 1:RemoteValueID _id );
368
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
369 //bool IsValueWriteOnly( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
370 bool IsValueWriteOnly( 1:RemoteValueID _id );
371
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
372 //bool IsValueSet( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
373 bool IsValueSet( 1:RemoteValueID _id );
374
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
375 //bool GetValueAsBool( ValueID const& _id, bool* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
376 Bool_Bool GetValueAsBool( 1:RemoteValueID _id);
377
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
378 //bool GetValueAsByte( ValueID const& _id, uint8* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
379 Bool_UInt8 GetValueAsByte( 1:RemoteValueID _id );
380
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
381 //bool GetValueAsFloat( ValueID const& _id, float* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
382 Bool_Float GetValueAsFloat( 1:RemoteValueID _id );
383
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
384 //bool GetValueAsInt( ValueID const& _id, int32* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
385 Bool_Int GetValueAsInt( 1:RemoteValueID _id );
386
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
387 //bool GetValueAsShort( ValueID const& _id, int16* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
388 Bool_Int16 GetValueAsShort( 1:RemoteValueID _id );
389
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
390 //bool GetValueAsString( ValueID const& _id, string* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
391 Bool_String GetValueAsString( 1:RemoteValueID _id );
392
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
393 //bool GetValueListSelection( ValueID const& _id, string* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
394 // ekarak: thrift does not support function overloading
395 Bool_String GetValueListSelection_String( 1:RemoteValueID _id );
396
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
397 //bool GetValueListSelection( ValueID const& _id, int32* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
398 // ekarak: overloading by name mangling
399 Bool_Int GetValueListSelection_Int32( 1:RemoteValueID _id );
400
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
401 //bool GetValueListItems( ValueID const& _id, vector<string>* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
402 // ekarak: client must ensure value's type is ValueType_List
403 Bool_ListString GetValueListItems( 1:RemoteValueID _id );
404
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
405 //bool GetValueFloatPrecision( ValueID const& _id, uint8* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
406 Bool_UInt8 GetValueFloatPrecision( 1:RemoteValueID _id );
407
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
408 //bool SetValue( ValueID const& _id, bool const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
409 // ekarak: client must ensure value's type is ValueType_Bool
410 bool SetValue_Bool( 1:RemoteValueID _id, 2:bool _value );
411
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
412 //bool SetValue( ValueID const& _id, uint8 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
413 // ekarak: client must ensure value's type
414 bool SetValue_UInt8( 1:RemoteValueID _id, 2:byte _value );
415
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
416 //bool SetValue( ValueID const& _id, float const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
417 // ekarak: client must ensure value's type
418 bool SetValue_Float( 1:RemoteValueID _id, 2:double _value );
419
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
420 //bool SetValue( ValueID const& _id, int32 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
421 // ekarak: client must ensure value's type
422 bool SetValue_Int32( 1:RemoteValueID _id, 2:i32 _value );
423
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
424 //bool SetValue( ValueID const& _id, int16 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
425 // ekarak: client must ensure value's type
426 bool SetValue_Int16( 1:RemoteValueID _id, 2:i16 _value );
427
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
428 //bool SetValue( ValueID const& _id, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
429 // ekarak: client must ensure value's type
430 bool SetValue_String( 1:RemoteValueID _id, 2:string _value );
431
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
432 //bool SetValueListSelection( ValueID const& _id, string const& _selectedItem );
8603286 Initial repo set-up
Elias Karakoulakis authored
433 bool SetValueListSelection( 1:RemoteValueID _id, 2:string _selectedItem );
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
434
435 //bool RefreshValue( ValueID const& _id);
436 bool RefreshValue( 1:RemoteValueID _id);
8603286 Initial repo set-up
Elias Karakoulakis authored
437
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
438 //bool PressButton( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
439 bool PressButton( 1:RemoteValueID _id );
440
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
441 //bool ReleaseButton( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
442 bool ReleaseButton( 1:RemoteValueID _id );
443
444
445 //-----------------------------------------------------------------------------
446 // Climate Control Schedules
447 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
448 //uint8 GetNumSwitchPoints( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
449 byte GetNumSwitchPoints( 1:RemoteValueID _id );
450
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
451 //bool SetSwitchPoint( ValueID const& _id, uint8 const _hours, uint8 const _minutes, int8 const _setback );
8603286 Initial repo set-up
Elias Karakoulakis authored
452 bool SetSwitchPoint( 1:RemoteValueID _id, 2:byte _hours, 3:byte _minutes, 4:byte _setback );
453
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
454 //bool RemoveSwitchPoint( ValueID const& _id, uint8 const _hours, uint8 const _minutes );
8603286 Initial repo set-up
Elias Karakoulakis authored
455 bool RemoveSwitchPoint( 1:RemoteValueID _id, 2:byte _hours, 3:byte _minutes );
456
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
457 //void ClearSwitchPoints( ValueID const& _id );
8603286 Initial repo set-up
Elias Karakoulakis authored
458 void ClearSwitchPoints( 1:RemoteValueID _id );
459
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
460 //bool GetSwitchPoint( ValueID const& _id, uint8 const _idx, uint8* o_hours, uint8* o_minutes, int8* o_setback );
8603286 Initial repo set-up
Elias Karakoulakis authored
461 GetSwitchPointReturnStruct GetSwitchPoint( 1:RemoteValueID _id, 2:byte _idx);
462
463
464 //-----------------------------------------------------------------------------
465 // SwitchAll
466 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
467 void SwitchAllOn( 1:i32 _homeId );
468 void SwitchAllOff( 1:i32 _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
469
470
471 //-----------------------------------------------------------------------------
472 // Configuration Parameters
473 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
474 //bool SetConfigParam( uint32 const _homeId, uint8 const _nodeId, uint8 const _param, int32 _value, uint8 const _size = 2 );
8603286 Initial repo set-up
Elias Karakoulakis authored
475 bool SetConfigParam( 1:i32 _homeId, 2:byte _nodeId, 3:byte _param, 4:i32 _value, 5:byte _size = 2 );
476
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
477 //void RequestConfigParam( uint32 const _homeId, uint8 const _nodeId, uint8 const _param );
8603286 Initial repo set-up
Elias Karakoulakis authored
478 void RequestConfigParam( 1:i32 _homeId, 2:byte _nodeId, 3:byte _param );
479
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
480 //void RequestAllConfigParams( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
481 void RequestAllConfigParams( 1:i32 _homeId, 2:byte _nodeId );
482
483 //-----------------------------------------------------------------------------
484 // Groups (wrappers for the Node methods)
485 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
486 //uint8 GetNumGroups( uint32 const _homeId, uint8 const _nodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
487 byte GetNumGroups( 1:i32 _homeId, 2:byte _nodeId );
488
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
489 //uint32 GetAssociations( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx, uint8** o_associations );
8603286 Initial repo set-up
Elias Karakoulakis authored
490 // ekarak: return list of associations instead
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
491 GetAssociationsReturnStruct GetAssociations( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx);
8603286 Initial repo set-up
Elias Karakoulakis authored
492
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
493 //uint8 GetMaxAssociations( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx );
8603286 Initial repo set-up
Elias Karakoulakis authored
494 byte GetMaxAssociations( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx );
495
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
496 //string GetGroupLabel( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx );
8603286 Initial repo set-up
Elias Karakoulakis authored
497 string GetGroupLabel( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx );
498
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
499 //void AddAssociation( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx, uint8 const _targetNodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
500 void AddAssociation( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx, 4:byte _targetNodeId );
501
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
502 //void RemoveAssociation( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx, uint8 const _targetNodeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
503 void RemoveAssociation( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx, 4:byte _targetNodeId );
504
505 //-----------------------------------------------------------------------------
506 // Controller commands
507 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
508 //void ResetController( uint32 const _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
509 void ResetController( 1:i32 _homeId );
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
510
511 //void SoftReset( uint32 const _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
512 void SoftReset( 1:i32 _homeId );
513
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
514 //bool BeginControllerCommand( uint32 const _homeId, Driver::ControllerCommand _command, Driver::pfnControllerCallback_t _callback = NULL, void* _context = NULL, bool _highPower = false, uint8 _nodeId = 0xff, uint8 _arg = 0 );
515 bool BeginControllerCommand( 1:i32 _homeId, 2:DriverControllerCommand _command, 3:bool _highPower, 4:byte _nodeId, 5:byte _arg );
516
517 //bool CancelControllerCommand( uint32 const _homeId );
518 bool CancelControllerCommand( 1:i32 _homeId );
8603286 Initial repo set-up
Elias Karakoulakis authored
519
520 //-----------------------------------------------------------------------------
521 // Scene commands
522 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
523 //uint8 GetNumScenes( );
8603286 Initial repo set-up
Elias Karakoulakis authored
524 byte GetNumScenes( );
525
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
526 //uint8 GetAllScenes( uint8** _sceneIds );
527 // ekarak: Notice change of return argument
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
528 GetAllScenesReturnStruct GetAllScenes( );
8603286 Initial repo set-up
Elias Karakoulakis authored
529
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
530 //uint8 CreateScene();
8603286 Initial repo set-up
Elias Karakoulakis authored
531 byte CreateScene();
532
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
533 //bool RemoveScene( uint8 const _sceneId );
8603286 Initial repo set-up
Elias Karakoulakis authored
534 bool RemoveScene( 1:byte _sceneId );
535
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
536 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, bool const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
537 // ekarak: overloaded function renamed
538 bool AddSceneValue_Bool( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:bool _value );
539
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
540 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, uint8 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
541 // ekarak: overloaded function renamed
542 bool AddSceneValue_Uint8( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:byte _value );
543
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
544 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, float const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
545 // ekarak: overloaded function renamed
546 bool AddSceneValue_Float( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:double _value );
547
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
548 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
549 // ekarak: overloaded function renamed
550 bool AddSceneValue_Int32( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
551
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
552 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, int16 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
553 // ekarak: overloaded function renamed
554 bool AddSceneValue_Int16( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:i16 _value );
555
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
556 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
557 // ekarak: overloaded function renamed
558 bool AddSceneValue_String( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
559
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
560 //bool AddSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
561 // ekarak: overloaded function renamed
562 bool AddSceneValueListSelection_String( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
563
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
564 //bool AddSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
565 // ekarak: overloaded function renamed
566 bool AddSceneValueListSelection_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
567
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
568 //bool RemoveSceneValue( uint8 const _sceneId, ValueID const& _valueId );
8603286 Initial repo set-up
Elias Karakoulakis authored
569 bool RemoveSceneValue( 1:byte _sceneId, 2:RemoteValueID _valueId );
570
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
571 //int SceneGetValues( uint8 const _sceneId, vector<ValueID>* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
572 // ekarak: Notice change of return argument
4951e1d create_server.rb: refactored code
Elias Karakoulakis authored
573 SceneGetValuesReturnStruct SceneGetValues( 1:byte _sceneId );
8603286 Initial repo set-up
Elias Karakoulakis authored
574
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
575 //bool SceneGetValueAsBool( uint8 const _sceneId, ValueID const& _valueId, bool* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
576 // ekarak: Notice change of return argument
577 Bool_Bool SceneGetValueAsBool( 1:byte _sceneId, 2:RemoteValueID _valueId );
578
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
579 //bool SceneGetValueAsByte( uint8 const _sceneId, ValueID const& _valueId, uint8* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
580 // ekarak: Notice change of return argument
581 Bool_UInt8 SceneGetValueAsByte( 1:byte _sceneId, 2:RemoteValueID _valueId );
582
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
583 //bool SceneGetValueAsFloat( uint8 const _sceneId, ValueID const& _valueId, float* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
584 // ekarak: Notice change of return argument
585 Bool_Float SceneGetValueAsFloat( 1:byte _sceneId, 2:RemoteValueID _valueId );
586
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
587 //bool SceneGetValueAsInt( uint8 const _sceneId, ValueID const& _valueId, int32* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
588 // ekarak: Notice change of return argument
589 Bool_Int SceneGetValueAsInt( 1:byte _sceneId, 2:RemoteValueID _valueId );
590
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
591 //bool SceneGetValueAsShort( uint8 const _sceneId, ValueID const& _valueId, int16* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
592 // ekarak: Notice change of return argument
593 Bool_Int16 SceneGetValueAsShort( 1:byte _sceneId, 2:RemoteValueID _valueId );
594
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
595 //bool SceneGetValueAsString( uint8 const _sceneId, ValueID const& _valueId, string* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
596 // ekarak: Notice change of return argument
597 Bool_String SceneGetValueAsString( 1:byte _sceneId, 2:RemoteValueID _valueId);
598
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
599 //bool SceneGetValueListSelection( uint8 const _sceneId, ValueID const& _valueId, string* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
600 // ekarak: Notice change of naming & return argument
601 Bool_String SceneGetValueListSelection_String( 1:byte _sceneId, 2:RemoteValueID _valueId );
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
602
603 //bool SceneGetValueListSelection( uint8 const _sceneId, ValueID const& _valueId, int32* o_value );
8603286 Initial repo set-up
Elias Karakoulakis authored
604 // ekarak: Notice change of naming & return argument
605 Bool_Int SceneGetValueListSelection_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId );
606
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
607 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, bool const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
608 // ekarak: Overloaded function renamed
609 bool SetSceneValue_Bool( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:bool _value );
610
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
611 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, uint8 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
612 // ekarak: Overloaded function renamed
613 bool SetSceneValue_Uint8( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:byte _value );
614
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
615 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, float const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
616 // ekarak: Overloaded function renamed
617 bool SetSceneValue_Float( 1:byte _sceneId, 2:RemoteValueID _valueId, 3: double _value );
618
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
619 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
620 // ekarak: Overloaded function renamed
621 bool SetSceneValue_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
622
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
623 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, int16 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
624 // ekarak: Overloaded function renamed
625 bool SetSceneValue_Int16( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i16 _value );
626
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
627 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
628 // ekarak: Overloaded function renamed
629 bool SetSceneValue_String( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
630
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
631 //bool SetSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
632 // ekarak: Overloaded function renamed
633 bool SetSceneValueListSelection_String( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
634
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
635 //bool SetSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
636 // ekarak: Overloaded function renamed
637 bool SetSceneValueListSelection_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
638
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
639 //string GetSceneLabel( uint8 const _sceneId );
8603286 Initial repo set-up
Elias Karakoulakis authored
640 string GetSceneLabel( 1:byte _sceneId );
641
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
642 //void SetSceneLabel( uint8 const _sceneId, string const& _value );
8603286 Initial repo set-up
Elias Karakoulakis authored
643 void SetSceneLabel( 1:byte _sceneId, 2:string _value );
644
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
645 //bool SceneExists( uint8 const _sceneId );
8603286 Initial repo set-up
Elias Karakoulakis authored
646 bool SceneExists( 1:byte _sceneId );
647
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
648 //bool ActivateScene( uint8 const _sceneId );
8603286 Initial repo set-up
Elias Karakoulakis authored
649 bool ActivateScene( 1:byte _sceneId );
650
657ede1 Manager::GetDriverStatistics() mapping (why did I forget it?)
Elias Karakoulakis authored
651 //-----------------------------------------------------------------------------
652 // Statistics interface
653 //-----------------------------------------------------------------------------
1d57943 updated OpenZWave API to r437
Elias Karakoulakis authored
654 //void GetDriverStatistics( uint32 const _homeId, Driver::DriverData* _data );
657ede1 Manager::GetDriverStatistics() mapping (why did I forget it?)
Elias Karakoulakis authored
655 GetDriverStatisticsReturnStruct GetDriverStatistics( 1:i32 _homeId );
656
205116a SendAllValues(), auto patch management
Elias Karakoulakis authored
657
658 // ----------------------- ekarak: and a little extra candy server for missing functionality from OZW
659 void SendAllValues();
8603286 Initial repo set-up
Elias Karakoulakis authored
660 }
Something went wrong with that request. Please try again.