Hi Janos! I think IRIS is no different than TelosB in this regard. If you use LplSenderC, then you will get the remote wakeup interval set to LPL_DEF_REMOTE_WAKEUP, otherwise you have to set it yourself. It might be true that on IRIS you have to call PacketClear at least once on any messager_t buffer not already initialized.
Best, Miklos On Mon, Aug 8, 2011 at 6:03 PM, Janos Sallai <[email protected]> wrote: > Hamid, > > LPL_DEF_REMOTE_WAKEUP is not used, i.e. it has no effect on the iris. > You need to call Packet.clear() and set the remote wakeup interval on > every outgoing packet. > > Janos > > On Mon, Aug 8, 2011 at 10:44 AM, Hamid Rafiei Karkvandi > <[email protected]> wrote: >> Hi, >> >> Thank you for the reply, >> >> I had also another issue with LPL and IRIS mote. I tried to use CTP with >> LPL, therefore I added interface LowPowerListening in my module and I added >> these flags to the Makefile: >> CFLAGS += -DLOW_POWER_LISTENING >> CFLAGS += -DLPL_DEF_LOCAL_WAKEUP=512 >> CFLAGS += -DLPL_DEF_REMOTE_WAKEUP=512 >> CFLAGS += -DDELAY_AFTER_RECEIVE=20 >> >> I can see that the program is successfully compiled and installed on the >> motes. but I tried to establish a multi-hop connection using nine IRIS motes >> (One source node). When I turn on the motes it works fine but as soon as I >> turn off one of the motes being used as the parent of the source, the >> connection is lost and the source does not try other motes as the parent (I >> am sure other motes are in range of the root and source and can be used as >> the parent as this scenario works fine without LPL). Even if I turn on that >> mote again, still the root does not receive any message from the source. >> >> I have not called any command in my implementation and I thought that the >> flags are enough. Should I call any specific command for LPL inside the >> implementation part? >> >> >> Thank you for your support, >> >> Hamid >> >> >> >> >> >> On Thu, Aug 4, 2011 at 1:39 AM, Miklos Maroti <[email protected]> >> wrote: >>> >>> Box-MAC-2. Miklos >>> >>> On Wed, Aug 3, 2011 at 11:17 PM, Hamid Rafiei Karkvandi >>> <[email protected]> wrote: >>> > Hi, >>> > >>> > I would like to know that the available LPL code in the tinyos for IRIS >>> > mote, is the implementation of which BoX-MAC (BoX-MAC-1 or BoX-MAC-2)? >>> > >>> > >>> > Thank you, >>> > >>> > >>> > Hamid >>> > >>> > >>> > >>> > _______________________________________________ >>> > Tinyos-help mailing list >>> > [email protected] >>> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> > >> >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
