[Tinyos-help] Send Packets with Basestation to Lpl Motes
Hi all, I have written a java application to send Packets through a Mote which is connected to a Pc and is programmed with the Basestation app. For this purpose I use the java MoteIF.send function. Everything works as expected, but when my node which should receive the packets is programmed with Low Power Listening enabled, I often have to repeat my packets until the node receives it. How can I tell the Basestation or the java interface that the receiver Node uses Lpl? Thanks in advance Gabriel Neumueller ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Send Packets with Basestation to Lpl Motes
On Tue, Jul 12, 2011 at 5:33 AM, Gabriel Neumüller wrote: > Hi all, > I have written a java application to send Packets through a Mote which > is connected to a Pc and is programmed with the Basestation app. For > this purpose I use the java MoteIF.send function. > Everything works as expected, but when my node which should receive the > packets is programmed with Low Power Listening enabled, I often have to > repeat my packets until the node receives it. > How can I tell the Basestation or the java interface that the receiver > Node uses Lpl? You need to program your basestation with appropriate lpl parameters. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Send Packets with Basestation to Lpl Motes
Thanks for this advice. Now I have changed the Basestation nesc Code and it works. But is there a equivalent function in java like the call LowPowerListening.setRemoteWakeupInterval(msg, DEFAULT_LPL_REMOTE_WAKEUP_INT); function in nesc? So I could change the Lpl Remote Parameter directly from the java application. Gabriel Neumueller Am 16.07.2011 02:19, schrieb Omprakash Gnawali: > On Tue, Jul 12, 2011 at 5:33 AM, Gabriel Neumüller > wrote: >> Hi all, >> I have written a java application to send Packets through a Mote which >> is connected to a Pc and is programmed with the Basestation app. For >> this purpose I use the java MoteIF.send function. >> Everything works as expected, but when my node which should receive the >> packets is programmed with Low Power Listening enabled, I often have to >> repeat my packets until the node receives it. >> How can I tell the Basestation or the java interface that the receiver >> Node uses Lpl? > You need to program your basestation with appropriate lpl parameters. > > - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help