|
Z-Wave Protocol Controller Reference
|
#include "zwave_command_class_scene_controller_configuration_control.h"#include "zwave_command_classes_utils.h"#include "zwave_command_class_indices.h"#include "zwave_controller_connection_info.h"#include "zwave_command_handler.h"#include "zwave_unid.h"#include "zwave_association_toolbox.h"#include "zpc_attribute_store_network_helper.h"#include "zpc_attribute_resolver.h"#include "zwave_command_class_local_scenes_types.h"#include "zwave_command_class_association_types.h"#include "attribute_store_defined_attribute_types.h"#include "ZW_classcmd.h"#include "attribute_store_helper.h"#include "attribute_resolver.h"#include "sl_log.h"Macros | |
| #define | LOG_TAG "zwave_command_class_scene_controller_configuration" |
| #define | ATTRIBUTE(type) ATTRIBUTE_COMMAND_CLASS_SCENE_##type |
| #define | CONFIGURATION_REPORT_GROUP_ID_INDEX 2 |
| #define | CONFIGURATION_REPORT_SCENE_ID_INDEX 3 |
| #define | CONFIGURATION_REPORT_DIMMING_DURATION_INDEX 4 |
Functions | |
| static sl_status_t | scene_controller_configuration_set (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| Prepares a Scene Controller Configuration Set Command. More... | |
| static sl_status_t | scene_controller_configuration_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| static void | on_desired_scene_controller_configuration_update (attribute_store_node_t updated_node, attribute_store_change_t change) |
| Reacts to desired values updates under the Controller Configuration attribute. More... | |
| static void | on_association_group_id_update (attribute_store_node_t group_id_node, attribute_store_change_t change) |
| Reacts to Association Group ID updates and. More... | |
| static void | on_scene_controller_configuration_set_send_data_complete (attribute_store_node_t node, resolver_rule_type_t rule_type, zpc_resolver_event_t event) |
| Decides what to do after we've sent a Scene Controller Configuration Set Command. More... | |
| static sl_status_t | handle_scene_controller_configuration_report (const zwave_controller_connection_info_t *info, const uint8_t *frame, uint16_t frame_length) |
| Process an incoming Scene Controller Configuration Report Command. More... | |
| static sl_status_t | scene_activation_control_handler (const zwave_controller_connection_info_t *connection, const uint8_t *frame_data, uint16_t frame_length) |
| sl_status_t | zwave_command_class_scene_controller_configuration_control_init () |
| Initializes the Scene Controller Configuration Command Class control handler. More... | |
| #define ATTRIBUTE | ( | type | ) | ATTRIBUTE_COMMAND_CLASS_SCENE_##type |
| #define CONFIGURATION_REPORT_DIMMING_DURATION_INDEX 4 |
| #define CONFIGURATION_REPORT_GROUP_ID_INDEX 2 |
| #define CONFIGURATION_REPORT_SCENE_ID_INDEX 3 |
| #define LOG_TAG "zwave_command_class_scene_controller_configuration" |
|
static |
Process an incoming Scene Controller Configuration Report Command.
| info | zwave_controller_connection_info_t object. |
| frame | Pointer to frame data |
| frame_length | Number of bytes contained in the frame |
|
static |
Reacts to Association Group ID updates and.
| group_id_node | |
| change |
|
static |
Reacts to desired values updates under the Controller Configuration attribute.
| updated_node | The child node of the Controller configuration node |
| change | Type of attribute store change that was applied. |
|
static |
Decides what to do after we've sent a Scene Controller Configuration Set Command.
| node | Attribute Store node that was resolved |
| rule_type | The type of rule that was applied (Set/Get) |
| event | The outcome of the resolution. |
|
static |
|
static |
|
static |
Prepares a Scene Controller Configuration Set Command.
| node | Attribute Store node to resolve (Controller configuration) |
| frame | Pointer at which frame data can be written. |
| frame_length | Pointer at which the frame data length can be written. |