zoukankan      html  css  js  c++  java
  • Zigbee路由中的三张表

     

    1. routing table

    Filed NamesizeDesc
    Destination addr 2 octests 目标的地址,设备地址或者组地址,RFD的地址为它父节点的地址
    Status 3 bits 0 - active 
    1 - DISCOVERY_UNDERWAY 
    2 - DISCOVERY-FAILED 
    3 - INACTIVE 
    4 - VALIDATION_UNDERWAY
    No Route cache 1 bit 目标地址不支持(存储)路由 source routes
    Many-to-one 1 bit 表示目标地址是concentrator, 通过MANY-TO-ONE建立的路由
    Route record required 1 bit 在下一个数据侦发送之前,先发送一个 route record command frame
    GroupID flag 1 bit 表示地址是组地址
    Next-hop address 2 octets 下一跳的地址

    2. route discovery table

    Filed NameSize 
    (octets)
    Desc
    Route reuest ID 1 每次发送路由请求(route request )之后自动加1
    Source address 2 路由请求发起方地址
    Sender address 2 收到路由请求侦的最低开销的上一跳地址,接收方根据 route request id & source address 来判断是否与本条对应
    Forward cost 1 记录路由发现中前向跳数, 源地址到本设备
    Residual cost 1 记录路由发现中后向跳数, 本设备到目标地址
    Expiration time 2 路由发现的倒计算器

    3. route record table

    Field Namefiled TypeValid RangeReference
    Network address integer 0x0000-fff7 the destination network address ofr thsi route record
    Relay Count ineger 0x0000-ffff the count of relay nodes form concentrator to the destination
    Path set of network addresses - a set of addresses that represent the route in order from the concentrator to the destination
    ------------------------------------------------ Newbit Studio, 感谢你的光临 http://weibo.com/newbittech ------------------------------------------------
  • 相关阅读:
    Codefoces Gym 101652 【最大连续和】
    HYSBZ 4034 【树链剖分】+【线段树 】
    Codeforces Gym 101291C【优先队列】
    Codeforces gym 101291 M (最长交替子序列)【DP】
    HDU 3308 LCIS (经典区间合并)【线段树】
    POJ 3237 Tree (树链剖分+边权转点权)
    POJ 2763 Housewife Wind (树链剖分+边权转点权)
    P1054 等价表达式
    P1107 [BJWC2008]雷涛的小猫
    P1552 [APIO2012]派遣
  • 原文地址:https://www.cnblogs.com/newbit/p/15397832.html
Copyright © 2011-2022 走看看