Skip to content
This repository
Newer
Older
100644 666 lines (498 sloc) 29.819 kb
be7923d1 » Elias Karakoulakis
2011-12-27 Added LGPL licence headers
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
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
22
23 namespace * OpenZWave
24 cpp_include "Manager.h"
25 cpp_include "ValueID.h"
26 cpp_include "Options.h"
bde506cc » Elias Karakoulakis
2012-02-03 [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
27 cpp_include "Driver.h"
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
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
bde506cc » Elias Karakoulakis
2012-02-03 [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
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. */
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
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. */
bde506cc » Elias Karakoulakis
2012-02-03 [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
68 }
69
34c2ebe3 » Elias Karakoulakis
2011-12-12 More OpenZWave compatibility fixes
70 struct RemoteValueID {
657ede11 » Elias Karakoulakis
2012-02-11 Manager::GetDriverStatistics() mapping (why did I forget it?)
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
34c2ebe3 » Elias Karakoulakis
2011-12-12 More OpenZWave compatibility fixes
78 }
79
657ede11 » Elias Karakoulakis
2012-02-11 Manager::GetDriverStatistics() mapping (why did I forget it?)
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 }
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
101
102 struct GetSwitchPointReturnStruct {
6a750a29 » Elias Karakoulakis
2011-12-12 more documentation added
103 1:bool retval;
104 2:byte o_hours;
105 3:byte o_minutes;
106 4:byte o_setback;
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
107 }
108
109 struct Bool_Bool {
110 1:bool retval; // function succeeded?
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
111 2:bool o_value; // value returned
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
112 }
113
114 struct Bool_UInt8 {
115 1:bool retval; // function succeeded?
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
116 2:byte o_value; // value returned
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
117 }
118
119 struct Bool_Float {
120 1:bool retval; // function succeeded?
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
121 2:double o_value; // value returned
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
122 }
123
124 struct Bool_Int {
125 1:bool retval; // function succeeded?
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
126 2:i32 o_value; // value returned
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
127 }
128
129 struct Bool_Int16 {
130 1:bool retval; // function succeeded?
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
131 2:i16 o_value; // value returned
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
132 }
133
134 struct Bool_String {
135 1:bool retval; // function succeeded?
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
136 2:string o_value; // value returned
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
137 }
138
139 struct Bool_ListString {
140 1:bool retval;
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
141 2:list<string> o_value;
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
142 }
143
144 struct UInt32_ListByte {
145 1:i32 retval;
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
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;
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
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; }
bde506cc » Elias Karakoulakis
2012-02-03 [Begin/Cancel]ControllerCommand implementation, callback skeleton mec…
186 //list<Options> GetOptions();
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
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 );
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
205 bool IsStaticUpdateController( 1:i32 _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
206
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
207 //bool IsBridgeController( uint32 const _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
208 bool IsBridgeController( 1:i32 _homeId );
209
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
210 //string GetLibraryVersion( uint32 const _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
211 string GetLibraryVersion( 1:i32 _homeId );
212
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
213 //string GetLibraryTypeName( uint32 const _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
214 string GetLibraryTypeName( 1:i32 _homeId );
215
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
216 //int32 GetSendQueueCount( uint32 const _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
217 i32 GetSendQueueCount( 1:i32 _homeId );
028c692e » Elias Karakoulakis
2012-02-24 updated API to OpenZWave main trunk rev.454
218
219 //void LogDriverStatistics( uint32 const _homeId );
220 void LogDriverStatistics( 1:i32 _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
221
222 //-----------------------------------------------------------------------------
223 // Polling Z-Wave devices
224 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
225 //int32 GetPollInterval();
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
226 i32 GetPollInterval();
227
3e7c24a3 » Elias Karakoulakis
2012-02-25 updated API to OpenZWave main trunk rev.466
228 //void SetPollInterval( int32 _milliseconds, bool _bIntervalBetweenPolls );
229 void SetPollInterval( 1:i32 _milliseconds, 2:bool _bIntervalBetweenPolls );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
230
3e7c24a3 » Elias Karakoulakis
2012-02-25 updated API to OpenZWave main trunk rev.466
231 //bool EnablePoll( ValueID const _valueId, uint8 const _intensity = 1 );
232 bool EnablePoll( 1:RemoteValueID _valueId, 2:byte _intensity = 1 );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
233
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
234 //bool DisablePoll( ValueID const _valueId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
235 bool DisablePoll( 1:RemoteValueID _valueId );
236
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
237 //bool isPolled( ValueID const _valueId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
238 bool isPolled( 1:RemoteValueID _valueId );
239
3e7c24a3 » Elias Karakoulakis
2012-02-25 updated API to OpenZWave main trunk rev.466
240 //void SetPollIntensity( ValueID const _valueId, uint8 const _intensity );
241 void SetPollIntensity( 1:RemoteValueID _valueId, 2:byte _intensity );
242
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
243 //-----------------------------------------------------------------------------
244 // Node information
245 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
246 //bool RefreshNodeInfo( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
247 bool RefreshNodeInfo( 1:i32 _homeId, 2:byte _nodeId );
248
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
249 //bool RequestNodeState( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
250 bool RequestNodeState( 1:i32 _homeId, 2:byte _nodeId );
251
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
252 //bool RequestNodeDynamic( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
253 bool RequestNodeDynamic( 1:i32 _homeId, 2:byte _nodeId );
254
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
255 //bool IsNodeListeningDevice( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
256 bool IsNodeListeningDevice( 1:i32 _homeId, 2:byte _nodeId );
bede65bc » Elias Karakoulakis
2012-02-06 updated API to rev.410 of openzwave's main trunk
257
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
258 //bool IsNodeFrequentListeningDevice( uint32 const _homeId, uint8 const _nodeId );
bede65bc » Elias Karakoulakis
2012-02-06 updated API to rev.410 of openzwave's main trunk
259 bool IsNodeFrequentListeningDevice( 1:i32 _homeId, 2:byte _nodeId );
260
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
261 //bool IsNodeBeamingDevice( uint32 const _homeId, uint8 const _nodeId );
bede65bc » Elias Karakoulakis
2012-02-06 updated API to rev.410 of openzwave's main trunk
262 bool IsNodeBeamingDevice( 1:i32 _homeId, 2:byte _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
263
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
264 //bool IsNodeRoutingDevice( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
265 bool IsNodeRoutingDevice( 1:i32 _homeId, 2:byte _nodeId );
266
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
267 //bool IsNodeSecurityDevice( uint32 const _homeId, uint8 const _nodeId );
bede65bc » Elias Karakoulakis
2012-02-06 updated API to rev.410 of openzwave's main trunk
268 bool IsNodeSecurityDevice( 1:i32 _homeId, 2:byte _nodeId );
269
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
270 //uint32 GetNodeMaxBaudRate( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
271 i32 GetNodeMaxBaudRate( 1:i32 _homeId, 2:byte _nodeId );
272
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
273 //uint8 GetNodeVersion( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
274 byte GetNodeVersion( 1:i32 _homeId, 2:byte _nodeId );
275
028c692e » Elias Karakoulakis
2012-02-24 updated API to OpenZWave main trunk rev.454
276 //uint8 GetNodeSecurity( uint32 const _homeId, uint8 const _nodeId );
277 byte GetNodeSecurity( 1:i32 _homeId, 2:byte _nodeId );
278
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
279 //uint8 GetNodeBasic( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
280 byte GetNodeBasic( 1:i32 _homeId, 2:byte _nodeId );
281
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
282 //uint8 GetNodeGeneric( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
283 byte GetNodeGeneric( 1:i32 _homeId, 2:byte _nodeId );
284
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
285 //uint8 GetNodeSpecific( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
286 byte GetNodeSpecific( 1:i32 _homeId, 2:byte _nodeId );
287
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
288 //string GetNodeType( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
289 string GetNodeType( 1:i32 _homeId, 2:byte _nodeId );
290
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
291 //uint32 GetNodeNeighbors( uint32 const _homeId, uint8 const _nodeId, uint8** _nodeNeighbors );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
292 UInt32_ListByte GetNodeNeighbors( 1:i32 _homeId, 2:byte _nodeId);
293
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
294 //string GetNodeManufacturerName( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
295 string GetNodeManufacturerName( 1:i32 _homeId, 2:byte _nodeId );
296
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
297 //string GetNodeProductName( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
298 string GetNodeProductName( 1:i32 _homeId, 2:byte _nodeId );
299
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
300 //string GetNodeName( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
301 string GetNodeName( 1:i32 _homeId, 2:byte _nodeId );
302
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
303 //string GetNodeLocation( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
304 string GetNodeLocation( 1:i32 _homeId, 2:byte _nodeId );
305
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
306 //string GetNodeManufacturerId( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
307 string GetNodeManufacturerId( 1:i32 _homeId, 2:byte _nodeId );
308
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
309 //string GetNodeProductType( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
310 string GetNodeProductType( 1:i32 _homeId, 2:byte _nodeId );
311
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
312 //string GetNodeProductId( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
313 string GetNodeProductId( 1:i32 _homeId, 2:byte _nodeId );
314
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
315 //void SetNodeManufacturerName( uint32 const _homeId, uint8 const _nodeId, string const& _manufacturerName );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
316 void SetNodeManufacturerName( 1:i32 _homeId, 2:byte _nodeId, 3:string _manufacturerName );
317
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
318 //void SetNodeProductName( uint32 const _homeId, uint8 const _nodeId, string const& _productName );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
319 void SetNodeProductName( 1:i32 _homeId, 2:byte _nodeId, 3:string _productName );
320
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
321 //void SetNodeName( uint32 const _homeId, uint8 const _nodeId, string const& _nodeName );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
322 void SetNodeName( 1:i32 _homeId, 2:byte _nodeId, 3:string _nodeName );
323
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
324 //void SetNodeLocation( uint32 const _homeId, uint8 const _nodeId, string const& _location );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
325 void SetNodeLocation( 1:i32 _homeId, 2:byte _nodeId, 3:string _location );
326
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
327 //void SetNodeOn( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
328 void SetNodeOn( 1:i32 _homeId, 2:byte _nodeId );
329
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
330 //void SetNodeOff( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
331 void SetNodeOff( 1:i32 _homeId, 2:byte _nodeId );
332
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
333 //void SetNodeLevel( uint32 const _homeId, uint8 const _nodeId, uint8 const _level );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
334 void SetNodeLevel( 1:i32 _homeId, 2:byte _nodeId, 3:byte _level );
335
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
336 //bool IsNodeInfoReceived( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
337 bool IsNodeInfoReceived( 1:i32 _homeId, 2:byte _nodeId );
338
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
339 //bool GetNodeClassInformation( uint32 const _homeId, uint8 const _nodeId, uint8 const _commandClassId, string *_className = NULL, uint8 *_classVersion = NULL);
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
340 Bool_GetNodeClassInformation GetNodeClassInformation( 1:i32 _homeId, 2:byte _nodeId, 3:byte _commandClassId);
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
341
342 //-----------------------------------------------------------------------------
343 // Values
344 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
345 //string GetValueLabel( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
346 string GetValueLabel( 1:RemoteValueID _id );
347
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
348 //void SetValueLabel( ValueID const& _id, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
349 void SetValueLabel( 1:RemoteValueID _id, 2:string _value );
350
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
351 //string GetValueUnits( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
352 string GetValueUnits( 1:RemoteValueID _id );
353
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
354 //void SetValueUnits( ValueID const& _id, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
355 void SetValueUnits( 1:RemoteValueID _id, 2:string _value );
356
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
357 //string GetValueHelp( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
358 string GetValueHelp( 1:RemoteValueID _id );
359
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
360 //void SetValueHelp( ValueID const& _id, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
361 void SetValueHelp( 1:RemoteValueID _id, 2:string _value );
362
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
363 //int32 GetValueMin( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
364 i32 GetValueMin( 1:RemoteValueID _id );
365
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
366 //int32 GetValueMax( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
367 i32 GetValueMax( 1:RemoteValueID _id );
368
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
369 //bool IsValueReadOnly( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
370 bool IsValueReadOnly( 1:RemoteValueID _id );
371
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
372 //bool IsValueWriteOnly( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
373 bool IsValueWriteOnly( 1:RemoteValueID _id );
374
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
375 //bool IsValueSet( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
376 bool IsValueSet( 1:RemoteValueID _id );
377
3e7c24a3 » Elias Karakoulakis
2012-02-25 updated API to OpenZWave main trunk rev.466
378 //bool IsValuePolled( ValueID const& _id );
379 bool IsValuePolled( 1:RemoteValueID _id );
380
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
381 //bool GetValueAsBool( ValueID const& _id, bool* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
382 Bool_Bool GetValueAsBool( 1:RemoteValueID _id);
383
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
384 //bool GetValueAsByte( ValueID const& _id, uint8* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
385 Bool_UInt8 GetValueAsByte( 1:RemoteValueID _id );
386
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
387 //bool GetValueAsFloat( ValueID const& _id, float* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
388 Bool_Float GetValueAsFloat( 1:RemoteValueID _id );
389
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
390 //bool GetValueAsInt( ValueID const& _id, int32* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
391 Bool_Int GetValueAsInt( 1:RemoteValueID _id );
392
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
393 //bool GetValueAsShort( ValueID const& _id, int16* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
394 Bool_Int16 GetValueAsShort( 1:RemoteValueID _id );
395
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
396 //bool GetValueAsString( ValueID const& _id, string* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
397 Bool_String GetValueAsString( 1:RemoteValueID _id );
398
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
399 //bool GetValueListSelection( ValueID const& _id, string* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
400 // ekarak: thrift does not support function overloading
401 Bool_String GetValueListSelection_String( 1:RemoteValueID _id );
402
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
403 //bool GetValueListSelection( ValueID const& _id, int32* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
404 // ekarak: overloading by name mangling
405 Bool_Int GetValueListSelection_Int32( 1:RemoteValueID _id );
406
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
407 //bool GetValueListItems( ValueID const& _id, vector<string>* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
408 // ekarak: client must ensure value's type is ValueType_List
409 Bool_ListString GetValueListItems( 1:RemoteValueID _id );
410
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
411 //bool GetValueFloatPrecision( ValueID const& _id, uint8* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
412 Bool_UInt8 GetValueFloatPrecision( 1:RemoteValueID _id );
413
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
414 //bool SetValue( ValueID const& _id, bool const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
415 // ekarak: client must ensure value's type is ValueType_Bool
416 bool SetValue_Bool( 1:RemoteValueID _id, 2:bool _value );
417
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
418 //bool SetValue( ValueID const& _id, uint8 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
419 // ekarak: client must ensure value's type
420 bool SetValue_UInt8( 1:RemoteValueID _id, 2:byte _value );
421
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
422 //bool SetValue( ValueID const& _id, float const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
423 // ekarak: client must ensure value's type
424 bool SetValue_Float( 1:RemoteValueID _id, 2:double _value );
425
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
426 //bool SetValue( ValueID const& _id, int32 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
427 // ekarak: client must ensure value's type
428 bool SetValue_Int32( 1:RemoteValueID _id, 2:i32 _value );
429
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
430 //bool SetValue( ValueID const& _id, int16 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
431 // ekarak: client must ensure value's type
432 bool SetValue_Int16( 1:RemoteValueID _id, 2:i16 _value );
433
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
434 //bool SetValue( ValueID const& _id, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
435 // ekarak: client must ensure value's type
436 bool SetValue_String( 1:RemoteValueID _id, 2:string _value );
437
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
438 //bool SetValueListSelection( ValueID const& _id, string const& _selectedItem );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
439 bool SetValueListSelection( 1:RemoteValueID _id, 2:string _selectedItem );
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
440
441 //bool RefreshValue( ValueID const& _id);
442 bool RefreshValue( 1:RemoteValueID _id);
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
443
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
444 //bool PressButton( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
445 bool PressButton( 1:RemoteValueID _id );
446
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
447 //bool ReleaseButton( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
448 bool ReleaseButton( 1:RemoteValueID _id );
449
450
451 //-----------------------------------------------------------------------------
452 // Climate Control Schedules
453 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
454 //uint8 GetNumSwitchPoints( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
455 byte GetNumSwitchPoints( 1:RemoteValueID _id );
456
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
457 //bool SetSwitchPoint( ValueID const& _id, uint8 const _hours, uint8 const _minutes, int8 const _setback );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
458 bool SetSwitchPoint( 1:RemoteValueID _id, 2:byte _hours, 3:byte _minutes, 4:byte _setback );
459
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
460 //bool RemoveSwitchPoint( ValueID const& _id, uint8 const _hours, uint8 const _minutes );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
461 bool RemoveSwitchPoint( 1:RemoteValueID _id, 2:byte _hours, 3:byte _minutes );
462
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
463 //void ClearSwitchPoints( ValueID const& _id );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
464 void ClearSwitchPoints( 1:RemoteValueID _id );
465
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
466 //bool GetSwitchPoint( ValueID const& _id, uint8 const _idx, uint8* o_hours, uint8* o_minutes, int8* o_setback );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
467 GetSwitchPointReturnStruct GetSwitchPoint( 1:RemoteValueID _id, 2:byte _idx);
468
469
470 //-----------------------------------------------------------------------------
471 // SwitchAll
472 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
473 void SwitchAllOn( 1:i32 _homeId );
474 void SwitchAllOff( 1:i32 _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
475
476
477 //-----------------------------------------------------------------------------
478 // Configuration Parameters
479 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
480 //bool SetConfigParam( uint32 const _homeId, uint8 const _nodeId, uint8 const _param, int32 _value, uint8 const _size = 2 );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
481 bool SetConfigParam( 1:i32 _homeId, 2:byte _nodeId, 3:byte _param, 4:i32 _value, 5:byte _size = 2 );
482
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
483 //void RequestConfigParam( uint32 const _homeId, uint8 const _nodeId, uint8 const _param );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
484 void RequestConfigParam( 1:i32 _homeId, 2:byte _nodeId, 3:byte _param );
485
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
486 //void RequestAllConfigParams( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
487 void RequestAllConfigParams( 1:i32 _homeId, 2:byte _nodeId );
488
489 //-----------------------------------------------------------------------------
490 // Groups (wrappers for the Node methods)
491 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
492 //uint8 GetNumGroups( uint32 const _homeId, uint8 const _nodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
493 byte GetNumGroups( 1:i32 _homeId, 2:byte _nodeId );
494
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
495 //uint32 GetAssociations( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx, uint8** o_associations );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
496 // ekarak: return list of associations instead
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
497 GetAssociationsReturnStruct GetAssociations( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx);
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
498
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
499 //uint8 GetMaxAssociations( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
500 byte GetMaxAssociations( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx );
501
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
502 //string GetGroupLabel( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
503 string GetGroupLabel( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx );
504
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
505 //void AddAssociation( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx, uint8 const _targetNodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
506 void AddAssociation( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx, 4:byte _targetNodeId );
507
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
508 //void RemoveAssociation( uint32 const _homeId, uint8 const _nodeId, uint8 const _groupIdx, uint8 const _targetNodeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
509 void RemoveAssociation( 1:i32 _homeId, 2:byte _nodeId, 3:byte _groupIdx, 4:byte _targetNodeId );
510
511 //-----------------------------------------------------------------------------
512 // Controller commands
513 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
514 //void ResetController( uint32 const _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
515 void ResetController( 1:i32 _homeId );
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
516
517 //void SoftReset( uint32 const _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
518 void SoftReset( 1:i32 _homeId );
519
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
520 //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 );
521 bool BeginControllerCommand( 1:i32 _homeId, 2:DriverControllerCommand _command, 3:bool _highPower, 4:byte _nodeId, 5:byte _arg );
522
523 //bool CancelControllerCommand( uint32 const _homeId );
524 bool CancelControllerCommand( 1:i32 _homeId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
525
526 //-----------------------------------------------------------------------------
527 // Scene commands
528 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
529 //uint8 GetNumScenes( );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
530 byte GetNumScenes( );
531
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
532 //uint8 GetAllScenes( uint8** _sceneIds );
533 // ekarak: Notice change of return argument
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
534 GetAllScenesReturnStruct GetAllScenes( );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
535
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
536 //uint8 CreateScene();
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
537 byte CreateScene();
538
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
539 //bool RemoveScene( uint8 const _sceneId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
540 bool RemoveScene( 1:byte _sceneId );
541
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
542 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, bool const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
543 // ekarak: overloaded function renamed
544 bool AddSceneValue_Bool( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:bool _value );
545
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
546 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, uint8 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
547 // ekarak: overloaded function renamed
548 bool AddSceneValue_Uint8( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:byte _value );
549
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
550 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, float const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
551 // ekarak: overloaded function renamed
552 bool AddSceneValue_Float( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:double _value );
553
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
554 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
555 // ekarak: overloaded function renamed
556 bool AddSceneValue_Int32( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
557
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
558 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, int16 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
559 // ekarak: overloaded function renamed
560 bool AddSceneValue_Int16( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:i16 _value );
561
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
562 //bool AddSceneValue( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
563 // ekarak: overloaded function renamed
564 bool AddSceneValue_String( 1: byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
565
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
566 //bool AddSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
567 // ekarak: overloaded function renamed
568 bool AddSceneValueListSelection_String( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
569
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
570 //bool AddSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
571 // ekarak: overloaded function renamed
572 bool AddSceneValueListSelection_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
573
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
574 //bool RemoveSceneValue( uint8 const _sceneId, ValueID const& _valueId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
575 bool RemoveSceneValue( 1:byte _sceneId, 2:RemoteValueID _valueId );
576
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
577 //int SceneGetValues( uint8 const _sceneId, vector<ValueID>* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
578 // ekarak: Notice change of return argument
4951e1d9 » Elias Karakoulakis
2011-12-10 create_server.rb: refactored code
579 SceneGetValuesReturnStruct SceneGetValues( 1:byte _sceneId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
580
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
581 //bool SceneGetValueAsBool( uint8 const _sceneId, ValueID const& _valueId, bool* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
582 // ekarak: Notice change of return argument
583 Bool_Bool SceneGetValueAsBool( 1:byte _sceneId, 2:RemoteValueID _valueId );
584
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
585 //bool SceneGetValueAsByte( uint8 const _sceneId, ValueID const& _valueId, uint8* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
586 // ekarak: Notice change of return argument
587 Bool_UInt8 SceneGetValueAsByte( 1:byte _sceneId, 2:RemoteValueID _valueId );
588
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
589 //bool SceneGetValueAsFloat( uint8 const _sceneId, ValueID const& _valueId, float* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
590 // ekarak: Notice change of return argument
591 Bool_Float SceneGetValueAsFloat( 1:byte _sceneId, 2:RemoteValueID _valueId );
592
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
593 //bool SceneGetValueAsInt( uint8 const _sceneId, ValueID const& _valueId, int32* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
594 // ekarak: Notice change of return argument
595 Bool_Int SceneGetValueAsInt( 1:byte _sceneId, 2:RemoteValueID _valueId );
596
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
597 //bool SceneGetValueAsShort( uint8 const _sceneId, ValueID const& _valueId, int16* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
598 // ekarak: Notice change of return argument
599 Bool_Int16 SceneGetValueAsShort( 1:byte _sceneId, 2:RemoteValueID _valueId );
600
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
601 //bool SceneGetValueAsString( uint8 const _sceneId, ValueID const& _valueId, string* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
602 // ekarak: Notice change of return argument
603 Bool_String SceneGetValueAsString( 1:byte _sceneId, 2:RemoteValueID _valueId);
604
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
605 //bool SceneGetValueListSelection( uint8 const _sceneId, ValueID const& _valueId, string* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
606 // ekarak: Notice change of naming & return argument
607 Bool_String SceneGetValueListSelection_String( 1:byte _sceneId, 2:RemoteValueID _valueId );
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
608
609 //bool SceneGetValueListSelection( uint8 const _sceneId, ValueID const& _valueId, int32* o_value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
610 // ekarak: Notice change of naming & return argument
611 Bool_Int SceneGetValueListSelection_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId );
612
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
613 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, bool const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
614 // ekarak: Overloaded function renamed
615 bool SetSceneValue_Bool( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:bool _value );
616
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
617 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, uint8 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
618 // ekarak: Overloaded function renamed
619 bool SetSceneValue_Uint8( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:byte _value );
620
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
621 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, float const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
622 // ekarak: Overloaded function renamed
623 bool SetSceneValue_Float( 1:byte _sceneId, 2:RemoteValueID _valueId, 3: double _value );
624
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
625 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
626 // ekarak: Overloaded function renamed
627 bool SetSceneValue_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
628
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
629 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, int16 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
630 // ekarak: Overloaded function renamed
631 bool SetSceneValue_Int16( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i16 _value );
632
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
633 //bool SetSceneValue( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
634 // ekarak: Overloaded function renamed
635 bool SetSceneValue_String( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
636
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
637 //bool SetSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
638 // ekarak: Overloaded function renamed
639 bool SetSceneValueListSelection_String( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:string _value );
640
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
641 //bool SetSceneValueListSelection( uint8 const _sceneId, ValueID const& _valueId, int32 const _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
642 // ekarak: Overloaded function renamed
643 bool SetSceneValueListSelection_Int32( 1:byte _sceneId, 2:RemoteValueID _valueId, 3:i32 _value );
644
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
645 //string GetSceneLabel( uint8 const _sceneId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
646 string GetSceneLabel( 1:byte _sceneId );
647
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
648 //void SetSceneLabel( uint8 const _sceneId, string const& _value );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
649 void SetSceneLabel( 1:byte _sceneId, 2:string _value );
650
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
651 //bool SceneExists( uint8 const _sceneId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
652 bool SceneExists( 1:byte _sceneId );
653
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
654 //bool ActivateScene( uint8 const _sceneId );
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
655 bool ActivateScene( 1:byte _sceneId );
656
657ede11 » Elias Karakoulakis
2012-02-11 Manager::GetDriverStatistics() mapping (why did I forget it?)
657 //-----------------------------------------------------------------------------
658 // Statistics interface
659 //-----------------------------------------------------------------------------
1d579438 » Elias Karakoulakis
2012-02-17 updated OpenZWave API to r437
660 //void GetDriverStatistics( uint32 const _homeId, Driver::DriverData* _data );
657ede11 » Elias Karakoulakis
2012-02-11 Manager::GetDriverStatistics() mapping (why did I forget it?)
661 GetDriverStatisticsReturnStruct GetDriverStatistics( 1:i32 _homeId );
662
205116aa » Elias Karakoulakis
2011-12-22 SendAllValues(), auto patch management
663
664 // ----------------------- ekarak: and a little extra candy server for missing functionality from OZW
665 void SendAllValues();
86032865 » Elias Karakoulakis
2011-12-06 Initial repo set-up
666 }
Something went wrong with that request. Please try again.