Other Parts Discussed in Thread: Z-STACK
We are using the CC2538 with 512K and switched from Zstack 1.2 version to 3.0.1 and we have a new problem
From the traces we see the End Device is now sending a LEAVE command after a few seconds following successful association and binding, after which the coordinator disconnects the device and then the association/bind/LEAVE cycle repeats ad infinitum.
We tried changing compile time parameters
- NWK_END_DEVICE_LEAVE_TIMEOUT and NWK_END_DEV_TIMEOUT_DEFAULT (tried 10 seconds to several minutes)
- zgNwkLeaveRequestAllowed (tried switching between True and False)
with no effect.
The difference is in the Coordinator's behavior, as we have tried an ED v1.2 as well as an ED v3.0.1 and they both send a LEAVE to the 3.0.1. coordinator, so we can infer that the coordinator is setting some run-time parameters as part of the binding process (?) causing this.