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

Not able to receive correct destination endpoint ID while receiving door lock/unlock command on door lock server cluster. (TZ-412) #150

Closed
3 tasks done
mallaprashant opened this issue Nov 21, 2023 · 1 comment
Labels

Comments

@mallaprashant
Copy link

Answers checklist.

  • I have read the documentation ESP Zigbee SDK Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) and ESP Zigbee libs (esp-zboss-lib and esp-zigbee-lib) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

5.1.1

esp-zigbee-lib version.

1.0.3

esp-zboss-lib version.

1.0.2

Espressif SoC revision.

ESP32-C6

What is the expected behavior?

I'm expecting to receive proper destination Endpoint ID while receiving the door lock/unlock command on doorlock server cluster.

What is the actual behavior?

Instead of receiving actual destination Endpoint ID, I'm receiving Endpoint ID as zero (message->info.dst_endpoint = 0)

Steps to reproduce.

When handling door lock and unlock commands within the callback identified as ESP_ZB_CORE_DOOR_LOCK_LOCK_DOOR_CB_ID

static esp_err_t esp_zb_door_lock_cmd_handler(const esp_zb_zcl_door_lock_lock_door_message_t *message)
{
ESP_RETURN_ON_FALSE(message, ESP_FAIL, TAG, "Empty message");
ESP_RETURN_ON_FALSE(message->info.status == ESP_ZB_ZCL_STATUS_SUCCESS, ESP_ERR_INVALID_ARG, TAG, "Received
message: error status(%d)", message->info.status);
ESP_LOGI(TAG, "Received message: endpoint(%d), cluster(0x%x)", message->info.dst_endpoint, message->info.cluster);
return ESP_OK;
}

More Information.

No response

@github-actions github-actions bot changed the title Not able to receive correct destination endpoint ID while receiving door lock/unlock command on door lock server cluster. Not able to receive correct destination endpoint ID while receiving door lock/unlock command on door lock server cluster. (TZ-412) Nov 21, 2023
@xieqinan
Copy link
Contributor

@mallaprashant ,

Thank you for the reminder. We will address it as soon as possible.

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

2 participants