doorcontact_clusterHi all !
As I see, ZCL has very low cluster types coverage at present. I am playing with 5.1.2, while 5.2 has some more options - but the type I need is still not supported.
Could somebody let me know about ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT cluster definition ? I cannot find how to define ESP_ZB_ZCL_ATTR_TYPE_ARRAY attibute at least.
esp_zb_attribute_list_t *c= esp_zb_zcl_attr_list_create(ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT);
esp_zb_custom_cluster_add_custom_attr(c, 14, ESP_ZB_ZCL_ATTR_TYPE_ARRAY, custom_attr_access, &undefined_value); // stateText array
esp_zb_custom_cluster_add_custom_attr(c, 28, ESP_ZB_ZCL_ATTR_TYPE_CHAR_STRING, custom_attr_access, &undefined_value); // description charStr
esp_zb_custom_cluster_add_custom_attr(c, 74, ESP_ZB_ZCL_ATTR_TYPE_U16, custom_attr_access, &n_states); // numberOfStates uint16
esp_zb_custom_cluster_add_custom_attr(c, 81, ESP_ZB_ZCL_ATTR_TYPE_BOOL, custom_attr_access, &test_attr); // outOfService bool
esp_zb_custom_cluster_add_custom_attr(c, 81, ESP_ZB_ZCL_ATTR_TYPE_U16, custom_attr_access, &test_attr); // presentValue uint16
esp_zb_custom_cluster_add_custom_attr(c, 103, ESP_ZB_ZCL_ATTR_TYPE_8BIT_ENUM, custom_attr_access, &test_attr); // reliability enum8
esp_zb_custom_cluster_add_custom_attr(c, 111, ESP_ZB_ZCL_ATTR_TYPE_8BITMAP, custom_attr_access, &test_attr); // statusFlags bitmap8
esp_zb_custom_cluster_add_custom_attr(c, 256, ESP_ZB_ZCL_ATTR_TYPE_U32, custom_attr_access, &test_attr32); // applicationType uint32
ESP_ZB_ZCL_CLUSTER_ID_MULTI_INPUT cluster definition
Who is online
Users browsing this forum: MicroController and 130 guests