Z-Wave Protocol Controller Reference
zwave_command_class_device_reset_locally.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
24#ifndef ZWAVE_COMMAND_CLASS_DEVICE_RESET_LOCALLY_H
25#define ZWAVE_COMMAND_CLASS_DEVICE_RESET_LOCALLY_H
26
27#include "sl_status.h"
28#include "zwave_utils.h"
29#include "zwave_rx.h"
31
32// Z-Wave nodes issue Device Reset Locally command before they reset their
33// HomeID and NodeID. Due to that, ZPC shall wait at-least 1 second
34// before triggering removal of the node.
35#define DEVICE_RESET_LOCALLY_REMOVE_TRIGGER_TIMEOUT_DEFAULT 1000
36#define DEVICE_RESET_LOCALLY_REMOVE_RETRIES_MAX 3
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
55 const zwave_controller_connection_info_t *connection_info,
56 const uint8_t *frame_data,
57 uint16_t frame_length);
58
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif //ZWAVE_COMMAND_CLASS_DEVICE_RESET_LOCALLY_H
sl_status_t zwave_command_class_device_reset_locally_control_handler(const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
Handles incoming Device Reset Locally Command.
sl_status_t zwave_command_class_device_reset_locally_init()
Intitialize the Device Reset Locally command class control APIs.
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
Various Z-Wave related utilities.