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.

CC2538: How is my host application expected to react on a ZDO_SRC_RTG_IND?

Part Number: CC2538
Other Parts Discussed in Thread: Z-STACK

Hello,

Im using the ZNP firmware on a CC2538 attached via USB to a Linux based gateway. I’ve recently started to integrate a couple of end devices for the first time. Up until now I only dealt with routers and I never saw ZDO_SRC_RTG_INDs. I don’t know how my application is expected to behave upon reception of this kind of messages. They come in quite frequently so I’m wondering what do they mean and how to react. What should my application do after I receive a ZDO_SRC_RTG_IND?

I didn’t change anything about the routing mechanism since I thought that the default AODV mechanism is suited well and the actually only way of routing within ZigBee. But I found some topics here in the forums which state that there are other mechanisms. Which one is the best?

  • You can refer to Chapter 5. Routing in Z-Stack Developer's Guide.pdf
  • Hello,

    sadly I cant figure out why I am receiving this frames and how my application should react from reading the routing chapter in the document you mentioned. Could you point me more directly on how my application should react?

    Additionally I came across a couple of settings which I never noticed before. For example MAX_RTG_ENTRIES, ROUTE_EXPIRY_TIMEMAX_RREQ_ENTRIES. Im wondering what are good values for this settings since the default TI choose seems to be rather small. They chose a default of 20 for NWK_MAX_DEVICE_LIST which turned out to be very small in a common home automation network. Could you suggest some good values for the settings I mentioned above?

  • I don't think you have to deal with ZDO_SRC_RTG_IND in application. For configuring a large Zigbee network, you can refer to application note at www.ti.com/.../swra427c.pdf
  • Thanks for your hint. 

    I have one more question regarding this document. They use Concentrator with many-to-one routing enabled, while I think I know how to actually enable this, I don't know if my application needs to be adjusted to this. Do I need to manage the routes then manually? Or will my application work just like now without any modifications?

  • Your application should work normally without modification.