[Tinyos-help] How can I become aware of the amount of a variable at the end of simulation for each node?

2010-10-06 Thread mojtaba raznahan
Hi all, In my application every node has a specific variable(integer type) I want to know the value at the end of simulation. I can write them in a file with fprintf but each node would write it's value in the same file. How can I do that? Thanks in advance. -- Mojtaba Raznahan BS of Computer

Re: [Tinyos-help] Send to a specific mote

2010-10-06 Thread Urs Hunkeler
Hi Sriram, Can you describe what exactly you want to do? Do you want to prepare sending a packet and store all the information inside a single packet structure, then just send it when the timer fires? According to the documentation in AMPacket.C you can do this. For your code to work you will

[Tinyos-help] TinyOS vs Contiki

2010-10-06 Thread Pablo Marcos Oltra
Hi all, I know this is such a hard topic, but I'd like that you gave me your honest and objective opinion about what SO should I use. I know it probably depends on what I need to do, so I'm going to tell you about that. I have to implement something about the standard 802.15.4-2006, and I've been

[Tinyos-help] TinyOS vs Contiki

2010-10-06 Thread Pablo Marcos Oltra
Hi all, I know this is such a hard topic, but I'd like that you gave me your honest and objective opinion about what SO should I use. I know it probably depends on what I need to do, so I'm going to tell you about that. I have to implement something about the standard 802.15.4-2006, and I've been

[Tinyos-help] TinyOS vs other WSN OS's

2010-10-06 Thread Pablo Marcos Oltra
Hi all, I know this is such a hard topic, but I'd like that you gave me your honest and objective opinion about what SO should I use. I know it probably depends on what I need to do, so I'm going to tell you about that. I have to implement something about the standard 802.15.4-2006, and I've been

[Tinyos-help] TinyOS vs other WSN OS's

2010-10-06 Thread Pablo Marcos Oltra
Hi all, I know this is such a hard topic, but I'd like that you gave me your honest and objective opinion about what SO should I use. I know it probably depends on what I need to do, so I'm going to tell you about that. I have to implement something about the standard 802.15.4-2006, and I've been

Re: [Tinyos-help] TinyOS vs other WSN OS's

2010-10-06 Thread Pablo Marcos Oltra
Hi all, I'm really sorry about the duplicates, but I had received a mail system error each time I sent the e-mail, so I thought that wasn't sent correctly. My apologies, Pablo 2010/10/6 Pablo Marcos Oltra > Hi all, > > I know this is such a hard topic, but I'd like that you gave me your hone

[Tinyos-help] how is it possible to read timer value?

2010-10-06 Thread Hamidreza Ghafghazi
hi guys, suppose there is a timer which periodically starts, and we force it to stop in a moment, then I need to know what is the value of the timer that been forced to stop? I highly appreciate any help, regards, Hamidreza ___ Tinyos-help mailing lis

Re: [Tinyos-help] How can I become aware of the amount of a variable at the end of simulation for each node?

2010-10-06 Thread mojtaba raznahan
Thanks Dear Sergio and Pablo, yes the first solution is not very good idea because it would print each variable for each node and I can't debug it.Also I can't use the second one.Actually I want to know the latest value of variable for each node(It's a counter that when a node sends or receives a

Re: [Tinyos-help] How can I become aware of the amount of a variable at the end of simulation for each node?

2010-10-06 Thread mustafa bayraktar
Dear Mojtaba My name is Mustafa I am trying to do an application.But it says cannot execute gcc error do you know what it itmeans in tinyos.1x On Wed, Oct 6, 2010 at 6:40 AM, mojtaba raznahan wrote: > Thanks Dear Sergio and Pablo, > > yes the first solution is not very good idea because it w

Re: [Tinyos-help] How can I become aware of the amount of a variable at the end of simulation for each node?

2010-10-06 Thread Urs Hunkeler
Hi Mojtaba, Any easy solution is to write every value for each node into a single file or print it so the screen and then redirect the output to a file. You could then write a program in your favorite programming language to parse this file and only keep the last variable for each node. You ca

Re: [Tinyos-help] How can I become aware of the amount of a variable at the end of simulation for each node?

2010-10-06 Thread mojtaba raznahan
Sergio,the problem is that I wont have a file with 100 rows because each node may has to write more than 1 row(may be up to 30-40 rows.As I said before,each time when a sends or receives a message,it will increase the counter and so append it in the file), Maybe I'm not making myself clear.Could pl

Re: [Tinyos-help] Send to a specific mote

2010-10-06 Thread Urs Hunkeler
Hi Sriram, I am not very familiar with TOSSIM, so I don't really know how to help you here. If you post your messages to the mailing list, others who might be more familiar with your problem get a chance to read your questions as well. Cheers, Urs On 10/06/2010 04:32 PM, Sriram Sankaran wrot

[Tinyos-help] Question regarding unicast communication in tinyos-2.x and tossim

2010-10-06 Thread Sriram Sankaran
Hello users, I want to unicast a packet from source node 1 to destination node 2. I am using tinyos 2.x and tossim. I specified the source and destination address in the tossim topology file. Now, my question is the following: when unicasting a packet, should I have to hard-code the destinatio

[Tinyos-help] multiple sink for blip

2010-10-06 Thread TheMrOrange
Hello, I'm using tinyos-2.1.1, blip stack (2.0) and default LowPowerListening. I've about 60 motes (TelosB and IRIS) deployed around a 2 floors building and some of them are 5 hops from the IPBaseStation. Not all of my motes are running on battery and those who are plugged on electric socket

[Tinyos-help] RSS and RSSI

2010-10-06 Thread Nahr Elk
Hi All! Please, what is the difference between RSS and RSSI? Further, should we substract - 45 from the read RSSI value obtained by the calling of getRSSI function of Tinyos or is it already substracted? Thanks in advance. Best regards, Nahr Elk Independent Researcher ___

[Tinyos-help] cannot execute gcc

2010-10-06 Thread mustafa bayraktar
-- Forwarded message -- From: Péter Kókai Date: 2010/10/6 Subject: Re: [Tinyos-help] MicaZ - CRC disable? To: mustafa bayraktar Hi! Sorry..but unfortunetly I have no routin in nesC and TinyOS. I just use one command in the tinyOS. I write the program code to the micaz mote in a

Re: [Tinyos-help] RSS and RSSI

2010-10-06 Thread AKHILA S RAO
RSSI is just a number that is indicative of RSS. Yes you should subtract 45 from the RSSI value in you program to get RSS in dBm unit. > Hi All! > > Please, what is the difference between RSS and RSSI? > Further, should we substract - 45 from the read RSSI value obtained by the > calling of getRS

Re: [Tinyos-help] how is it possible to read timer value?

2010-10-06 Thread AKHILA S RAO
you can use the command uint32_t getNow() of the timer interface to get the current value of the timer. i suppose it can be used even after the timer has been stopped. If not use can use it just before. > hi guys, > > suppose there is a timer which periodically starts, and we force it to > stop >

[Tinyos-help] Camera Test Jpeg Serial code running

2010-10-06 Thread Ibrahim Abbas
-- Forwarded message -- From: Ibrahim Abbas Date: Wed, Oct 6, 2010 at 5:34 AM Subject: Camera Test Jpeg Serial code running To: tinyos-help@millennium.berkeley.edu Hi, Any body who has run the code of Camera Test Jpeg Serial. I m having some problems in it. This code gives me .b