Hello,
I am looking in the SDK how to get the binding table on the local device. I don't find in the API which
function could give me this table to know the bindings done.
Thanks.
Hello,
I am looking in the SDK how to get the binding table on the local device. I don't find in the API which
function could give me this table to know the bindings done.
Thanks.
Hi,
You can get the binding table by sending a Mgmt_Bind_req to the local device using zb_zdo_mgmt_bind_req(). You can test this out with the shell sample with the zdo mgmt_bind command. If you want to see an example of how to use the zb_zdo_mgmt_bind_req() function, I recommend looking at how this is implemented in the shell library in zigbee_shell_cmd_zdo.c.
Note that even though zb_zdo_mgmt_bind_req() is used to send a Mgmt_Bind_req to another device, calling it for the local device will not send a packet in the Zigbee network.
Best regards,
Marte