Z-Wave Protocol Controller Reference
zwave_command_class_sound_switch.c File Reference
#include <stdlib.h>
#include "zwave_command_class_sound_switch.h"
#include "zwave_command_classes_utils.h"
#include "ZW_classcmd.h"
#include "zwave_command_class_sound_switch_types.h"
#include "zwave_command_handler.h"
#include "zwave_command_class_indices.h"
#include "zwave_command_class_version_types.h"
#include "zpc_attribute_store_network_helper.h"
#include "attribute_store_defined_attribute_types.h"
#include "attribute_resolver.h"
#include "attribute_store.h"
#include "attribute_store_helper.h"
#include "sl_log.h"
Include dependency graph for zwave_command_class_sound_switch.c:

Classes

struct  sound_switch_configuration
 Full state of a sound Switch supporting node. More...
 

Macros

#define LOG_TAG   "zwave_command_class_sound_switch"
 
#define MAX_CHAR_SIZE   64
 

Typedefs

typedef struct sound_switch_configuration sound_switch_configuration_t
 Full state of a sound Switch supporting node. More...
 

Functions

static sl_status_t zwave_command_class_sound_switch_tones_number_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
sl_status_t zwave_command_class_sound_switch_handle_tones_number_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
 
static sl_status_t zwave_command_class_sound_switch_tone_info_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
sl_status_t zwave_command_class_sound_switch_handle_tone_info_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
 
static sl_status_t zwave_command_class_sound_switch_configuration_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
sl_status_t zwave_command_class_sound_switch_handle_configuration_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
 
static void get_configuration (attribute_store_node_t state_node, sound_switch_configuration_t *configuration)
 
static sl_status_t zwave_command_class_sound_switch_configuration_set (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
static void zwave_monitor_dotdot_on_off_on_time_update (attribute_store_node_t updated_node, attribute_store_change_t change)
 
static void zwave_command_class_sound_switch_on_version_attribute_update (attribute_store_node_t updated_node, attribute_store_change_t change)
 
static sl_status_t zwave_command_class_sound_switch_tone_play_set (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
static sl_status_t zwave_command_class_sound_switch_tone_play_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
sl_status_t zwave_command_class_sound_switch_handle_tone_play_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
 
sl_status_t zwave_command_class_sound_switch_control_handler (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
 
sl_status_t zwave_command_class_sound_switch_init ()
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "zwave_command_class_sound_switch"

◆ MAX_CHAR_SIZE

#define MAX_CHAR_SIZE   64

Typedef Documentation

◆ sound_switch_configuration_t

Full state of a sound Switch supporting node.

Function Documentation

◆ get_configuration()

static void get_configuration ( attribute_store_node_t  state_node,
sound_switch_configuration_t configuration 
)
static
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_configuration_get()

static sl_status_t zwave_command_class_sound_switch_configuration_get ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_configuration_set()

static sl_status_t zwave_command_class_sound_switch_configuration_set ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_control_handler()

sl_status_t zwave_command_class_sound_switch_control_handler ( const zwave_controller_connection_info_t connection_info,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_handle_configuration_report()

sl_status_t zwave_command_class_sound_switch_handle_configuration_report ( const zwave_controller_connection_info_t connection_info,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_handle_tone_info_report()

sl_status_t zwave_command_class_sound_switch_handle_tone_info_report ( const zwave_controller_connection_info_t connection_info,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_handle_tone_play_report()

sl_status_t zwave_command_class_sound_switch_handle_tone_play_report ( const zwave_controller_connection_info_t connection_info,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_handle_tones_number_report()

sl_status_t zwave_command_class_sound_switch_handle_tones_number_report ( const zwave_controller_connection_info_t connection_info,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_on_version_attribute_update()

static void zwave_command_class_sound_switch_on_version_attribute_update ( attribute_store_node_t  updated_node,
attribute_store_change_t  change 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_tone_info_get()

static sl_status_t zwave_command_class_sound_switch_tone_info_get ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_tone_play_get()

static sl_status_t zwave_command_class_sound_switch_tone_play_get ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_tone_play_set()

static sl_status_t zwave_command_class_sound_switch_tone_play_set ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the caller graph for this function:

◆ zwave_command_class_sound_switch_tones_number_get()

static sl_status_t zwave_command_class_sound_switch_tones_number_get ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the caller graph for this function:

◆ zwave_monitor_dotdot_on_off_on_time_update()

static void zwave_monitor_dotdot_on_off_on_time_update ( attribute_store_node_t  updated_node,
attribute_store_change_t  change 
)
static
Here is the caller graph for this function: