Endpoint Understanding-1

Source: Internet
Author: User

The following excerpt from TI's document!

Each device was a node in the Zigbee. Each node have a long and short address, the short address of the node is used by and nodes to send it data. Each node has 241 endpoint (0 reserved, 1-240 application assigned).

Each endpointis separately addressable;when a device sends data it must specify the destination node's short address and t Heendpoint that would receive that data. An application must register one or more endpoints to send and receive the data in a Zigbee network.

Each endpoint must has a Zigbee simple descriptor. This descriptor describes the endpoint to the rest of the Zigbee network.

typedef struct {byte EndPoint; uint16 appprofid; uint16 appdeviceid; byte appdevver:4; byte reserved:4;//Af_v1_support Uses for appflags:4. BYTE Appnuminclusters; cid_t *pappinclusterlist; BYTE Appnumoutclusters; cid_t *pappoutclusterlist; } simpledescriptionformat_t; Endpoint–the EndPoint number 1-240 (0 is reserved). This is the subaddress of the node, and was used to receive data. The endpoint can be used to accept data appprofid–this field identifies the profile ID supported on this endpoint. The IDs shall is obtained from the ZigBee Alliance. Appdeviceid–this Field identifies the Device ID supported on this endpoint. The IDs shall is obtained from the ZigBee Alliance.

Appdevver–identifies the version of the relevant Device Description that this device implements on this endpoint.

0x00 is Version 1.0. Reserved–not used. Appnuminclusters–this indicates the number of input clusters supported by this endpoint. Pappinclusterlist–pointer to the input cluster ID list. Appnumoutclusters–8 bit field. This indicates the number of output clusters supported by this endpoint. Pappoutclusterlist–pointer to the output cluster ID list.

In the actual application, many parameters do not need to be configured by ourselves, but the system default. But remember the important one: byte EndPoint; This parameter must be unique for devices that need to be bound (such as a button and a light). Only with the same endpoint can the device speak (the light device and the key device communicate normally).

Endpoint Understanding-1

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.