forked from SiliconLabs/UnifySDK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SiliconLabsGH-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 436cc5f
Showing
11 changed files
with
1,243 additions
and
316 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
44 changes: 44 additions & 0 deletions
44
...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,44 @@ | ||
/****************************************************************************** | ||
* # 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 | ||
|
||
#define SETPOINT_TYPE_HEATING 1 | ||
#define SETPOINT_TYPE_COOLING 2 | ||
|
||
// 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.