Other Parts Discussed in Thread: CC2538, CC2538DK, Z-STACK
i am using ZigBee stack 1.2.2a in cc2538. i want to make my device(ZED) as sleepy device, so that it can run for long time when power is supplied with battery. and in compiler option i kept POWER_SAVING. hear i am triggering an event for every 2 min. hear i want to know few things
1.for testing i want to glow an led and enabled sleep mode, so when ever the device in sleep the led should off and when it wake up it should glow( i want to know which api i want to use for preforming this action)
2.so hear i am assuming the device will sleep for 2min and when the event triggers it will do its work and again go to sleep.