Revision as of 10:39, 7 January 2022 by Registered User

1. Introduction

Most Zigbee applications use bindings to address request from the source to the destination. It allows application to handle communication between one top many devices in a transparent way. Instead of sending multiple unicast requests, application only sends one single request to Zigbee stack. Binding mechanism is provided by the APS layer, so that the application can set up bindings using binding tables. Each device has its own binding table. The BDB provides Find and Bind method to automate the creation of bindings. This method may have some limitations that will be discussed later.

2. How to configure Binding?

Binding can be configured either locally or remotely. Local binding is to be used for client cluster commands. Remote binding is to be typically used for attribute reporting.

2.1. Local configuration

Be careful, ZbApsmeBindReq parameter shall be set as follow:

  • srcExtAddr: local client Extended Address
  • dst.extAddr: remote server Extended Address

2.2. Remote configuration

Be careful, ZbZdoBindReq parameter shall be set as follow:

  • srcExtAddr: remote server Extended Address
  • dst.extAddr: client Extended Address
  • target: remote server Short Address

3. Find and Bind

3.1. Definition

Finding and binding mechanism is triggered automatically if the ZB_BDB_CommissioningMode is set to BDB_COMMISSION_MODE_FIND_BIND. However, Finding and binding can be started manually from the application by calling ZbStartupFindBindStart() on all endpoints, or calling ZbStartupFindBindStartEndpoint() from a specific endpoint.

3.2. Limitations

No categories assignedEdit