This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

多对一路由中关于 source Route Included 的疑问?

Other Parts Discussed in Thread: CC2530

协议栈zigbee1.2.2a,网关为协调器,即CONCENTRATOR,使用官方ZNP,路由节点使用ZCL协议格式,按swra427c配置设置,ZNP使用CC2530,RAM太少,将MAX_RTG_SRC_ENTRIES减少到90,下面各种路由节点有90个,CONCENTRATOR单播数据可以顺畅的控制路由节点。在ZNP工程的zcl的函数中,zcl_SendCommand()的最后数据发送是AF_DataRequest(),不是AF_DataRequestSrcRtg()!为何在抓CONCENTRATOR发出去的控制包中  source Route Included 项为YES?而不是NO?它是在哪里把源路由表加载进去的?谢谢!

  • 应用发送数据就是用AF_DataRequest(),如果发送不成功【找不到路径】,协议栈会自己调用AF_DataRequestSrcRtg(),用户不用操作
  • #define NWK_MAX_DEVICE_LIST 10,那么邻居表最大就是10,对吗?为何还有可另外设置邻居表的最大数?
    如在路由器上,如果我设置了 #define NWK_MAX_DEVICE_LIST 10 ,#define MAX_NEIGHBOR_ENTRIES 48,那么最大的邻居表是多少呢?谢谢
  • 这两个参数不一样的,具体表述如下:

    • NWK_MAX_DEVICE_LIST
    – Defines the number of directly-connected child devices supported
    – Each entry in this table is 28 bytes of RAM
    – Default size is 20

    • MAX_NEIGHBOR_ENTRIES
    – Defines the number of "neighbor" devices, which is used in part of the Zigbee mesh-routing procedure. More neighbors <==> better mesh networking.
    – Each entry in this table is 23 bytes of RAM
    – Default value is 16