You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,13 +76,19 @@ The library will connect to an already running instance of [zwave-js-server](htt
76
76
The library will host its own zwave-js instance.
77
77
You might ask, if in this mode, **nodejs** and **npm** is needed on the host system - it is not!
78
78
79
-
This is all possible with an accompanying file - **server.psi**.
79
+
This is all possible with an accompanying file - **server.psi**. (Platform Support Image)
80
80
81
81
Its an executable that is running silently/hidden,
82
82
and it contains everything necessary for .NET to work with zwave-js.
83
83
84
84
**server.psi** files are platform specific, but the assembly isn't - it will run on windows, OSX and Linux, and the platform specifics i.e **node** are contained in **server.psi**.
85
85
86
+
## Prebuilt PSI's
87
+
- Windows x64
88
+
- MacOS x64 (Should support Apple Silicon via Rosetta2)
CMDResultRes=newCMDResult("ZWJS.NET.ERR.002","Invalid Strategy for 'ReplaceFailedNode' Valid Strategies are : [Insecure, Security_S0, Security_S2]",false);
350
+
CMDResultRes=newCMDResult(Enums.ErrorCodes.MissingS2Callbacks,"S2 Security require userCallbacks to be provided [validateDSKAndEnterPIN, grantSecurityClasses, abort]",false);
CMDResultRes=newCMDResult("ZWJS.NET.ERR.001","S2 Security require userCallbacks to be provided [validateDSKAndEnterPIN, grantSecurityClasses, abort]",false);
367
+
CMDResultRes=newCMDResult(Enums.ErrorCodes.MissingKeys,"Missing Security Keys in Options",false);
CMDResultRes=newCMDResult(Enums.ErrorCodes.InvalidkeyLength,"Invalid Key length. All Security Keys must be a 32 character hexadecimal string (representing 16 bytes)",false);
376
+
Result.SetResult(Res);
377
+
returnResult.Task;
378
+
}
379
+
359
380
360
381
Driver.Callbacks.Add(ID,(JO)=>
361
382
{
@@ -497,18 +518,62 @@ public Task<CMDResult> BeginInclusion(InclusionOptions Options)
CMDResultRes=newCMDResult(Enums.ErrorCodes.MissingS2Callbacks,"S2 Security require userCallbacks to be provided [validateDSKAndEnterPIN, grantSecurityClasses, abort]",false);
CMDResultRes=newCMDResult("ZWJS.NET.ERR.001","S2 Security require userCallbacks to be provided [validateDSKAndEnterPIN, grantSecurityClasses, abort]",false);
545
+
CMDResultRes=newCMDResult(Enums.ErrorCodes.MissingS2Callbacks,"S2 Security require userCallbacks to be provided [validateDSKAndEnterPIN, grantSecurityClasses, abort]",false);
CMDResultRes=newCMDResult(Enums.ErrorCodes.InvalidkeyLength,"Invalid Key length. All Security Keys must be a 32 character hexadecimal string (representing 16 bytes)",false);
573
+
Result.SetResult(Res);
574
+
returnResult.Task;
575
+
}
576
+
512
577
Driver.Callbacks.Add(ID,(JO)=>
513
578
{
514
579
CMDResultRes=newCMDResult(JO);
@@ -550,31 +615,18 @@ public Task<CMDResult> StopInclusion()
CMDResultRes=newCMDResult(Enums.ErrorCodes.InvalidkeyLength,"Invalid Key length. All Security Keys must be a 32 character hexadecimal string (representing 16 bytes)",false);
0 commit comments