Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK, Z-STACK
I'm experiencing a problem where the coordinator keeps on using a source route which is marked as invalid by the network.
The simplelink version is: SIMPLELINK-CC13X2-26X2-SDK_3.30.00.03 and is compiled with the following options: https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.x.0/firmware.patch#L86
When the coordinator has a source route to an ED and the ED switches to a different parent, the coordinator keeps on using the invalid source route.
Example:
The ED (0xe9a3) does broadcast network request
The coordinator (0x0000) responds to this request which includes a source route
The old parent of the ED (0xe064) indicates to the coordinator that the source route is invalid and responds with a Source Route Failure
As the ED did not receive a response to the network address request, it sends the request again, but the coordinator responds with the same source route resulting in another Source Route Failure indication by 0xe064. This sequence repeats itself a few times but the coordinator keeps on using the invalid source route.
If the coordinator receives a source route failure indication I would expect one of the following to happen:
- The coordinator rediscovers the route and resend the response (in this case the network address response)
- The coordinator removes the invalid source route from the source routing table. Therefore the next time it sends a request to the device it will rediscover the route.