Closed mw75 closed 2 months ago
You can print out the value of zdo_status
and check the defination of esp_zb_zdp_status_t
to identify the reason for the zdo request failure.
Going over the code you provided, I'm suspecting that you populated a wrong request destionation address.
bind_req.req_dst_addr = esp_zb_get_short_address();
I believe it should be the peer address you want the request to be sent to.
Question
I'm implementing a Zigbee to Can-Bus bridge. Can-bus to Power-Plug is working by a modified Zigbee_Light_Switch example.
Now i try to get actions/attribute updates from a switch/remote. I can read the cluster list from the simple description, but when i try to bind the on-Off-cluster to the coordinator i just get an error in the bind callback.
How to debug what's wrong?
I have registered an action handler and expect calls when the switch button is pressed. Is this a valid assumption?
Additional context.