This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Creating a Binding locally on a Zigbee device

Hello,

I am porting several of our devices which implement ZCL from another stack vendor to run on Nordic. These are legacy devices that support Report Configuration/Reportable Attributes but require that these attribute reports be sent to the coordinator even if there is no ZDO Binding Request from the coordinator.

To accomplish this, on our previous implementations added the coordinator to the binding table locally within the device (e.g. emberBindingSet()). This allowed attributes that are configured for reporting to send attribute reports to the coordinator even without an explicit binding_req from the coordinator.

How can I manipulate (add an entry) to the device's binding table from the device itself? I realize that I can manually construct my own attribute report and send it to the coordinator using the zb_aps_send_user_payload() API, but this approach doesn't make sense if the ZB stack already has code to construct ATTRIBUTE_REPORT messages.

Two pieces of information will be useful here:

1) How to add an entry to the binding table

2) How to cause an attribute report to be generated manually and be sent to a specified address using the stack code (i.e., without having to manually construct the payload myself).

Thanks,

Jon

Parents Reply Children
Related