espressif / esp-zigbee-sdk

Espressif Zigbee SDK
Apache License 2.0
173 stars 29 forks source link

ESP_ZB_ZCL_STATUS_UNSUP_ATTRIB Error when Writing/Reading Attribute from Manufacturer Specific Cluster (TZ-1189) #443

Open ahmetcobanoglu opened 1 month ago

ahmetcobanoglu commented 1 month ago

Answers checklist.

IDF version.

v5.3.1

esp-zigbee-lib version.

1.5.0

esp-zboss-lib version.

1.5.0

Espressif SoC revision.

ESP32-H2

What is the expected behavior?

Attributes should be successfully read or written to the manufacturer-specific cluster.

What is the actual behavior?

ESP_ZB_ZCL_STATUS_UNSUP_ATTRIB error is returned in the status field of the response message when trying to read or write attributes.

Steps to reproduce.

  1. Set up ZigBee Coordinator with Gateway endpoint (no clusters registered).

  2. Receive attribute reports from a manufacturer-specific cluster (reports received correctly).

  3. Attempt to read or write an attribute from the manufacturer-specific cluster.

More Information.

Cluster ID (attempted for reading/writing): 0xFCC0

Attribute IDs: 0x0102, 0x010C, 0x0152

Coordinator configuration: ZigBee Coordinator with Gateway endpoint (no clusters registered).

I can successfully read or write these attributes using zigpy and EFR32, but I encounter the issue only in the current setup.

ahmetcobanoglu commented 1 month ago

@chshu Is there any development on this issue?

xieqinan commented 1 month ago

@ahmetcobanoglu ,

Could you please provide a .pcap file for reading/writing the attribute of cluster 0xFCC0?

xieqinan commented 6 days ago

@ahmetcobanoglu ,

The esp_zb_zcl_read_attr_cmd_req() had already support to send request with specific manufacturer, please refer to https://github.com/espressif/esp-zigbee-sdk/blob/main/components/esp-zigbee-lib/include/zcl/esp_zigbee_zcl_command.h#L129