Z-Wave Protocol Controller Reference
Security 2 Command Class

Security 2 (S2) Commmand Class handler and control functions. More...

Collaboration diagram for Security 2 Command Class:

Functions

sl_status_t zwave_command_class_security_2_commands_supported_get (uint8_t *frame, uint16_t *frame_length)
 Writes down an S2 Supported Get Command to the frame/frame_length. More...
 
sl_status_t zwave_command_class_security_2_init ()
 Intitialize the security 2 command class handler. More...
 

Detailed Description

Security 2 (S2) Commmand Class handler and control functions.

This module takes care of the S2 Command Class support and control.

It uses a subscription to the ATTRIBUTE_COMMAND_CLASS_SECURITY_2_VERSION attribute type in the attribute_store to find out about the nodes that support Security 2.

Function Documentation

◆ zwave_command_class_security_2_commands_supported_get()

sl_status_t zwave_command_class_security_2_commands_supported_get ( uint8_t *  frame,
uint16_t *  frame_length 
)

Writes down an S2 Supported Get Command to the frame/frame_length.

Parameters
framebuffer where the command is to be written
frame_lengthLength of the data written to the output buffer.
Returns
SL_STATUS_OK always
Here is the caller graph for this function:

◆ zwave_command_class_security_2_init()

sl_status_t zwave_command_class_security_2_init ( )

Intitialize the security 2 command class handler.

Returns
Always true
Here is the call graph for this function:
Here is the caller graph for this function: