[Tinyos-help] Tossim and OOM killer
Hi all, A newbie question : I try to run a Tossim simulation, but when I increase the number of nodes above a few decades, OOM killer comes in and kills the simulation while creating the noise model. Is it expected to be memory hungry or should I re-check my app? ( I run Ubuntu 7.10 with 1GB memory ) Thanks in advance, Yiannis ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Tossim and OOM Killer
Hi all, A newbie question : I try to run a Tossim simulation, but when I increase the number of nodes above a few decades, OOM killer comes in and kills the simulation while creating the noise model. Is it expected to be memory hungry or should I re-check my app? ( I run Ubuntu 7.10 with 1GB memory ) Thanks in advance, Yiannis ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] initialBackoff and congestionBackoff
renjie huang wrote: Hi What is the relationship between initialBackoff and congestionBackoff in CC2420? In TinyOS-1.x, initialBackoff is smaller than congestionBackoff, but in T2, initialBackoff is larger value. I searched mailing list and some one mentioned that usually initialBackoff is bigger than congestionBackoff. Could anyone tell me what is the reason for that ? Thanks -- Renjie InitialBackoff defines the window a packet uses when enters CSMA. After this period expires, and in case that the channel is occupied, CongestionBackoff defines the new window, which is smaller in order to give priority to congested packets rather than new ones. CSMA protocols use a binary exponential backoff to catch up with high contention, but TinyOS sets the exponent base to 1, thus keeping congestion window static. Yiannis ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Micaz and Transmit Power
Hi all, I want to change the transmission power of micaz. When setting the value for transmit power through Command (java), does this correspond to the absolute value in dBm? Thanks, Yiannis ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Micaz and Transmit Power
Apparently I haven't looked so carefully in p.52 of cc2420 datasheet.. Yiannis Yiannis Yiakoumis wrote: > Hi all, > > I want to change the transmission power of micaz. > When setting the value for transmit power through Command (java), does this > correspond to > the absolute value in dBm? > > Thanks, > Yiannis > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Ctp Problem with micaz
Hi all, I run into problems using ctp in micaz. I use TestNetwork application installed in micaz. Root node seems to work ok, sending beacons with itself as parent and etx=0. But the receivers even though they get this beacon ( I have gone until insertNeighbor() which returns SUCCESS),they will keep on advertising as a parent and complain about having no route. The strange thing is that exactly the same code, compiled for telosb works without any problem... Is there any point that I should pay attention? Thanks, Yiannis ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Ctp Problem with micaz
Om, Here is the setup: Two micaz nodes, 143 is the root with ID 500, 141 is the other node. 142 is a basestation close there... Thanks, Yiannis [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:10002 [EMAIL PROTECTED]:10002: resynchronising 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0E 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0F 00 FF FF 00 00 09 00 16 33 FF FF 00 00 00 00 00 10 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 11 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 12 [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:10002 [EMAIL PROTECTED]:10002: resynchronising 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0D EE 01 F4 00 0D 00 01 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 0D 01 F4 00 00 00 47 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 48 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0E EE 01 F4 00 0E 00 01 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 0E 01 F4 00 00 00 49 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4A 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0F EE 01 F4 00 0F 00 01 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 0F 01 F4 00 00 00 4B 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4C 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 4D 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 10 EE 01 F4 00 10 00 01 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 10 01 F4 00 00 00 4E 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4F 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 50 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 51 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 52 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 53 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 54 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 11 EE 01 F4 00 11 00 01 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 11 01 F4 00 00 00 55 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 56 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 57 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 12 EE 01 F4 00 12 00 01 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 12 01 F4 00 00 00 58 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 59 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 5A 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 13 EE 01 F4 00 13 00 01 00 00 CA FE 00 00 00 00 00 00 FF FF 00 00 09 00 16 20 00 13 01 F4 00 00 00 5B 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 5C [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:10002 [EMAIL PROTECTED]:10002: resynchronising 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1B 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1C 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1D 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1E 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1F 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 20 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 21 00 FF FF 00 00 09 00 16 33 FF FF 00 00 00 00 00 22 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 23 [EMAIL PROTECTED] BaseNetwork]$ [EMAIL PROTECTED] BaseStation]$ java -classpath tinyos.jar net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:10002 [EMAIL PROTECTED]:10002: resynchronising 00 FF FF 95 CB 0E 00 C7 00 FF FF FF 25 00 95 E6 FF FE FF FF FF FF 00 FF FF 7F BC 0E 00 C7 00 FF FF FF 25 00 2D 2B FF FE FF FF FF FF 00 FF FF 00 01 0A 00 18 01 49 00 00 01 00 00 00 01 56 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 Omprakash Gnawali wrote: > On Mon, Jun 9, 2008 at 10:33 PM, Yiannis Yiakoumis <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> I run into problems using ctp in micaz. >> I use TestNetwork application installed in micaz. Root node seems to work >> ok, sending >> beacons with itself as parent and etx=0. But the receivers even though they >> get this >> beacon ( I have gone until insertNeighbor() which returns SUCCESS),they will >> keep on >> advertising as a parent and complain about having no route. >> >> The strange thing is that exactly the same code, compiled for telosb works >> without any >> problem... Is there any point that I should pay attention? >> > > We have tested TestNetwork on MicaZ as well as TelosB. > > Each mote sends debug output through the UART. Can you send the debug > output form the nodes? > > - 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] Ctp Problem with micaz
Wanted to say that 141 is the root with ID 500, and 143 the other node with ID 2. (142 still being the BaseStation).. Sorry about that, Y. Yiannis Yiakoumis wrote: > Om, > > Here is the setup: Two micaz nodes, 143 is the root with ID 500, 141 is the > other node. > 142 is a basestation close there... > > Thanks, > Yiannis > > > > > [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar > net.tinyos.tools.Listen -comm > [EMAIL PROTECTED]:10002 > [EMAIL PROTECTED]:10002: resynchronising > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0E > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0F > 00 FF FF 00 00 09 00 16 33 FF FF 00 00 00 00 00 10 > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 11 > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 12 > [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar > net.tinyos.tools.Listen -comm > [EMAIL PROTECTED]:10002 > [EMAIL PROTECTED]:10002: resynchronising > 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0D EE 01 F4 00 0D 00 01 00 00 CA FE > 00 00 00 00 00 > 00 FF FF 00 00 09 00 16 20 00 0D 01 F4 00 00 00 47 > 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 48 > 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0E EE 01 F4 00 0E 00 01 00 00 CA FE > 00 00 00 00 00 > 00 FF FF 00 00 09 00 16 20 00 0E 01 F4 00 00 00 49 > 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4A > 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0F EE 01 F4 00 0F 00 01 00 00 CA FE > 00 00 00 00 00 > 00 FF FF 00 00 09 00 16 20 00 0F 01 F4 00 00 00 4B > 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4C > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 4D > 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 10 EE 01 F4 00 10 00 01 00 00 CA FE > 00 00 00 00 00 > 00 FF FF 00 00 09 00 16 20 00 10 01 F4 00 00 00 4E > 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4F > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 50 > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 51 > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 52 > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 53 > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 54 > 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 11 EE 01 F4 00 11 00 01 00 00 CA FE > 00 00 00 00 00 > 00 FF FF 00 00 09 00 16 20 00 11 01 F4 00 00 00 55 > 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 56 > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 57 > 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 12 EE 01 F4 00 12 00 01 00 00 CA FE > 00 00 00 00 00 > 00 FF FF 00 00 09 00 16 20 00 12 01 F4 00 00 00 58 > 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 59 > 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 5A > 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 13 EE 01 F4 00 13 00 01 00 00 CA FE > 00 00 00 00 00 > 00 FF FF 00 00 09 00 16 20 00 13 01 F4 00 00 00 5B > 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 5C > [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar > net.tinyos.tools.Listen -comm > [EMAIL PROTECTED]:10002 > [EMAIL PROTECTED]:10002: resynchronising > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1B > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1C > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1D > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1E > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1F > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 20 > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 21 > 00 FF FF 00 00 09 00 16 33 FF FF 00 00 00 00 00 22 > 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 23 > [EMAIL PROTECTED] BaseNetwork]$ > > > [EMAIL PROTECTED] BaseStation]$ java -classpath tinyos.jar > net.tinyos.tools.Listen -comm > [EMAIL PROTECTED]:10002 > [EMAIL PROTECTED]:10002: resynchronising > 00 FF FF 95 CB 0E 00 C7 00 FF FF FF 25 00 95 E6 FF FE FF FF FF FF > 00 FF FF 7F BC 0E 00 C7 00 FF FF FF 25 00 2D 2B FF FE FF FF FF FF > 00 FF FF 00 01 0A 00 18 01 49 00 00 01 00 00 00 01 56 > 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 > 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 > 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 > 00 FF FF 00 01 06 00 0D 00 01 00 00 00 00 > > > > Omprakash Gnawali wrote: >> On Mon, Jun 9, 2008 at 10:33 PM, Yiannis Yiakoumis <[EMAIL PROTECTED]> wrote: >>> Hi all, >>> >>> I run into problems using ctp in micaz. >>> I use TestNetwork application installed in micaz. Root node seems to work >>> ok, sending >>> beacons with itself as parent and etx=0. But the receivers even though they >>> get this >>> beacon ( I have gone until insertNeighbor() which returns SUCCESS),they >>> will keep on >>> advertising as a parent and complain about having no route. >>> >>> The strange thing is that exactly the same code, compiled for
Re: [Tinyos-help] Ctp Problem with micaz
OK, I will and let you know when I have any news. By the way, is address filtering platform specific, or something that could work on telosb and not in micaz? Y. Omprakash Gnawali wrote: > I remember having a similar problem and I got CTP to work only after > disabling address filtering. Then I just used a fresh and clean tree > and it was working again. So, can you try a clean tree? If that does > not work, can you try disabling address filtering just so that we know > if the symptom you report is similar to the one I saw couple weeks > ago. > > - om_p > > On Mon, Jun 9, 2008 at 11:21 PM, Yiannis Yiakoumis <[EMAIL PROTECTED]> wrote: >> Wanted to say that 141 is the root with ID 500, and 143 the other node with >> ID 2. (142 still being the BaseStation).. >> >> Sorry about that, >> Y. >> >> Yiannis Yiakoumis wrote: >>> Om, >>> >>> Here is the setup: Two micaz nodes, 143 is the root with ID 500, 141 is >>> the other node. 142 is a basestation close there... >>> >>> Thanks, >>> Yiannis >>> >>> >>> >>> >>> [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar >>> net.tinyos.tools.Listen >>> -comm [EMAIL PROTECTED]:10002 >>> [EMAIL PROTECTED]:10002: resynchronising >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0E >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0F >>> 00 FF FF 00 00 09 00 16 33 FF FF 00 00 00 00 00 10 >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 11 >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 12 >>> [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar >>> net.tinyos.tools.Listen >>> -comm [EMAIL PROTECTED]:10002 >>> [EMAIL PROTECTED]:10002: resynchronising >>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0D EE 01 F4 00 0D 00 01 00 00 CA >>> FE 00 00 00 00 00 >>> 00 FF FF 00 00 09 00 16 20 00 0D 01 F4 00 00 00 47 >>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 48 >>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0E EE 01 F4 00 0E 00 01 00 00 CA >>> FE 00 00 00 00 00 >>> 00 FF FF 00 00 09 00 16 20 00 0E 01 F4 00 00 00 49 >>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4A >>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0F EE 01 F4 00 0F 00 01 00 00 CA >>> FE 00 00 00 00 00 >>> 00 FF FF 00 00 09 00 16 20 00 0F 01 F4 00 00 00 4B >>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4C >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 4D >>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 10 EE 01 F4 00 10 00 01 00 00 CA >>> FE 00 00 00 00 00 >>> 00 FF FF 00 00 09 00 16 20 00 10 01 F4 00 00 00 4E >>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4F >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 50 >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 51 >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 52 >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 53 >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 54 >>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 11 EE 01 F4 00 11 00 01 00 00 CA >>> FE 00 00 00 00 00 >>> 00 FF FF 00 00 09 00 16 20 00 11 01 F4 00 00 00 55 >>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 56 >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 57 >>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 12 EE 01 F4 00 12 00 01 00 00 CA >>> FE 00 00 00 00 00 >>> 00 FF FF 00 00 09 00 16 20 00 12 01 F4 00 00 00 58 >>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 59 >>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 5A >>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 13 EE 01 F4 00 13 00 01 00 00 CA >>> FE 00 00 00 00 00 >>> 00 FF FF 00 00 09 00 16 20 00 13 01 F4 00 00 00 5B >>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 5C >>> [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar >>> net.tinyos.tools.Listen >>> -comm [EMAIL PROTECTED]:10002 >>> [EMAIL PROTECTED]:10002: resynchronising >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1B >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1C >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1D >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1E >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 1F >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 20 >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 21 >>> 00 FF FF 00 00 09 00 16 33 FF FF 00 00 00 00 00 22 >>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 23 >>> [EMAIL PROTECTED] BaseN
Re: [Tinyos-help] Ctp Problem with micaz
It seems that something else is going on... This is the output, after a fresh restart and/or address filtering ( I did this through -DCC2420_NO_ADDRESS_RECOGNITION, is this correct? ). In both cases root node has id 500. If I interpret the packet correct (ID=0x18, 2 bytes for LinkEstimator, 1 byte option, 2 bytes parent,...) micaz root sends the packet with the wrong parent (0001). (I use set-mote-id in Mirage in order to set the id (after enabling DTOS_NODE_ID=TOS_LOCAL_ADDRESS in my Makefile ). I have checked with debug messages and nodes have the correct id...) BaseStation in Telosb setup - only root node transmits. [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/cs344/BaseStation$ java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB5:telosb serial@/dev/ttyUSB5:115200: resynchronising 00 FF FF 01 F4 07 00 18 00 00 00 01 F4 00 00 00 FF FF 01 F4 07 00 18 00 01 00 01 F4 00 00 00 FF FF 01 F4 07 00 18 00 02 00 01 F4 00 00 00 FF FF 01 F4 06 00 0D 00 01 00 00 00 00 00 FF FF 01 F4 07 00 18 00 03 00 01 F4 00 00 BaseStation in micaz - one root + one node 00 FF FF 00 01 0A 00 18 01 12 80 FF FF 00 00 00 01 00 00 FF FF 00 01 0A 00 18 01 59 80 FF FF 00 00 00 01 00 00 FF FF 00 01 0A 00 18 01 13 80 FF FF 00 00 00 01 00 00 FF FF 00 01 07 00 18 00 16 00 00 01 00 00 00 FF FF 00 01 07 00 18 00 17 00 00 01 00 00 Thanks, Y. Yiannis Yiakoumis wrote: > OK, I will and let you know when I have any news. > > By the way, is address filtering platform specific, or something that could > work on telosb > and not in micaz? > > Y. > > Omprakash Gnawali wrote: >> I remember having a similar problem and I got CTP to work only after >> disabling address filtering. Then I just used a fresh and clean tree >> and it was working again. So, can you try a clean tree? If that does >> not work, can you try disabling address filtering just so that we know >> if the symptom you report is similar to the one I saw couple weeks >> ago. >> >> - om_p >> >> On Mon, Jun 9, 2008 at 11:21 PM, Yiannis Yiakoumis <[EMAIL PROTECTED]> wrote: >>> Wanted to say that 141 is the root with ID 500, and 143 the other node with >>> ID 2. (142 still being the BaseStation).. >>> >>> Sorry about that, >>> Y. >>> >>> Yiannis Yiakoumis wrote: >>>> Om, >>>> >>>> Here is the setup: Two micaz nodes, 143 is the root with ID 500, 141 is >>>> the other node. 142 is a basestation close there... >>>> >>>> Thanks, >>>> Yiannis >>>> >>>> >>>> >>>> >>>> [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar >>>> net.tinyos.tools.Listen >>>> -comm [EMAIL PROTECTED]:10002 >>>> [EMAIL PROTECTED]:10002: resynchronising >>>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0E >>>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 0F >>>> 00 FF FF 00 00 09 00 16 33 FF FF 00 00 00 00 00 10 >>>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 11 >>>> 00 FF FF 00 00 09 00 16 12 00 00 00 00 00 00 00 12 >>>> [EMAIL PROTECTED] BaseNetwork]$ java -classpath tinyos.jar >>>> net.tinyos.tools.Listen >>>> -comm [EMAIL PROTECTED]:10002 >>>> [EMAIL PROTECTED]:10002: resynchronising >>>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0D EE 01 F4 00 0D 00 01 00 00 CA >>>> FE 00 00 00 00 00 >>>> 00 FF FF 00 00 09 00 16 20 00 0D 01 F4 00 00 00 47 >>>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 48 >>>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0E EE 01 F4 00 0E 00 01 00 00 CA >>>> FE 00 00 00 00 00 >>>> 00 FF FF 00 00 09 00 16 20 00 0E 01 F4 00 00 00 49 >>>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4A >>>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 0F EE 01 F4 00 0F 00 01 00 00 CA >>>> FE 00 00 00 00 00 >>>> 00 FF FF 00 00 09 00 16 20 00 0F 01 F4 00 00 00 4B >>>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4C >>>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 4D >>>> 00 FF FF 00 00 17 00 EE 00 00 00 00 01 F4 10 EE 01 F4 00 10 00 01 00 00 CA >>>> FE 00 00 00 00 00 >>>> 00 FF FF 00 00 09 00 16 20 00 10 01 F4 00 00 00 4E >>>> 00 FF FF 00 00 09 00 16 50 00 00 00 00 00 00 00 4F >>>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 50 >>>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 51 >>>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 52 >>>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 53 >>>> 00 FF FF 00 00 09 00 16 33 00 01 00 00 00 00 00 54 >>>> 00 FF FF 0
Re: [Tinyos-help] Ctp Problem with micaz
Yep, Actually TOS_NODE_ID was set, but ActiveMessageAddress did not which led to all this trouble... Thanks, Y. Philip Levis wrote: > > On Jun 10, 2008, at 11:38 AM, Yiannis Yiakoumis wrote: > >> >> If I interpret the packet correct (ID=0x18, 2 bytes for LinkEstimator, >> 1 byte option, 2 >> bytes parent,...) micaz root sends the packet with the wrong parent >> (0001). >> >> (I use set-mote-id in Mirage in order to set the id (after enabling >> DTOS_NODE_ID=TOS_LOCAL_ADDRESS in my Makefile ). I have checked with >> debug messages and >> nodes have the correct id...) >> >> BaseStation in Telosb setup - only root node transmits. >> >> [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/cs344/BaseStation$ java >> net.tinyos.tools.Listen -comm >> serial@/dev/ttyUSB5:telosb >> serial@/dev/ttyUSB5:115200: resynchronising >> 00 FF FF 01 F4 07 00 18 00 00 00 01 F4 00 00 >> 00 FF FF 01 F4 07 00 18 00 01 00 01 F4 00 00 >> 00 FF FF 01 F4 07 00 18 00 02 00 01 F4 00 00 >> 00 FF FF 01 F4 06 00 0D 00 01 00 00 00 00 >> 00 FF FF 01 F4 07 00 18 00 03 00 01 F4 00 00 >> >> BaseStation in micaz - one root + one node >> >> 00 FF FF 00 01 0A 00 18 01 12 80 FF FF 00 00 00 01 00 >> 00 FF FF 00 01 0A 00 18 01 59 80 FF FF 00 00 00 01 00 >> 00 FF FF 00 01 0A 00 18 01 13 80 FF FF 00 00 00 01 00 >> 00 FF FF 00 01 07 00 18 00 16 00 00 01 00 00 >> 00 FF FF 00 01 07 00 18 00 17 00 00 01 00 00 > > It turns out that he was using TinyOS 1.x set-mote-id rather than T2's > tos-set-symbols with the proper variable names, so when he tried to set > the node ID to 500, it didn't work. > > Phil > > ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help