Z-Wave Protocol Controller Reference
zwave_command_class_multi_channel.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
98#ifndef ZWAVE_COMMAND_CLASS_MULTI_CHANNEL_H
99#define ZWAVE_COMMAND_CLASS_MULTI_CHANNEL_H
100
101#include "sl_status.h"
103#include "attribute_store.h"
104#include "zwave_rx_definitions.h"
105
106// Other components (like the transport) will use this define
107// to keep the version aligned.
108#define MULTI_CHANNEL_VERSION MULTI_CHANNEL_VERSION_V4
109
110// Frame parsing define
111#define ENDPOINT_MASK 0x7F
112
113#ifdef __cplusplus
114extern "C" {
115#endif
116
124
139 attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length);
140
152bool is_endpoint_aggregated(attribute_store_node_t endpoint_node);
153
168 const zwave_controller_connection_info_t *connection_info,
169 const zwave_rx_receive_options_t *rx_options,
170 const uint8_t *frame_data,
171 uint16_t frame_length);
172
173#ifdef __cplusplus
174}
175#endif
176
177#endif //ZWAVE_COMMAND_CLASS_MULTI_CHANNEL_H
bool is_endpoint_aggregated(attribute_store_node_t endpoint_node)
Checks if an endpoints is aggregated.
Definition: zwave_command_class_multi_channel.c:698
sl_status_t zwave_command_class_multi_channel_init(void)
Initialize the Multi Channel Command Class (handler) *.
Definition: zwave_command_class_multi_channel.c:708
sl_status_t zwave_command_class_multi_channel_handler(const zwave_controller_connection_info_t *connection_info, const zwave_rx_receive_options_t *rx_options, const uint8_t *frame_data, uint16_t frame_length)
Handles incoming Multi Channel encapsulated commands.
sl_status_t zwave_command_class_multi_channel_capability_get(attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
Resolves a Non-secure NIF for an Endpoint ID > 0.
Definition: zwave_command_class_multi_channel.c:529
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.
Structure holding information about the source and destination when transmitting and receiving Z-Wave...
Definition: zwave_controller_connection_info.h:87
Describing receive parameters of a frame.
Definition: zwave_rx_definitions.h:35