Re: [Tinyos-help] How to update the TinyOS I am using?

2008-06-11 Thread Paul Stickney
I have both the CVS and package versions of TinyOS 2 "installed". (TinyOS 2.x lives nicely just plopped in any old directory as long as you have $TOSROOT and friends correctly setup.) /opt/tinyos-2.x is for the latest "official" release and /opt/cvs/tinyos-2.x is for the CVS version. That way, I

Re: [Tinyos-help] Fwd: high density and CTP

2008-06-11 Thread Paul Stickney
Yes -- and unless it is demonstrable in *the current* setup that, say, MHLQI performs good while CTP performs bad, it's a good base to start on. (Showing this could possibly point to problems with the CTP protocol implementation.) But there are different strategies to combat the effects (depending

Re: [Tinyos-help] How to update the TinyOS I am using?

2008-06-11 Thread Sarfraz Nawaz
Gary, Paul has pretty much summed it up. You can accomplish what Paul had described by using the following commands. mkdir /opt/cvs cd /opt/cvs cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P tinyos-2.x Edit your environment varia

[Tinyos-help] TOSBase buffering

2008-06-11 Thread rami halloush
Hi, I am trying to figure out the maximum "packet transmission rate" (maximum number of packets sent per sec.). I have a simple application that consists of two micaz motes; sender and receiver. The sender sends a message whenever the Send.sendDone() event of the previously sent message is sig

Re: [Tinyos-help] Compiling TOSBoot

2008-06-11 Thread Antonio Prados Vilchez
Thanks for your reply, Razvan. I also tried to update my CVS tree, but it didn't even work. When I try to complie it, I get the following errors: [EMAIL PROTECTED] /cygdrive/c/cygwin/cygwin/opt/tinyos-2.x/tos/lib/tosboot $ make micaz mkdir -p build/micaz compiling TOSBoot to a micaz binary ncc

Re: [Tinyos-help] about mit510's Reset Button

2008-06-11 Thread Siirtola Harri
It resets the mote attached to MIB510. Programming failures don't occur because of MIB510 state, it's always ok if not electrically broken. The most common reasons are badly attached mote, TX switch in the wrong position and wrong programming command format. Regards, Harri

Re: [Tinyos-help] PySerial problem in Deluge T2

2008-06-11 Thread Antonio Prados Vilchez
Did you install it in the default directory? I'm using Cygwin for WinXP, should I install Python and PySerial in a Cygwin directory? I've installed PySerial 2.2 but I keep on getting the same error Please install PySerial first. De: [EMAIL PROTECTED] en nomb

[Tinyos-help] values in CC2420.h,please help

2008-06-11 Thread salvatore galati
Hi. I'm a student in Information Engeenering at University of Pisa. I'm working on WSN and i'm using TinyOs 2.x on cygwin and TmoteSky motes. In my application there is only one mote that sends messages in BROADCAST, ( so there is no collisions with other messages sent by other motes) My problem

Re: [Tinyos-help] about FTSP

2008-06-11 Thread jiwen zhang
Hello brano : The file CC2420CsmaP.nc i mentioned in last email is in tinyos-2.x-contrib/stanford-lgl/tos/chips/cc2420/csma , and the file CC2420CsmaC is in tinyos-2.x/tos/chips/cc2420/csma . i have set the LGLDIR (export LGLDIR="$HOME/local2/src/tinyos-2.x-contrib/stanford-lgl/") , and i s

Re: [Tinyos-help] PER/BER measurements

2008-06-11 Thread Min Guo
Actually, I also want to ask a related question, is the the following the ONLY difference between mode 2 and mode 1: with mode 2: there is no validity checking for the received information, the receiver simply put any received message into the RXFIFO buffer in a cyclic way. And The buffer overflow

[Tinyos-help] Problems with Xubuntos: cvs update + firefox

2008-06-11 Thread Rahmadi Trimananda
Dear all, I am a new member of this mailing-list. I'm now using XUbunTOS and I got two problems: 1. I want to download something from the CVS repository of TinyOS2.0. According to http://docs.tinyos.net/index.php/The_TinyOS_printf_Library, I have to set a few lines of commands: cd $TO

[Tinyos-help] response time

