Change Sleep mode at the real time with rf signal.

I have 2 Xbee’s , the first is the Coordinator and he connects to Arduino uno and to my pc. And the second xbee(EndDevice) connects only to the SparkFun adapter and temperature sensor (he doesn’t has any microcontroler). I want to change the sleep mode of endDevice without connect him to the pc , only by code from pc to coordinator and the coordinator send it to the EndDevice. How i can do it ???

Regards,
Aviad.

Use API mode on your coordinator and send a remote AT command changing the value of the SM command.