esp_zb_basic_cluster_add_attr() function
Add an attribute in basic 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