Z-Wave Protocol Controller Reference
Internal definitions for the Z-Wave Command Handler

Shared internal functions and variables for the Z-Wave Command Handler. *. More...

Collaboration diagram for Internal definitions for the Z-Wave Command Handler:

Classes

struct  zwave_command_handler_compare
 
struct  zwave_command_handler_compare_alphabetic
 

Typedefs

typedef std::set< zwave_command_handler_t, zwave_command_handler_compare >::iterator zwave_command_handler_it_t
 

Functions

bool supports_frame_at_security_level (zwave_command_handler_it_t it, zwave_controller_encapsulation_scheme_t scheme)
 Verifies if a Command Class is supported at a certain Security level. More...
 

Variables

zwave_controller_encapsulation_scheme_t zpc_highest_scheme
 
std::multiset< zwave_command_handler_t, zwave_command_handler_comparecommand_handler_list
 

Detailed Description

Shared internal functions and variables for the Z-Wave Command Handler. *.

Typedef Documentation

◆ zwave_command_handler_it_t

Function Documentation

◆ supports_frame_at_security_level()

bool supports_frame_at_security_level ( zwave_command_handler_it_t  it,
zwave_controller_encapsulation_scheme_t  scheme 
)

Verifies if a Command Class is supported at a certain Security level.

If a handler is supported with NO_SCHEME we allow the frame to reach the handler no matter what scheme it was received on.

If a handler has a minimal security scheme it has to be sent with the net_scheme i.e. the highest scheme supported by the node.

Parameters
itThe Command Class handler iterator
schemeThe Security Scheme at which the frame was received.
Returns
true if the Command Class is supported for the given scheme
false if the Command Class is not supported for the given scheme

Variable Documentation

◆ command_handler_list

std::multiset<zwave_command_handler_t, zwave_command_handler_compare> command_handler_list
extern

◆ zpc_highest_scheme

zwave_controller_encapsulation_scheme_t zpc_highest_scheme
extern