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)
Returns whether a given command is supported based on command class lists and different rules.
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
Type | Direction | Argument Name | Description |
---|---|---|---|
security_key_t | [in] | eKey | The security key that the frame was received with. |
uint8_t | [in] | commandClass | The CC of the frame. |
uint8_t | [in] | command | The command of the frame. |
uint8_t * | [in] | pSecurelist | Pointer to the secure CC list. |
uint8_t | [in] | securelistLen | The length of the secure CC list. |
uint8_t * | [in] | pNonSecurelist | Pointer to the non-secure CC list. |
uint8_t | [in] | nonSecurelistLen | Length of the non-secure CC list. |
Returns
Returns true if the command is supported and false otherwise.