-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-35: Consistency between UCL and ZWave precision
UCL precision is now always 2 whild Zwave is trying to adapt to the UCL precision.
- Loading branch information
1 parent
f332df7
commit ef6dbcf
Showing
11 changed files
with
836 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...tribute_store/include/command_class_types/zwave_command_class_thermostat_setpoint_types.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/****************************************************************************** | ||
* # License | ||
* <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b> | ||
****************************************************************************** | ||
* The licensor of this software is Silicon Laboratories Inc. Your use of this | ||
* software is governed by the terms of Silicon Labs Master Software License | ||
* Agreement (MSLA) available at | ||
* www.silabs.com/about-us/legal/master-software-license-agreement. This | ||
* software is distributed to you in Source Code format and is governed by the | ||
* sections of the MSLA applicable to Source Code. | ||
* | ||
*****************************************************************************/ | ||
|
||
/** | ||
* @defgroup zpc_attribute_store_command_classes_types Type definitions for attribute storage of Command Classes | ||
* @ingroup zpc_attribute_store | ||
* @brief Type definitions for Command Classes, used for @ref attribute_store storage. | ||
* | ||
*/ | ||
|
||
/** | ||
* @defgroup zwave_command_class_thermostat_setpoint_types Type definitions for attribute storage of the Thermostat SetPoint Command Class | ||
* @ingroup zpc_attribute_store_command_classes_types | ||
* @brief Type definitions for the Thermostat SetPoint Command Class. | ||
* | ||
* @{ | ||
*/ | ||
|
||
#ifndef ZWAVE_COMMAND_CLASS_THERMOSTAT_SETPOINT_TYPES_H | ||
#define ZWAVE_COMMAND_CLASS_THERMOSTAT_SETPOINT_TYPES_H | ||
|
||
// Should be uint8_t, but kept int8_t for legacy reasons | ||
typedef int8_t thermostat_setpoint_type_t; | ||
typedef int32_t thermostat_setpoint_value_t; | ||
// Should be uint8_t, but kept uint32_t for legacy reasons | ||
typedef uint32_t thermostat_setpoint_scale_t; | ||
typedef uint8_t thermostat_setpoint_precision_t; | ||
|
||
|
||
#endif //ZWAVE_COMMAND_CLASS_THERMOSTAT_SETPOINT_TYPES_H | ||
/** @} end zwave_command_class_thermostat_setpoint_types */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.