惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Security Archives - TechRepublic
Security Archives - TechRepublic
O
OpenAI News
W
WeLiveSecurity
Hacker News: Ask HN
Hacker News: Ask HN
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
Troy Hunt's Blog
L
LINUX DO - 最新话题
SecWiki News
SecWiki News
Schneier on Security
Schneier on Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
H
Heimdal Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Palo Alto Networks Blog
Project Zero
Project Zero
Attack and Defense Labs
Attack and Defense Labs
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Tor Project blog
Scott Helme
Scott Helme
T
Threat Research - Cisco Blogs
Simon Willison's Weblog
Simon Willison's Weblog
Spread Privacy
Spread Privacy
Cisco Talos Blog
Cisco Talos Blog
T
Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
Google DeepMind News
Google DeepMind News
P
Privacy & Cybersecurity Law Blog
Know Your Adversary
Know Your Adversary
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
L
Lohrmann on Cybersecurity
Cloudbric
Cloudbric
I
Intezer
The Hacker News
The Hacker News
L
LINUX DO - 热门话题
AI
AI
B
Blog
S
Securelist
P
Proofpoint News Feed
量子位
Jina AI
Jina AI
V2EX - 技术
V2EX - 技术
T
The Exploit Database - CXSecurity.com
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
CERT Recently Published Vulnerability Notes
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - YZG

zigbee路由(报文实例) Zigbee系列(路由机制) Zigbee系列(网络) Zigbee系列(概览) kallsyms , addr to symbol Linux checksum flag in kernel ubuntu apt-xxx 清空DNS缓存 shell loop shell 参数 power sequece grep 文件内容搜索 netif_receive_skb pt_prev why? virtual machine AVR地址空间 altera 与 xilinx fifo 时序的区别 如何在Linux下实现50万并发 Linux tcp socket相关参数设置 对Linux下socket限制的理解
Zigbee系列(end device)
YZG · 2018-10-16 · via 博客园 - YZG

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