Other Parts Discussed in Thread: Z-STACK
Hallo,
we would like to implement a sleepy end device with the following "standard" functionality:
1. When the device starts it checks whether it belongs to a network and if so activates the network (ZDO_StartDevice I guess). Otherwise it enters the deep sleep mode.
2. If not on a network a 10 second button press activates the join/paring functionality. The joining/beaconing is active only for 30/60 seconds. If a join cannot be accomplished, the device goes back to deep sleep.
3. During normal operation (when joined a network) the device should be polling every 5-10 Minutes. If an attribute reporting fails, the polling should be automatically increased and if the parent is no longer reachable, a rejoin should be attempted. Initially rejoins should be sent every minute. After some time rejoin attempts should be made every 10 minutes.
Is there a sample application, which implements this "standard" functionality? If no, could you please outline the necessary steps/APIs needed for implementing it. For instance, is it possible to change the beacon-rate dynamically???
Thanks in advance,
Todor Dimitrov