X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2Fblip%2FIPDispatchP.nc;h=76f192335965c5f7ffd17f00fa300fe226f41471;hb=94bf9a50a8c350d77f8291926d3bfbc06df236ea;hp=419cd68797cb73efedd6d97f2bea9cbde3aa9f4d;hpb=96329ac147c7cb9ee534cf9bf7a8ae8c936f7257;p=tinyos-2.x.git diff --git a/tos/lib/net/blip/IPDispatchP.nc b/tos/lib/net/blip/IPDispatchP.nc index 419cd687..76f19233 100644 --- a/tos/lib/net/blip/IPDispatchP.nc +++ b/tos/lib/net/blip/IPDispatchP.nc @@ -237,7 +237,7 @@ module IPDispatchP { event void RadioControl.startDone(error_t error) { #ifdef LPL_SLEEP_INTERVAL - call LowPowerListening.setLocalSleepInterval(LPL_SLEEP_INTERVAL); + call LowPowerListening.setLocalWakeupInterval(LPL_SLEEP_INTERVAL); #endif if (error == SUCCESS) { call ICMP.sendSolicitations(); @@ -791,10 +791,12 @@ module IPDispatchP { call PacketLink.setRetries(s_entry->msg, s_entry->info->policy.retries); call PacketLink.setRetryDelay(s_entry->msg, s_entry->info->policy.delay); #ifdef LPL_SLEEP_INTERVAL - call LowPowerListening.setRxSleepInterval(s_entry->msg, call LowPowerListening.getLocalSleepInterval()); + call LowPowerListening.setRemoteWakeupInterval(s_entry->msg, + call LowPowerListening.getLocalWakeupInterval()); #endif - dbg("IPDispatch", "sendTask dest: 0x%x len: 0x%x \n", call Ieee154Packet.destination(s_entry->msg), + dbg("IPDispatch", "sendTask dest: 0x%x len: 0x%x \n", + call Ieee154Packet.destination(s_entry->msg), call Packet.payloadLength(s_entry->msg)); if (s_entry->info->failed) {