Z-Wave Protocol Controller Reference
zwave_command_class_multilevel_sensor.h
Go to the documentation of this file.
1
2/******************************************************************************
3 * # License
4 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
5 ******************************************************************************
6 * The licensor of this software is Silicon Laboratories Inc. Your use of this
7 * software is governed by the terms of Silicon Labs Master Software License
8 * Agreement (MSLA) available at
9 * www.silabs.com/about-us/legal/master-software-license-agreement. This
10 * software is distributed to you in Source Code format and is governed by the
11 * sections of the MSLA applicable to Source Code.
12 *
13 *****************************************************************************/
14
15#ifndef ZWAVE_COMMAND_CLASS_MULTILEVEL_SENSOR_H
16#define ZWAVE_COMMAND_CLASS_MULTILEVEL_SENSOR_H
17
18#include "sl_status.h"
19
20// Command Cass specific defines
21#define SUPPORTED_REPORT_BITMASK_INDEX 2
22
23#define SUPPORTED_SCALE_REPORT_SENSOR_TYPE_INDEX 2
24#define SUPPORTED_SCALE_REPORT_BITMASK_INDEX 3
25
26#define REPORT_SENSOR_TYPE_INDEX 2
27#define REPORT_PROPERTIES_INDEX 3
28#define REPORT_SENSOR_VALUE_INDEX 4
29#define REPORT_SIZE_BITMASK 0x07
30#define REPORT_SCALE_BITMASK 0x18
31#define REPORT_PRECISION_BITMASK 0xE0
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
57
60#ifdef __cplusplus
61}
62#endif
63
64#endif //ZWAVE_COMMAND_CLASS_MULTILEVEL_SENSOR_H
sl_status_t zwave_command_class_multilevel_sensor_init()
Initialize the Multilevel Sensor Command Class control.
Definition: zwave_command_class_multilevel_sensor.c:567
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.