This is an optimization of a problem I have posted here (http://community.ti.com/forums/p/2949/11417.aspx)
Right now I am able to toggle when the end deivce will rejoin or not. However we obsever that even if I put the duration of the rejoin to 500ms we are still seeing that one rejoin cycle is longer than that duration.
I did some investigation and determined that in ZDO_StartDevice it uses a global, zgDefaultStartingScanDuration, to set the scan duration of each rejoin.
Can you then tell me what is the valid boundary of this variable? At default it is set to STARTING_SCAN_DURATION (5).
I am doing some experimenation now to determine if reducing it to 1 or 0 will minimize the rejoin duration.
But any feedback will be greatly appreciated.