X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=apps%2Ftests%2Fcc2420%2FLplBroadcastCountToLeds%2FRadioCountToLedsC.nc;h=96205b7c96d94486ea15bd8803b4fb1aabf444dd;hp=71fd0279aeb0a6b67d79209ccdfd5bce9f6835f7;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/apps/tests/cc2420/LplBroadcastCountToLeds/RadioCountToLedsC.nc b/apps/tests/cc2420/LplBroadcastCountToLeds/RadioCountToLedsC.nc index 71fd0279..96205b7c 100644 --- a/apps/tests/cc2420/LplBroadcastCountToLeds/RadioCountToLedsC.nc +++ b/apps/tests/cc2420/LplBroadcastCountToLeds/RadioCountToLedsC.nc @@ -71,7 +71,7 @@ implementation { event void AMControl.startDone(error_t err) { if (err == SUCCESS) { // Note we can setup LPL before or after the radio turns on - call LowPowerListening.setLocalSleepInterval(1000); + call LowPowerListening.setLocalWakeupInterval(1000); call MilliTimer.startOneShot(1500); } else { @@ -96,7 +96,7 @@ implementation { } rcm->counter = counter; - call LowPowerListening.setRxSleepInterval(&packet, 1000); + call LowPowerListening.setRemoteWakeupInterval(&packet, 1000); if (call AMSend.send(AM_BROADCAST_ADDR, &packet, sizeof(radio_count_msg_t)) == SUCCESS) { dbg("RadioCountToLedsC", "RadioCountToLedsC: packet sent.\n", counter); locked = TRUE;