|
Z-Wave Protocol Controller Reference
|
#include <stdlib.h>#include "zwave_command_class_humidity_control_mode.h"#include "zwave_command_class_humidity_control_types.h"#include "zwave_command_classes_utils.h"#include "ZW_classcmd.h"#include "zwave_command_class_indices.h"#include "zwave_command_handler.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"Macros | |
| #define | LOG_TAG "zwave_command_class_humidity_control_mode" |
| #define | HUMIDITY_CONTROL_MODE_SET_MODE_HUMIDIFY_BITMASK 0x01 |
| #define | HUMIDITY_CONTROL_MODE_SET_MODE_DEHUMIDIFY_BITMASK 0x02 |
| #define | HUMIDITY_CONTROL_MODE_SET_MODE_AUTO_BITMASK 0x04 |
Functions | |
| static zwave_cc_version_t | get_humidity_control_mode_version (attribute_store_node_t endpoint_node) |
| Get current humidity control mode version of the CC. More... | |
| static bool | is_humidity_control_mode_compatible_with_version (humidity_control_mode_t supported_humidity_control_mode_type, zwave_cc_version_t current_version) |
| Check if the humidity control mode is compatible with the current version. More... | |
| static bool | is_humidity_control_mode_supported (humidity_control_mode_t humidity_control_mode_type, attribute_store_node_t endpoint_id_node) |
| static void | zwave_command_class_humidity_control_mode_on_version_attribute_update (attribute_store_node_t updated_node, attribute_store_change_t change) |
| static sl_status_t | zwave_command_class_humidity_control_mode_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| static sl_status_t | zwave_command_class_humidity_control_mode_set (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| sl_status_t | zwave_command_class_humidity_control_mode_handle_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_humidity_control_mode_supported_get (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length) |
| sl_status_t | zwave_command_class_humidity_control_mode_supported_handle_report (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length) |
| sl_status_t | zwave_command_class_humidity_control_mode_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_humidity_control_mode_init () |
| #define HUMIDITY_CONTROL_MODE_SET_MODE_AUTO_BITMASK 0x04 |
| #define HUMIDITY_CONTROL_MODE_SET_MODE_DEHUMIDIFY_BITMASK 0x02 |
| #define HUMIDITY_CONTROL_MODE_SET_MODE_HUMIDIFY_BITMASK 0x01 |
| #define LOG_TAG "zwave_command_class_humidity_control_mode" |
|
static |
Get current humidity control mode version of the CC.
| node | Endpoint node |
|
static |
Check if the humidity control mode is compatible with the current version.
| supported_humidity_control_mode_type | Tested humidity control mode |
| current_version | Current Z-Wave command class version |
|
static |
| sl_status_t zwave_command_class_humidity_control_mode_control_handler | ( | const zwave_controller_connection_info_t * | connection_info, |
| const uint8_t * | frame_data, | ||
| uint16_t | frame_length | ||
| ) |
|
static |
| sl_status_t zwave_command_class_humidity_control_mode_handle_report | ( | const zwave_controller_connection_info_t * | connection_info, |
| const uint8_t * | frame_data, | ||
| uint16_t | frame_length | ||
| ) |
|
static |
|
static |
|
static |
| sl_status_t zwave_command_class_humidity_control_mode_supported_handle_report | ( | const zwave_controller_connection_info_t * | connection_info, |
| const uint8_t * | frame_data, | ||
| uint16_t | frame_length | ||
| ) |