This header contains functions for accessing information relating to attributes, such as number of attributes, attribute names and more.
More...
This header contains functions for accessing information relating to attributes, such as number of attributes, attribute names and more.
◆ ZCL_WRITE_MAX_DATA_SIZE
#define ZCL_WRITE_MAX_DATA_SIZE 16 |
◆ zigpc_zcl_profiles_init()
init_cluster_attributes - the API for instantiating cluster attributes Required to set up all attributes on supported clusters.
- Returns
- SL_STATUS_OK if able to initialize attributes for clusters. SL_STATUS_FAIL otherwise
◆ zigpc_zclprofiles_get_cluster_attribute_count()
size_t zigpc_zclprofiles_get_cluster_attribute_count |
( |
const zcl_cluster_id_t |
cluster_id | ) |
|
Retrieve number of attributes of a given cluster.
- Parameters
-
- Returns
- size_t Number of supported attributes found for cluster
◆ zigpc_zclprofiles_get_cluster_attribute_list()
zigpc_zclprofiles_get_cluster_attribute_list - Retrieve the attributes of a given cluster ID. Expected to be called after zigpc_zclprofiles_get_cluster_attribute_count.
- Parameters
-
cluster_id | - the cluster id of the attributes desired |
attribute_list | - the pointer where the attributes will be stored |
- Returns
- SL_STATUS_OK if the operation succeeded, otherwise SL_STATUS_FAIL if a null pointer was supplied or the cluster is not supported