Series 1 end device sleep question

Hey,

I’d like my end-device XBee to sleep whenever it is not sampling its pins.

For this I guess I would use SM = 4 (cyclic sleep remote), I set ST to 3E8 but now the XBee doesn’ transmit any sampling packets anymore. Could anyone explain to me how to properly configure the XBee for sleeping like this?

What I want is:

Sleep
Wakeup & sample >> send to other XBee
Sleep
Wakeup & sample >> send to other XBee
Sleep

I think SM = 5 would be useful to because it should be able to receive commands when the other XBee sends a packet to update a Digital out pin status.

Your thoughts?

SM=4 is fine.

Your end-device probably does transmit, but its parent has likely timed it out, so discards the message. You need to make sure the SN/SP of the router/coordinator is large enough. Read this page:
http://www.digi.com/wiki/developer/index.php/XBee_Sleeping_Problems