diff options
Diffstat (limited to 'Middlewares/ST/STM32_WPAN/zigbee/stack/include/zcl/general/zcl.level.h')
-rw-r--r-- | Middlewares/ST/STM32_WPAN/zigbee/stack/include/zcl/general/zcl.level.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Middlewares/ST/STM32_WPAN/zigbee/stack/include/zcl/general/zcl.level.h b/Middlewares/ST/STM32_WPAN/zigbee/stack/include/zcl/general/zcl.level.h index f06a13439..a3d353a6a 100644 --- a/Middlewares/ST/STM32_WPAN/zigbee/stack/include/zcl/general/zcl.level.h +++ b/Middlewares/ST/STM32_WPAN/zigbee/stack/include/zcl/general/zcl.level.h @@ -1,14 +1,16 @@ /** - * For many applications, this cluster has a close relationship with the OnOff cluster. See ZCL specification + * For many applications, this cluster has a close relationship with the OnOff cluster. + * See ZCL specification * - * This cluster supports scenes functionality. When a scene is recalled that includes this cluster, the attributes listed in the Scenes - * Table Extensions for this cluster will be set to the value in the scene + * This cluster supports scenes functionality. When a scene is recalled that includes + * this cluster, the attributes listed in the Scenes Table Extensions for this cluster + * will be set to the value in the scene * @file zcl.level.h * @heading Level * @brief ZCL Level cluster header * ZCL 7 section 3.10 * ZCL 8 section 3.10 - * @copyright Copyright [2009 - 2020] Exegin Technologies Limited. All rights reserved. + * @copyright Copyright [2009 - 2021] Exegin Technologies Limited. All rights reserved. */ #ifndef ZCL_LEVEL_H @@ -272,4 +274,13 @@ enum ZclStatusCodeT ZbZclLevelClientStopReq(struct ZbZclClusterT *cluster, const struct ZbApsAddrT *dst, struct ZbZclLevelClientStopReqT *req, void (*callback)(struct ZbZclCommandRspT *rsp, void *arg), void *arg); +/*----------------------------------------------------------------------------- + * Level Client Payload helper functions + *----------------------------------------------------------------------------- + */ +int ZbZclLevelClientMoveToLevelBuild(uint8_t *payload, unsigned int length, struct ZbZclLevelClientMoveToLevelReqT *req); +int ZbZclLevelClientMoveBuild(uint8_t *payload, unsigned int length, struct ZbZclLevelClientMoveReqT *req); +int ZbZclLevelClientStepBuild(uint8_t *payload, unsigned int length, struct ZbZclLevelClientStepReqT *req); +int ZbZclLevelClientStopBuild(uint8_t *payload, unsigned int length, struct ZbZclLevelClientStopReqT *req); + #endif /* ZCL_LEVEL_H */ |