[Tinyos-help] Problem about autorun tinyviz

2007-01-04 Thread Saran Jenjaturong
Hi all, I am trying to run tinyviz by using autorun file. It failed to connect to the simulator and popup the message "...cygwin1.dll not found .". I thought that there maybe some thing wrong with my path but it was not. "cygwin1.dll" is in /bin and my PATH variable has included this path alr

[Tinyos-help] payloadLength

2007-01-04 Thread Klaas Thoelen
Hi *, I was reading TEP111 on message_t, and thought I'd try something... The code below is sending a broadcast message when a timer fires. I'm just sending a packet with some payload and then I try to get the size of this payload using payloadLength(). This should be 3 bytes. This seems to b

[Tinyos-help] Message format

2007-01-04 Thread Milton Aguiar
Hi all: I'm testing an application with tmotes. When i save the data received in the pc in a log file the format of the message that i can observe is the following: 1167837572484 Message [sourceaddr=0x0] [originaddr=0x1] [seqno=0x225] [originseqno=0x1ff] [ttl=0x3] [id=0x22] [da

RE: [Tinyos-help] Time counting

2007-01-04 Thread Michael Newman
The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error. The 2.0 TEP is quite clear, I never got there. The 2.0 Tutori

[Tinyos-help] tinyviz error (tinyos tutorial 5)

2007-01-04 Thread umar hafeez
Hi, I got the following error when trying to use tinyviz (with the tinyviz -run /build/pc/main.exe 30) [EMAIL PROTECTED]:/opt/tinyos-1.x/apps/TestTinyViz$ tinyviz -run build/pc/main.exe 30 java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= net.tinyos.sim.SimDriver -gui -run build/p

[Tinyos-help] ID's in MoteView

2007-01-04 Thread neliacatarina
Hello, Can you tell me if is there a way to configure micas's id's so that I can save the real value that I've configured in a mica? For example, if I configure a mica2 with id=2 it is saved in mts420_results like 258 (id = 256 + id_mica). All the other sensor's values are saved correctly. T

[Tinyos-help] Any changes in Java program from 1.x to 2.x

2007-01-04 Thread Ming
Dear all, I would like to ask are there any changes in the Java program, when I change the NesC part from tinyos-1.x to tinyos-2.x? Thank you. CM ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-

[Tinyos-help] warnings while compile with latest tinyos-2.x release

2007-01-04 Thread Avinash Sridharan
Hi, I just moved my code from the beta2 release of tinyOS-2.x to the latest release of tinyOS-2.x (Nov 6th). I got the following compilation warnings when I compiled my nesC app for the telosb platform. /opt/msp430/msp430/include/msp430/gpio.h:128: warning: non-atomic accesses to shared variable

[Tinyos-help] lesson 3 (tinyos 2.x)

2007-01-04 Thread Mohamed Ahmed
Hi, I thought "message_t packet" in Step 3 "Declare any new variables ..." needs to be "BlinkToRadioMsg packet". Also, "Packet.getPayload(&pkt, NULL)" in Step 4 should be Packet.getPayload(&packet, NULL)" Am I wrong? Thank you, Mohamed __

Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf
On 1/4/07, Michael Newman <[EMAIL PROTECTED]> wrote: The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error. The 2.

Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf
My apologies for the initial mis-send. On 1/4/07, Michael Newman <[EMAIL PROTECTED]> wrote: The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to http://www.tinyos.net/tinyos-2.x/doc/htm

[Tinyos-help] typos or defined elsewhere?

2007-01-04 Thread Mohamed Ahmed
Hi, Could someone tell me the following code is complete/correct? Where is pkt defined? Also btrpkt is not used after initializing its fields "nodeid" and "counter". This code is in Lesson 3 of the tutorial (tinyos 2.x). Any hint? Thanks you, Mohamed 4. Add any prog

[Tinyos-help] New Birthday Calendar

2007-01-04 Thread Kanun Sanguansakpakdesakul
Hi I'm setting up a birthday calendar and need your help. Just click the link below and enter your birthday details. (It's quick, easy and you can keep your age secret!) http://www.birthdayalarm.com/bd2/12550510a9130697b1324233090c801634406d1718 Thanks Kanun ___

Re: [Tinyos-help] typos or defined elsewhere?

2007-01-04 Thread Chad Metcalf
On 1/4/07, Mohamed Ahmed <[EMAIL PROTECTED]> wrote: Hi, Could someone tell me the following code is complete/correct? Where is pkt defined? According the version in my $TOSROOT/apps/tutorials/BlinkToRadio/BlinkToRadioC.nc pkt is defined on line 55. Just search for it. implementation {

RE: [Tinyos-help] tinyviz error (tinyos tutorial 5)

2007-01-04 Thread umar hafeez
Yes, as instructed in chad metcalf's guide (5secondfuse.com) I think i have some broken packages nevertheless, usually when i follow the guide (with alteration for uisp), tinyos-1.x make mica2 works but make pc does never work. and tinyos-2.x make micaz sim works perfectly... thi

Re: [Tinyos-help] warnings while compile with latest tinyos-2.x release

2007-01-04 Thread Philip Levis
On Jan 4, 2007, at 11:00 AM, Avinash Sridharan wrote: Hi, I just moved my code from the beta2 release of tinyOS-2.x to the latest release of tinyOS-2.x (Nov 6th). I got the following compilation warnings when I compiled my nesC app for the telosb platform. /opt/msp430/msp430/include/msp

Re: [Tinyos-help] warnings while compile with latest tinyos-2.x release

2007-01-04 Thread Avinash Sridharan
Thanks Phil, I just put the enable() in atomic section and the warnings went away. regards, Avinash On 1/4/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Jan 4, 2007, at 11:00 AM, Avinash Sridharan wrote: > Hi, > I just moved my code from the beta2 release of tinyOS-2.x to the > latest rele

Re: [Tinyos-help] typos or defined elsewhere?

2007-01-04 Thread Chad Metcalf
This is all covered in the 3rd tutorial, including where to find these files (tos/interfaces or tos/system). Also if you are new to TinyOS I strongly recommend you read Dr Levis' TinyOS Programming "book". http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf You can also use the find command