Skip to content

Commit 7d36b08

Browse files
committed
Added new options in IConstructorParameters
1 parent 75fcc17 commit 7d36b08

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

types/openzwave-shared.d.ts

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,15 @@ declare module "openzwave-shared" {
160160
*/
161161
AppendLogFile: boolean;
162162
/**
163-
*
163+
* Save (to file) log messages equal to or above LogLevel_Detail
164164
*/
165165
SaveLogLevel: LogLevel;
166166
/**
167-
*
167+
* Save (in RAM) log messages equal to or above LogLevel_Debug
168168
*/
169169
QueueLogLevel: ZWave.LogLevel;
170170
/**
171-
*
171+
* Default is to never dump RAM-stored log messages
172172
*/
173173
DumpTriggerLevel: ZWave.LogLevel;
174174
/**
@@ -230,7 +230,43 @@ declare module "openzwave-shared" {
230230
/**
231231
* Should we refresh all UserCodes in the UserCode CC when we start up
232232
*/
233-
RefreshAllUserCodes: boolean;
233+
RefreshAllUserCodes: boolean;
234+
/**
235+
* Should we send the Node/Value Notifications on Driver Unloading - Read comments in Driver::~Driver() method about possible race conditions
236+
*/
237+
NotifyOnDriverUnload: boolean;
238+
/**
239+
* Alters how OZW determines when to Encrypt Messages to certain CommandClasses.
240+
* Options are:
241+
* "ESSENTIAL" - Those CommandClasses that MUST be encrypted.
242+
* "SUPPORTED" (default) is any CommandClass advertisied in the SecureNIF frame
243+
* "CUSTOM" - A list of CommandClasses specified in the "CustomSecureCC" option
244+
*/
245+
SecurityStrategy: 'ESSENTIAL' | 'SUPPORTED' | 'CUSTOM'
246+
/**
247+
* What List of Custom CC should we always encrypt if SecurityStrategy is CUSTOM
248+
*/
249+
CustomSecuredCC: string;
250+
/**
251+
* if we recieve a clear text message for a CC that is Secured, should we drop the message
252+
*/
253+
EnforceSecureReception: boolean;
254+
/**
255+
* if we should automatically update config files for devices if they are out of date
256+
*/
257+
AutoUpdateConfigFile: boolean;
258+
/**
259+
* Should we automatically Reload Nodes after a update
260+
*/
261+
ReloadAfterUpdate: 'AWAKE' | 'NEVER' | 'IMMEDIATE';
262+
/**
263+
* Language we should use
264+
*/
265+
Language: string;
266+
/**
267+
* Should we include the Instance Label in Value Labels on MultiInstance Devices
268+
*/
269+
IncludeInstanceLabel: boolean;
234270
}
235271
}
236272

0 commit comments

Comments
 (0)