Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
Command Class Utils
+ Collaboration diagram for Command Class Utils:

Functions

bool CmdClassSupported (security_key_t eKey, uint8_t commandClass, uint8_t command, uint8_t *pSecurelist, uint8_t securelistLen, uint8_t *pNonSecurelist, uint8_t nonSecurelistLen)
 

Detailed Description

Function Documentation

◆ CmdClassSupported()

bool CmdClassSupported ( security_key_t eKey,
uint8_t commandClass,
uint8_t command,
uint8_t * pSecurelist,
uint8_t securelistLen,
uint8_t * pNonSecurelist,
uint8_t nonSecurelistLen )

Returns whether a given command is supported based on command class lists and different rules.

Parameters
[in]eKeyThe security key that the frame was received with.
[in]commandClassThe CC of the frame.
[in]commandThe command of the frame.
[in]pSecurelistPointer to the secure CC list.
[in]securelistLenThe length of the secure CC list.
[in]pNonSecurelistPointer to the non-secure CC list.
[in]nonSecurelistLenLength of the non-secure CC list.
Returns
Returns true if the command is supported and false otherwise.