3.6 Groups Cluster
3.6.1 Overview
The ZigBee specification provides the capability for group addressing. That is, any
endpoint on any device may be assigned to one or more groups, each labeled with a 16-bit identifier
(0x0001 – 0xfff7), which acts for all intents and purposes like a network address. Once a group is
established, frames, sent using the APSDE-DATA.request primitive and having a DstAddrMode of
0x01, denoting group addressing, will be delivered to every endpoint assigned to the group address
named in the DstAddr parameter of the outgoing APSDE-DATA.request primitive on every device in
the network for which there are such endpoints.
ZigBee 规范提供了组寻址的功能。也就是说,任何设备上的任何端点都可以被分配给一个或多个
组,每个组都使用 16 位标识符(0x0001 0xfff7)进行标记,它的作用与网络地址一样。一旦建立了
一个组,就使用 api - data 发送帧。请求原语,DstAddrMode 为 0x01,表示组寻址,将被发送到
分配给组地址的每个端点,该组地址在传出的 api - data 的 DstAddr 参数中指定。请求原语在网络
中的每个设备上,其中有这样的端点。
Management of group membership on each device and endpoint is implemented by the APS, but the
over- the-air messages that allow for remote management and commissioning of groups are defined
here in the cluster library on the theory that, while the basic group addressing facilities are integral to
the operation of the stack, not every device will need or want to implement this management cluster.
Furthermore, the placement of the management commands here allows developers of proprietary
profiles to avoid implementing the library cluster but still exploit group addressing.
管理组成员在每个设备上和端点实现 APS,但是,空气的消息允许远程管理和调试组在集群中定义
库的理论,而基本组处理设施整体协议栈的操作,不是每个设备需要或想要实现这个集群管理。此外,
此处管理命令的位置允许专有配置文件的开发人员避免实现库集群,但仍然可以利用组寻址。
Commands are defined here for discovering the group membership of a device, adding a group,
removing a group and removing all groups.
Finally, the group cluster allows application entities to store a name string for each group to which
they are assigned and to report that name string in response to a client request.
这里定义了用于发现设备的组成员关系、添加组、删除组和删除所有组的命令。最后,group 集
群允许应用程序实体存储分配给它们的每个组的名称字符串,并报告响应客户机请求的名称字符
串。
Note that configuration of group addresses for outgoing commands is achieved using the APS
binding mechanisms, and is not part of this cluster.
请注意,为发出的命令配置组地址是使用 APS 绑定机制实现的,而不是这个集群的一部分。
3.6.1.1 Security
In order to ensure that only authorized devices
are able to set up groups (particularly if application link keys are to be used) the following approach
should be employed. The security Permissions Configuration Table (see [B1]) provides a mechanism
by which certain commands can be restricted to specified authorized devices. Configuration of
groups via the Groups cluster should use the ApplicationSettings permissions entry of this table to
specify from which devices group configuration commands may be received, and whether a link key
is required.
以确保只授权设备
能够设置组(特别是如果应用程序链接键要使用),应采用以下方法。安全权限配置表(见[B1])提供了一种机制,通
过 这 种 机 制 可 以 将 某 些 命 令 限 制 到 指 定 的 授 权 设 备 。 通 过 组 集 群 进 行 组 配 置 时 , 应 使 用 该 表 的
ApplicationSettings 权限项来指定从哪个设备组配置命令可以接收,以及是否需要链接键。
3.6.2 Server
评论0
最新资源