Part Number: CC1352P
Hi Ryan and Yikai,
There were some routing entries still active for long time even the short address was not exist anymore in the nwk.
How to count down the routing entry expiry time(30S by default) in SDK?
Best regards,
David
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.
Part Number: CC1352P
Hi Ryan and Yikai,
There were some routing entries still active for long time even the short address was not exist anymore in the nwk.
How to count down the routing entry expiry time(30S by default) in SDK?
Best regards,
David
Hi David,
Developers do not have access to the routing expiry time logic. How are you observing routing entries within your application? Even if a route can be marked as expired, it is not removed until necessary.
Regards,
Ryan
Hi Ryan,
Thx for your quick reply.
I got routing table using ZDO_MGMT_RTG_RSP.
The status of some routing entries are 0x00,but the short address was not exist anymore in current nwk (it was previous short address of a ZR which short address has been updated).
Best regards,
David
Hi Ryan,
The routing entry with invalid short address in current nwk was not marked as expired after 24 hours. There were many empty entries in the routing table, it did not affect others through.
Best regards,
David
Hi David,
What are the route status of these items?
#define ZDO_MGMT_RTG_ENTRY_ACTIVE 0x00 #define ZDO_MGMT_RTG_ENTRY_DISCOVERY_UNDERWAY 0x01 #define ZDO_MGMT_RTG_ENTRY_DISCOVERY_FAILED 0x02 #define ZDO_MGMT_RTG_ENTRY_INACTIVE 0x03
So long as they are marked inactive and are cleaned out once MAX_RTG_ENTRIES is reached then they are not doing any harm to the network stability.
Regards,
Ryan
Can you please send the full _zstack_zdomgmtrtgrspind_t structure and identify which routes you expect to be inactive/removed? https://dev.ti.com/tirex/explore/node?node=APNpIKhwr2MCvMC5VjfpZA__pTTHBmu__LATEST
Thanks,
Ryan