Z-Stack API Reference  3.2.0
_zstack_simpledescriptor_t Struct Reference

#include <zstack.h>

Data Fields

uint8_t endpoint
 
uint16_t profileID
 
uint16_t deviceID
 
uint8_t deviceVer
 
uint8_t n_inputClusters
 
uint16_t * pInputClusters
 
uint8_t n_outputClusters
 
uint16_t * pOutputClusters
 

Detailed Description

Structure for the Simple Descriptor. Each endpoint must have a Zigbee Simple Descriptor. This descriptor describes the endpoint to the rest of the Zigbee network. Another device can query an endpoint for it simple descriptor and know what kind of device it is. This structure is defined by the application.

Field Documentation

§ deviceID

uint16_t deviceID

This field identifies the Device ID supported on this endpoint. The IDs shall be obtained from the ZigBee Alliance.

§ deviceVer

uint8_t deviceVer

Identifies the version of the relevant Device Description that this device implements on this endpoint. 0x00 is Version 1.0.

§ endpoint

uint8_t endpoint

The endpoint number 1-240 (0 is reserved). This is the subaddress of the node, and is used to receive data.

§ n_inputClusters

uint8_t n_inputClusters

This indicates the number of input clusters supported by this endpoint.

§ n_outputClusters

uint8_t n_outputClusters

This indicates the number of output clusters supported by this endpoint.

§ pInputClusters

uint16_t* pInputClusters

Pointer to inputClusters array

§ pOutputClusters

uint16_t* pOutputClusters

Pointer to outputClusters array

§ profileID

uint16_t profileID

This field identifies the Profile ID supported on this endpoint. The IDs shall be obtained from the ZigBee Alliance.


The documentation for this struct was generated from the following file: