Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time cluster (TZ-1194) #446

Open
akira215 opened this issue Oct 1, 2024 · 0 comments
Open

Time cluster (TZ-1194) #446

akira215 opened this issue Oct 1, 2024 · 0 comments
Labels

Comments

@akira215
Copy link

akira215 commented Oct 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant