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 ------------------------------------------------
  • 相关阅读:
    博客图片上传picgo工具安装配置github图传使用
    安装配置hexo icarus主题配置
    通往远方的道路总是漫长的
    java 关于值引用、地址引用的问题
    Java设计模式の迭代器模式
    Java设计模式の模版方法模式
    vim 常用快捷键(整理版)
    Java设计模式の责任链模式
    Java设计模式の代理模式
    java rmi远程方法调用实例
  • 原文地址:https://www.cnblogs.com/newbit/p/15397832.html
Copyright © 2011-2022 走看看