|
Z-Wave Protocol Controller Reference
|
#include "zwave_command_class_barrier_operator.h"#include "zwave_command_classes_utils.h"#include "zwave_command_class_barrier_operator_types.h"#include <stdlib.h>#include "ZW_classcmd.h"#include "attribute_store_defined_attribute_types.h"#include "zpc_attribute_store_network_helper.h"#include "zwave_command_class_indices.h"#include "zwave_command_handler.h"#include "zpc_attribute_resolver.h"#include "dotdot_mqtt.h"#include "dotdot_mqtt_generated_commands.h"#include "attribute_resolver.h"#include "attribute_store_helper.h"#include "sl_log.h"#include "attribute_timeouts.h"Macros | |
| #define | LOG_TAG "zwave_command_class_barrier_operator" |
| #define | ATTRIBUTE(type) ATTRIBUTE_COMMAND_CLASS_BARRIER_OPERATOR_##type |
| #define | TARGET_VALUE_INDEX 2 |
| #define | STATE_INDEX 2 |
| #define | SUPPORTED_REPORT_BITMASK_INDEX 2 |
| #define | SUBSYSTEM_TYPE_INDEX 2 |
| #define | SUBSYSTEM_STATE_INDEX 3 |
| #define | CLOSING_STATE 0xFC |
| #define | OPENING_STATE 0xFE |
Functions | |
| static sl_status_t | zwave_command_class_barrier_operator_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| Generates a Barrier Operator Get Command. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_set (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| Generates a Barrier Operator Set Command. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_supported_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| Generates a Barrier Operator Supported Get Command. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_signal_set (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| Generates a Barrier Operator Signal Set Command. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_signal_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| Generates a Barrier Operator Signal Get Command. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_handle_set (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame, uint16_t frame_length) |
| Handles incoming Barrier Operator Set Commands. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_handle_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame, uint16_t frame_length) |
| Handle incoming Barrier Operator Report Commands. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_handle_signal_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame, uint16_t frame_length) |
| Handle incoming Barrier Operator Singal Report Commands. More... | |
| static sl_status_t | zwave_command_class_barrier_operator_handle_supported_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame, uint16_t frame_length) |
| Handle incoming Barrier Operator Supported Report Commands. More... | |
| static void | zwave_command_class_barrier_operator_on_version_attribute_update (attribute_store_node_t updated_node, attribute_store_change_t change) |
| Attribute callback function listening for Barrier Operator version attribute updates. More... | |
| sl_status_t | zwave_command_class_barrier_operator_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_barrier_operator_init () |
| This function initialize the Barrier Operator Command Class handler. More... | |
| #define ATTRIBUTE | ( | type | ) | ATTRIBUTE_COMMAND_CLASS_BARRIER_OPERATOR_##type |
| #define CLOSING_STATE 0xFC |
| #define LOG_TAG "zwave_command_class_barrier_operator" |
| #define OPENING_STATE 0xFE |
| #define STATE_INDEX 2 |
| #define SUBSYSTEM_STATE_INDEX 3 |
| #define SUBSYSTEM_TYPE_INDEX 2 |
| #define SUPPORTED_REPORT_BITMASK_INDEX 2 |
| #define TARGET_VALUE_INDEX 2 |
| sl_status_t zwave_command_class_barrier_operator_control_handler | ( | const zwave_controller_connection_info_t * | connection_info, |
| const uint8_t * | frame_data, | ||
| uint16_t | frame_length | ||
| ) |
|
static |
Generates a Barrier Operator Get Command.
| node | Attribute Store node that the resolver tries to resolve. |
| frame | Pointer at which frame data can be written. |
| frame_length | Pointer at which the frame data length can be written. |
|
static |
Handle incoming Barrier Operator Report Commands.
| connection_info | zwave_controller_connection_info_t object. |
| frame | Pointer to frame data |
| frame_length | Number of bytes contained in the frame |
|
static |
Handles incoming Barrier Operator Set Commands.
It will convert it into a Generated GoToPercent command
| connection_info | Connection information with the sender |
| frame | Pointer to frame data |
| frame_length | Number of bytes contained in the frame |
|
static |
Handle incoming Barrier Operator Singal Report Commands.
| connection_info | zwave_controller_connection_info_t object. |
| frame | Pointer to frame data |
| frame_length | Number of bytes contained in the frame |
|
static |
Handle incoming Barrier Operator Supported Report Commands.
| connection_info | zwave_controller_connection_info_t object. |
| frame | Pointer to frame data |
| frame_length | Number of bytes contained in the frame |
|
static |
Attribute callback function listening for Barrier Operator version attribute updates.
| updated_node | Attribute Store node that was modified. |
| change | Type of change applied to the node. |
|
static |
Generates a Barrier Operator Set Command.
| node | Attribute Store node that the resolver tries to resolve. |
| frame | Pointer at which frame data can be written. |
| frame_length | Pointer at which the frame data length can be written. |
|
static |
Generates a Barrier Operator Signal Get Command.
| node | Attribute Store node that the resolver tries to resolve. |
| frame | Pointer at which frame data can be written. |
| frame_length | Pointer at which the frame data length can be written. |
|
static |
Generates a Barrier Operator Signal Set Command.
| node | Attribute Store node that the resolver tries to resolve. |
| frame | Pointer at which frame data can be written. |
| frame_length | Pointer at which the frame data length can be written. |
|
static |
Generates a Barrier Operator Supported Get Command.
| node | Attribute Store node that the resolver tries to resolve. |
| frame | Pointer at which frame data can be written. |
| frame_length | Pointer at which the frame data length can be written. |