2008-06-11 Thread Tiny User
hallo, please how can we calculate the tinyos response time for a task? thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] PER/BER measurements

2008-06-11 Thread rodolfo de paz
Hi Min, That's the only difference i found as well between mode 2 and normal buffered mode which is referred as 0 in the register. My experience doing PER/BER measurements is that i didn't find how to do change receive mode in Tinyos. So i finally did it with the Ember Rangetest firmware and

Re: [Tinyos-help] PySerial problem in Deluge T2

2008-06-11 Thread Janos Sallai
Antonio: I don’t know what you mean by default directory. I use the version of python that comes with the latest cygwin. PySerial installs fine. Just make sure that you run “python setup.py install” at the cygwin prompt. Janos From: Antonio Prados Vilchez [mailto:[EMAIL PROTECTED]

Re: [Tinyos-help] PER/BER measurements

2008-06-11 Thread Min Guo
In CC2420ControP.nc, there is part of code to set MDMCTRL0. However I tried to copy this code and set Mdmctrl1, but that does not work void writeMdmctrl0() { atomic { call MDMCTRL0.write( ( 1 << CC2420_MDMCTRL0_RESERVED_FRAME_MODE ) | ( addressRecognition << CC2420_MDMCTRL0_ADR_D

Re: [Tinyos-help] PER/BER measurements

2008-06-11 Thread rodolfo de paz
Yeah, you can write the control registers of the radio chip to change transmit and receive modes but it seems that tinyos does not support any other mode than default one. As i said i solved my problem using another firmware that belongs to EMBER and it is independent of tinyos. I think that t

Re: [Tinyos-help] about mit510's Reset Button

2008-06-11 Thread Yu Qun
Thank you so much for your help. Maggie On Wed, Jun 11, 2008 at 4:36 AM, Siirtola Harri <[EMAIL PROTECTED]> wrote: > It resets the mote attached to MIB510. Programming failures don't occur > because of MIB510 state, it's always ok if not electrically broken. The most > common reasons are badly a

Re: [Tinyos-help] about FTSP

2008-06-11 Thread Branislav Kusy
hi jiwen, jiwen zhang wrote: > Hello brano : > The file CC2420CsmaP.nc i mentioned in last email is in > tinyos-2.x-contrib/stanford-lgl/tos/chips/cc2420/csma , and the file > CC2420CsmaC is in tinyos-2.x/tos/chips/cc2420/csma . >i have set the LGLDIR (export > LGLDIR="$HOME/local2/src/

Re: [Tinyos-help] FTSP - Calculation of offset

2008-06-11 Thread Marco Langerwisch
Hi Brano, theres still something I don't understand: > it has access to the SFD_tx timestamp; instead of transmitting T1^ and > T_SFD_tx separately, it transmits their offset T_offset=T1^-T_SFD_tx > (saving 4 bytes). As I can see, T-SFD_tx is in LocalTime and happens after T1^, hence T_offset

Re: [Tinyos-help] FTSP - Calculation of offset

2008-06-11 Thread Branislav Kusy
Marco Langerwisch wrote: > Hi Brano, > > theres still something I don't understand: > > > it has access to the SFD_tx timestamp; instead of transmitting T1^ and > > T_SFD_tx separately, it transmits their offset T_offset=T1^-T_SFD_tx > > (saving 4 bytes). > As I can see, T-SFD_tx is in Local

[Tinyos-help] Arbitration over I2C when using two masters

2008-06-11 Thread Sagar Bijwe
According to msp user manual if two masters are active at the same time over I2C then one has to switch to slave mode. Do anybody have some example code for telos mote working in both master as well as slave mode over I2C doing the arbitration. ___ Tinyo

Re: [Tinyos-help] PySerial problem in Deluge T2

2008-06-11 Thread Dan
I'm using Xubuntos. Following the installation instructions of PySerial, I also used "python setup.py install" and it works OK now. Dan On 6/11/08, Antonio Prados Vilchez <[EMAIL PROTECTED]> wrote: > > > > Did you install it in the default directory? I'm using Cygwin for WinXP, > should I instal

Re: [Tinyos-help] Fwd: high density and CTP

2008-06-11 Thread Philip Levis
On Jun 10, 2008, at 1:02 PM, Nahr ... wrote: > I want to say when the number of nodes in the network is high > > -- Forwarded message -- > From: Nahr ... <[EMAIL PROTECTED]> > Date: 10 juin 2008 21:56 > Subject: high density and CTP > To: tinyos-help > > Hi, > Why CTP is not perf

Re: [Tinyos-help] Compiling TOSBoot

2008-06-11 Thread Razvan Musaloiu-E.
Hi! On Wed, 11 Jun 2008, Antonio Prados Vilchez wrote: > Thanks for your reply, Razvan. > I also tried to update my CVS tree, but it didn't even work. When I try to > complie it, I get the following errors: > > [EMAIL PROTECTED] /cygdrive/c/cygwin/cygwin/opt/tinyos-2.x/tos/lib/tosboot > $ make m

Re: [Tinyos-help] Compiling TOSBoot

2008-06-11 Thread Philip Levis
On Jun 11, 2008, at 11:45 AM, Razvan Musaloiu-E. wrote: >> > I don't know why you get this error. The DelugeIdent is defined in > tos/lib/Deluge/Deluge.h which is included by an 'includes Deluge' > statement in TOSBoot.nc. > > What version of nesc are you using? Mine is 1.2.9. Can you have the >

[Tinyos-help] BaseStation / TOSSIM - don't receive data (radio interface)

2008-06-11 Thread Daniel Pereira
Hi all, I compile BaseStation application for TOSSIM (make micaz sim-sf). Then, I run the python script to create nodes, prepare radio topology and create serial message as you can see in the attached files. I send four serial messages to node 1, the node 1 after receive the serial messages send d

[Tinyos-help] xml file

2008-06-11 Thread Rashmi Parthasarathy
Hi, Can anybody give me a brief idea about how the tos_image.xml file is generated in build/telosb? Thanks Rashmi -- Imagination is more important than knowledge --- Albert Einstein ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu http

Re: [Tinyos-help] BaseStation / TOSSIM - don't receive data (radio interface)

2008-06-11 Thread Paul Stickney
Some possible problems you may want to explore: - Links not correctly established (The file, topo.txt, really shouldn't have duplicates) Test: Verify correct links established - Links added, but not above noise threshold Test: Verify correct links established - Too much noise / never clear c

Re: [Tinyos-help] Fwd: high density and CTP

2008-06-11 Thread Nahr ...
Hi, Thanks for your interest professor Philip, I simulated CTP with 100 nodes and I found that the delivery ratio is low about 40%. Perhaps, it is due to congestion or high cost. Regards, Nahr Elk 2008/6/11, Philip Levis <[EMAIL PROTECTED]>: > > > On Jun 10, 2008, at 1:02 PM, Nahr ... wrote: > >

Re: [Tinyos-help] BaseStation / TOSSIM - don't receive data (radio interface)

2008-06-11 Thread Paul Stickney
In this particular case, pay close attention to my first bullet posted. (hint: >> if (s[0] == "gain"): << is problematic.) HTH, Paul ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/list

Re: [Tinyos-help] xml file

2008-06-11 Thread Paul Stickney
Running grep -R tos_image.xml $TOSROOT/support Result: make/tos_image.extra: @$(TOS_IMAGE_PL) $(IDENT_FLAGS) --ihex="$(MAIN_IHEX)" --exe="$(MAIN_EXE)" --objdump="$(OBJDUMP)" --platform="$(PLATFORM)" > $(BUILDDIR)/tos_image.xml Running: grep -R TOS_IMAGE_PL $TOSROOT/support Result (and more): /op

Re: [Tinyos-help] Compiling TOSBoot

2008-06-11 Thread Razvan Musaloiu-E.
Hi! On Wed, 11 Jun 2008, Philip Levis wrote: > > On Jun 11, 2008, at 11:45 AM, Razvan Musaloiu-E. wrote: >>> >> I don't know why you get this error. The DelugeIdent is defined in >> tos/lib/Deluge/Deluge.h which is included by an 'includes Deluge' >> statement in TOSBoot.nc. >> >> What version

Re: [Tinyos-help] xml file

2008-06-11 Thread Rashmi Parthasarathy
Thanks Paul! That was helpful :) On Wed, Jun 11, 2008 at 1:57 PM, Paul Stickney <[EMAIL PROTECTED]> wrote: > Running grep -R tos_image.xml $TOSROOT/support > Result: > make/tos_image.extra: @$(TOS_IMAGE_PL) $(IDENT_FLAGS) > --ihex="$(MAIN_IHEX)" --exe="$(MAIN_EXE)" --objdump="$(OBJDUMP)" > --pl

Re: [Tinyos-help] Fwd: high density and CTP

2008-06-11 Thread Philip Levis
On Jun 11, 2008, at 1:58 PM, Nahr ... wrote: > Hi, > Thanks for your interest professor Philip, > I simulated CTP with 100 nodes and I found that the delivery ratio > is low about 40%. > Perhaps, it is due to congestion or high cost. Over what time period? With what network topology? With what

[Tinyos-help] Marionette TinyOS 2

2008-06-11 Thread Pieter De Mil
Hi, I want to use Marionette in TinyOS 2, but ... $ MarionetteShell.py telosb [EMAIL PROTECTED]:9002 Traceback (most recent call last): File "/opt/SVN/tinyos-2.x-contrib/marionette/support/sdk/python/tinyos/marionette/apps/MarionetteShell.py", line 53, in ? import pytos.util.NescApp as Nes

Re: [Tinyos-help] xml file

2008-06-11 Thread Paul Stickney
You're welcome :) ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Marionette TinyOS 2

2008-06-11 Thread Paul Stickney
What version of Python are you using? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Marionette TinyOS 2

2008-06-11 Thread Pieter De Mil
[EMAIL PROTECTED]:~$ python Python 2.4.4 (#2, Mar 7 2008, 04:45:43) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 On wo, 2008-06-11 at 16:34 -0700, Paul Stickney wrote: > What version of Python are you using? > ___ > Tinyos-help

Re: [Tinyos-help] Marionette TinyOS 2

2008-06-11 Thread Paul Stickney
The problem is that the syntax: "class Foo():" was introduced in Python 2.5 (it was actually around in 0.91 to 1???) Change it to: "class Foo(object):" or "class Foo:" Or try to upgrade Python to 2.5 (which is what I'd recommend anyway ;) HTH, Paul On 6/11/08, Pieter De Mil <[EMAIL PROTECTED]>

Re: [Tinyos-help] about FTSP

2008-06-11 Thread jiwen zhang
Hell brano : it is not a hurry-up thing , so i will wait for some days , can you send me an email when you finish it ? -:) brano , you say the support for IRIS is coming (by janos sallai) (i don't know the emil of janos sallai , can you tell me?), i want to ask whether it is in developing ?

Re: [Tinyos-help] Problems with Xubuntos: cvs update + firefox

2008-06-11 Thread Sarfraz Nawaz
I recently mentioned this to another poster and I will mention again that, XubunTOS has tinyos release version 2.0.2 which is not cvs updatable. You will have to check out the entire tinyos-2.x directory from the CVS repository into a separate directory. On Wed, Jun 11, 2008 at 9:45 PM, Rahmadi T

[Tinyos-help] send 2 msg at the same time with different destination

2008-06-11 Thread dima .
hello, i want to ask is it possible to send two different message to two different destination at the same time using a different ID With sendMsg.send[uint8_t id]?? if no what is the best solution ? best regards dima _ News, ente

Re: [Tinyos-help] Fwd: high density and CTP

2008-06-11 Thread Nahr ...
Hi, over 100 seconds, grid topology spaced by 4 meters and with a rate of 1 paquet per second. Regards, Nahr Elk 2008/6/12, Philip Levis <[EMAIL PROTECTED]>: > > > On Jun 11, 2008, at 1:58 PM, Nahr ... wrote: > > Hi, >> Thanks for your interest professor Philip, >> I simulated CTP with 100 nodes

[Tinyos-help] Accessing whole word(16bits)

2008-06-11 Thread ram kishore
Hi all, >From Receiver I send RSSI value of packet received as follows to transmitter: gTxmsg ->data[0] = Msg->strength & 0xFF; gTxmsg ->data[1] = Msg->strength >>8; At transmitter I want to multiply it by some value say 5.How can I do it? x= 5 * Msg->data; is not yeilding correct results. Rega