@@ -57,21 +57,21 @@ declare module "openzwave-shared" {
5757 NodeFailed = 10 ,
5858 }
5959
60- export enum ControllerError {
61- None = 0 ,
62- ButtonNotFound = 1 , /* Button */
63- NodeNotFound = 2 , /* Button */
64- NotBridge = 3 , /* Button */
65- NotSUC = 4 , /* CreateNewPrimary */
66- NotSecondary = 5 , /* CreateNewPrimary */
67- NotPrimary = 6 , /* RemoveFailedNode, AddNodeToNetwork */
68- IsPrimary = 7 , /* ReceiveConfiguration */
69- NotFound = 8 , /* RemoveFailedNode */
70- Busy = 9 , /* RemoveFailedNode, RequestNetworkUpdate */
71- Failed = 10 , /* RemoveFailedNode, RequestNetworkUpdate */
72- Disabled = 11 , /* RequestNetworkUpdate error */
73- Overflow = 12 , /* RequestNetworkUpdate error */
74- }
60+ export enum ControllerError {
61+ None = 0 ,
62+ ButtonNotFound = 1 , /* Button */
63+ NodeNotFound = 2 , /* Button */
64+ NotBridge = 3 , /* Button */
65+ NotSUC = 4 , /* CreateNewPrimary */
66+ NotSecondary = 5 , /* CreateNewPrimary */
67+ NotPrimary = 6 , /* RemoveFailedNode, AddNodeToNetwork */
68+ IsPrimary = 7 , /* ReceiveConfiguration */
69+ NotFound = 8 , /* RemoveFailedNode */
70+ Busy = 9 , /* RemoveFailedNode, RequestNetworkUpdate */
71+ Failed = 10 , /* RemoveFailedNode, RequestNetworkUpdate */
72+ Disabled = 11 , /* RequestNetworkUpdate error */
73+ Overflow = 12 , /* RequestNetworkUpdate error */
74+ }
7575
7676 export enum LogLevel {
7777 NoLogging = 0 ,
@@ -429,6 +429,11 @@ declare module "openzwave-shared" {
429429 */
430430 getLibraryVersion ( ) : string ;
431431
432+ /**
433+ * Get the version of OpenZWave.
434+ */
435+ getOzwVersion ( ) : String ;
436+
432437 /**
433438 * Get a string containing the Z-Wave API library type used by a controller.
434439 *
0 commit comments