static void radioRestore() { if (sSleep) { PHY_Sleep(); } else if (sRxEnable) { PHY_SetRxState(true); } }
static void radioSleep() { if (!sSleep) { PHY_SetRxState(false); PHY_Sleep(); sSleep = true; sRxEnable = false; } }
void NWK_SleepReq(void) { PHY_Sleep(); }