Question
In esp_zigbee_type.h the mandatories attributes for esp_zb_time_cluster_cfg_s are: uint16_t time; and uint16_t time_status;. However, the ZCL spec rev 8 instructs that Time attribute is UTC type which should be 32 bits in length, and TimeStatus attribute is map8 (which should obviously be 8bits length).
Am I missing something or is there any mistake in the struct declaration ?
Additional context.
I've checked the attribute type of both of these 2 using esp_zb_zcl_get_attribute, and it return the correct ones (i.e. ESP_ZB_ZCL_ATTR_TYPE_UTC_TIME for Time and ESP_ZB_ZCL_ATTR_TYPE_8BITMAP for TimeStatus . That mean that the implementation is correct, but it can lead to initialization issue when creating the cluster from scratch.
Question
In
esp_zigbee_type.hthe mandatories attributes foresp_zb_time_cluster_cfg_sare:uint16_t time;anduint16_t time_status;. However, the ZCL spec rev 8 instructs that Time attribute is UTC type which should be 32 bits in length, and TimeStatus attribute is map8 (which should obviously be 8bits length).Am I missing something or is there any mistake in the struct declaration ?
Additional context.
I've checked the attribute type of both of these 2 using
esp_zb_zcl_get_attribute, and it return the correct ones (i.e. ESP_ZB_ZCL_ATTR_TYPE_UTC_TIME for Time and ESP_ZB_ZCL_ATTR_TYPE_8BITMAP for TimeStatus . That mean that the implementation is correct, but it can lead to initialization issue when creating the cluster from scratch.