-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/esp-zigbee-sdk-v1.2.3' into 'main'
esp-zigbee-sdk: release/v1.2.3(042315bf) See merge request espressif/esp-zigbee-sdk!122
- Loading branch information
Showing
39 changed files
with
216 additions
and
21 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
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
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
65 changes: 65 additions & 0 deletions
65
components/esp-zigbee-lib/include/zcl/esp_zigbee_zcl_flow_meas.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,65 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#pragma once | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "esp_zigbee_type.h" | ||
|
||
/** @brief Flow measurement cluster attribute identifiers */ | ||
typedef enum { | ||
ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_VALUE_ID = 0x0000, /*!< MeasuredValue attribute */ | ||
ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MIN_VALUE_ID = 0x0001, /*!< MinMeasuredValue attribute */ | ||
ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MAX_VALUE_ID = 0x0002, /*!< MaxMeasuredValue attribute */ | ||
ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_TOLERANCE_ID = 0x0003, /*!< Tolerance attribute */ | ||
} esp_zb_zcl_flow_measurement_attr_t; | ||
|
||
/** @brief MeasuredValue attribute unknown value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_VALUE_UNKNOWN ((uint16_t)0xffff) | ||
|
||
/** @brief MinMeasuredValue attribute minimum value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MIN_VALUE_MIN_VALUE ((uint16_t)0x0000) | ||
|
||
/** @brief MinMeasuredValue attribute maximum value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MIN_VALUE_MAX_VALUE ((uint16_t)0xfffd) | ||
|
||
/** @brief MinMeasuredValue attribute invalid value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MIN_VALUE_INVALID ((uint16_t)0xffff) | ||
|
||
/** @brief MaxMeasuredValue attribute minimum value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MAX_VALUE_MIN_VALUE ((uint16_t)0x0001) | ||
|
||
/** @brief MaxMeasuredValue attribute maximum value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MAX_VALUE_MAX_VALUE ((uint16_t)0xfffe) | ||
|
||
/** @brief MaxMeasuredValue attribute invalid value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MAX_VALUE_INVALID ((uint16_t)0xffff) | ||
|
||
/** @brief Tolerance attribute minimum value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_TOLERANCE_MIN_VALUE ((uint16_t)0x0000) | ||
|
||
/** @brief Tolerance attribute maximum value */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_TOLERANCE_MAX_VALUE ((uint16_t)0x0800) | ||
|
||
/** @brief Default value for MeasuredValue attribute */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_VALUE_DEFAULT_VALUE ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_VALUE_UNKNOWN | ||
|
||
/** @brief Default value for MinMeasuredValue attribute */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MIN_VALUE_DEFAULT_VALUE ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MIN_VALUE_INVALID | ||
|
||
/** @brief Default value for MaxMeasuredValue attribute */ | ||
#define ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MAX_VALUE_DEFAULT_VALUE ESP_ZB_ZCL_ATTR_FLOW_MEASUREMENT_MAX_VALUE_INVALID | ||
|
||
void esp_zb_zcl_flow_measurement_init_server(void); | ||
void esp_zb_zcl_flow_measurement_init_client(void); | ||
#define ESP_ZB_ZCL_CLUSTER_ID_FLOW_MEASUREMENT_SERVER_ROLE_INIT esp_zb_zcl_flow_measurement_init_server | ||
#define ESP_ZB_ZCL_CLUSTER_ID_FLOW_MEASUREMENT_CLIENT_ROLE_INIT esp_zb_zcl_flow_measurement_init_client | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |
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
Binary file not shown.
Binary file modified
BIN
+43.9 KB
(110%)
components/esp-zigbee-lib/lib/esp32/libesp_zb_api_zczr.debug.a
Binary file not shown.
Binary file modified
BIN
-44 Bytes
(100%)
components/esp-zigbee-lib/lib/esp32/libesp_zb_cli_command.a
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+43.4 KB
(100%)
components/esp-zigbee-lib/lib/esp32c3/libesp_zb_api_zczr.debug.a
Binary file not shown.
Binary file modified
BIN
-140 Bytes
(100%)
components/esp-zigbee-lib/lib/esp32c3/libesp_zb_cli_command.a
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+43.5 KB
(100%)
components/esp-zigbee-lib/lib/esp32c6/libesp_zb_api_ed.debug.a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+43.4 KB
(100%)
components/esp-zigbee-lib/lib/esp32c6/libesp_zb_api_zczr.debug.a
Binary file not shown.
Binary file modified
BIN
-140 Bytes
(100%)
components/esp-zigbee-lib/lib/esp32c6/libesp_zb_cli_command.a
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+43.5 KB
(100%)
components/esp-zigbee-lib/lib/esp32h2/libesp_zb_api_ed.debug.a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+43.4 KB
(100%)
components/esp-zigbee-lib/lib/esp32h2/libesp_zb_api_zczr.debug.a
Binary file not shown.
Binary file modified
BIN
-140 Bytes
(100%)
components/esp-zigbee-lib/lib/esp32h2/libesp_zb_cli_command.a
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+43.9 KB
(110%)
components/esp-zigbee-lib/lib/esp32s2/libesp_zb_api_zczr.debug.a
Binary file not shown.
Binary file modified
BIN
-44 Bytes
(100%)
components/esp-zigbee-lib/lib/esp32s2/libesp_zb_cli_command.a
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+43.9 KB
(110%)
components/esp-zigbee-lib/lib/esp32s3/libesp_zb_api_zczr.debug.a
Binary file not shown.
Binary file modified
BIN
-44 Bytes
(100%)
components/esp-zigbee-lib/lib/esp32s3/libesp_zb_cli_command.a
Binary file not shown.
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
7 changes: 7 additions & 0 deletions
7
docs/en/api-reference/zcl/esp_zigbee_zcl_flow_measurement.rst
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,7 @@ | ||
Flow Measurement | ||
================ | ||
|
||
Zigbee Cluster Library (ZCL) Flow measurement cluster usage definition for ESP Zigbee SDK. | ||
|
||
|
||
.. include-build-file:: inc/esp_zigbee_zcl_flow_meas.inc |
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.