Bindings and matching in ZigBee

Source: Internet
Author: User

the direction of the binding problem : When using Zdp_enddevicereq () to bind, there are four parameters about the input and output clusters, if a-side output cluster can match the B-party input cluster, then the binding is successful, and the binding table is established in a-party (the party that owns the output cluster). Also, if the input cluster of a can match the output cluster of B. Then two-way success. A binding table is also created in B at this point. At this point A and B can control each other. However, if a has only an output cluster, and B has an input cluster. Then the binding can only be understood as a one-way success. Is that a can control B, and in turn B cannot control a.

Binding Application: The following is the use of binding tables to send and receive data,

Zclsamplesw_dstaddr.addrmode = (afaddrmode_t) addrnotpresent;
Zclsamplesw_dstaddr.endpoint = 0;
zclSampleSw_DstAddr.addr.shortAddr = 0;

Zdp_matchdescreq is used to find out if there's a match.

Zdp_enddevicebindreq is finding a match and then going to bind the

---restore content ends---

Bindings and matching in ZigBee

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.