Zigbee系列(end device)

 

End device设备分为睡眠和非睡眠两种(RxOnWhenIdle标记不同)。 入网时的association请求,会使用这个标记。

共同特性

  1. 子节点多次发送数据失败(无回应),发送孤点扫描 (realignment) , 尝试重回网络。

               802.15.4 : 用于网络同步,设备与协调器通信异常,可发orphan notify。

               An orphan scan allows a device to attempt to relocate its coordinator following a loss of synchronization.
    During an orphan scan, the MAC sublayer shall discard all frames received over the PHY data service that
    are not coordinator realignment command frames.
    An orphan scan over a specified set of logical channels is requested using the MLME-SCAN.request
    primitive with the ScanType parameter set to indicate an orphan scan. For each logical channel, the device
    shall first switch to the channel, by setting phyCurrentChannel and phyCurrentPage accordingly, and then
    send an orphan notification command (see 7.3.6). Upon successful transmission of the orphan notification
    command, the device shall enable its receiver for at most macResponseWaitTime symbols. If the device
    successfully receives a coordinator realignment command (see 7.3.8) within this time, the device shall
    terminate the scan.

                  

                  孤点通知:

                     

                   重排列: The coordinator realignment command is sent by the PAN coordinator

                    

  1. 子节点N次data request没有收到回应(参数N子设备可配置)。认为丢失父节点,开始move过程。发送beacon request寻找父节点,找到后,通过rejoin回到网络。

     

  2. 父节点判断子节点是否已离开的方式:父节点设置超时时间(默认值 nwkEndDeviceTimeoutDefault) ,如果超时时间内一直没有收到子节点的data request,认为子节点已离开;子节点重新回来的时候,会通知子节点rejoin。

 

(子节点入网后,需要通过End Device Timeout Request命令通知父节点设置超时时间数值 zigbee specification 3.6.10。)

 

 

 

  1. 子节点重新上电一般发送孤点扫描(realignment), silabs可修改这项配置。

 

非睡眠end device

 

  1. 父节点可以直接向该节点发送数据,不需要等待子节点的data poll

 

验证步骤:编译一个非睡眠的固件,long poll设置为10秒,子节点直连协调器,协调器发送多个on命令,每个命令可以直接发出,不需要等待子节点的data request

 

 

睡眠end device

  1. 父节点缓存报文,子节点通过data poll请求数据后,将数据发给子节点

 

 

Rejoin安全性

参考silicon labs 的文档 ug103-05-fundamentals-security.pdf

Section 3.5 Network Rejoin

 

 

 

转载于:https://www.cnblogs.com/yizhinantian/p/9801383.html

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值