esp_zb_power_config_cluster_add_attr() function
Add an attribute in power config cluster.
Arguments
attr_id
An attribute id to be added
value_p
A pointer to attribute value wants to add
Return value
- ESP_OK on success - ESP_ERR_INVALID_ARG if attribute is existed or unsupported
Notes
Attribute for battery information, battery settings 2 and 3 sets haven't supported yet.