I have an xbee that connects to a sensor via serial. My xbee receives the data on its serial interface and transmits it to the other xbee connected to a pc and I can see/read all the sensor data just fine. My problem is that I want the xbee to sleep and wake up every x minutes and transmit for 30 seconds and then go back to sleep.
I'm not using the in sleep, but just use the timer settings on the xbee but it seems that as long as that there is data coming into the serial interface of the xbee that it doesn't go into sleep mode but just keep transmitting all the time. Is this normal behaviour or am I just configuring my xbee wrong? Will the xbee go into sleep regardless of data coming into the serial interface?
Can I fix this problem by using the pin sleep functionality?

