TI中文支持网
TI专业的中文技术问题搜集分享网站

关于绑定entry

大家好:

我在《ZIGBEE SPECIFICATION 》(053474r20 )的以下章节:2.2.8.2.1 Binding Table Implementation

(as, es, cs) = {(ad1|, ed1|), (ad2|, ed2|) … (adn|, edn |)}

看到绑定entry的格式应该是一条cluster ID对应一条entry的。

但是在Z-stack的BindingTable.h  BindingTable.c中绑定entry的结构体格式却是如下:

typedef struct
{
uint8 srcEP;
uint8 dstGroupMode; // Destination address type; 0 – Normal address index, 1 – Group address
uint16 dstIdx; // This field is used in both modes (group and non-group) to save NV and RAM space
uint8 dstEP;
uint8 numClusterIds;
uint16 clusterIdList[MAX_BINDING_CLUSTER_IDS];
} BindingEntry_t;

一条entry里面怎么可以有多个cluster ID呢?

VV:

比方说一个温湿度传感器,既有温度的cluster,又有湿度的cluster,需要report给一个设备。

那么两个cluster在一起跟某个设备绑定,也是正常的。

赞(0)
未经允许不得转载:TI中文支持网 » 关于绑定entry
分享到: 更多 (0)