inventoresed
Version:
Z-Wave driver written entirely in JavaScript/TypeScript
56 lines (37 loc) • 1.02 kB
Markdown
?> CommandClass ID: `0x98`
```ts
async sendEncapsulated(
encapsulated: CommandClass,
requestNextNonce: boolean = false,
): Promise<void>;
```
```ts
async getNonce(): Promise<Buffer | undefined>;
```
Requests a new nonce for Security CC encapsulation which is not directly linked to a specific command.
```ts
async sendNonce(): Promise<boolean>;
```
Responds to a NonceGet request. The message is sent without any retransmission etc.
The return value indicates whether a nonce was successfully sent.
```ts
async getSecurityScheme(): Promise<[0]>;
```
```ts
async inheritSecurityScheme(): Promise<void>;
```
```ts
async setNetworkKey(networkKey: Buffer): Promise<void>;
```
```ts
async getSupportedCommands(): Promise<Pick<SecurityCCCommandsSupportedReport, "supportedCCs" | "controlledCCs"> | undefined>;
```