[Tinyos-help] How to convert reading in MViz

2010-06-21 Thread ankush shah
Hi, I am running Oscilloscope application to sense temperature. For reading the temperature, I am using MViz application. The problem is that the reading are in some other unit. I want to convert them to Celcius unit. The formula is *degree Celcius = (reading)/1000 - 39.5 *But I don't know

[Tinyos-help] Time Synch FTSP tutorial

2010-06-21 Thread Juhi
Hi, I tried out the time synch ftsp tutorial for tinyos. I am working with meshnetics meshbean platform. As per the guidelines, I have configured one node with BaseStation app, one node with RadioCountToLeds and two nodes with TestFtsp. I am reading the output of the BaseStation with 'java

[Tinyos-help] How to calculate simulation time on TOSSIM??

2010-06-21 Thread Sam Azzaro
Hi all, i want to determinate the sim_time of an appliaction on Tossim but whatever is the code or the application, i always get the same one wich is the time when starting boot! administrat...@v8fmk15ebx5la4b /opt/tinyos-2.x-contrib/crypto/apps/My_app$ pythonPython 2.5.1 (r251:54863, May 18

Re: [Tinyos-help] iris muti-motes transmission help

2010-06-21 Thread Fabrice Dossin
Hi, I have the same problem. Either the mote is frozen (1s timer to blink a led does not respond anymore), either the mote still receives dissemination message but the collection messages does not go up to the basestation anymore. DTASKLET_IS_TASK is just for the base station, no? I do not have

[Tinyos-help] BLIP issue: Delayed detection of motes after basestation reboot

2010-06-21 Thread sripada kadambar
Dear All, We are using the BLIP library for implementing IPv6 communication with motes. The blip applications work pretty fine except for one problem; The network formation takes a long time in case if the basestation undergoes a reboot. In all the other cases such as node reboot no delay is

[Tinyos-help] acknowledgement of sent message

2010-06-21 Thread Omar Cheikhrouhou (yahoo)
When sending a message from node 1 to node 2. In node 1 the sendDone is executed which means that the message is sent with success however in node 2 the receive is not executed which means that node 2 does not receive the message. Is there a mechanism to acknowledge the reception of message.

Re: [Tinyos-help] background on how interrupts invoke nesc code

2010-06-21 Thread James Millar
Thank you Michael and others. That's the information I was looking for. ...The interrupt vectors for the 1281 are in iomxx0_1.h, and after searching, I can't figure out why the numbers are off by one either. I'll have to dig deeper! Thanks again Michael. -james -Original

[Tinyos-help] TestSecurity

2010-06-21 Thread John
I tried programming two micaz motes with RadioCountToLeds1 under the TestSecurity directory. This test seemed to work fine and the 3 LEDs were counting up. However when I tried programming one mote with the BaseStation that implements the cc2420 security and the other mote with

Re: [Tinyos-help] acknowledgement of sent message

2010-06-21 Thread Michael Schippling
Search for enableAck(). I use it on mica's under T1, but I'm not sure what's available in T2. MS Omar Cheikhrouhou (yahoo) wrote: When sending a message from node 1 to node 2. In node 1 the sendDone is executed which means that the message is sent with success however in node 2 the

Re: [Tinyos-help] Globals -- (was: generic behavior in a non-generic component)

2010-06-21 Thread Michael Schippling
In re: creating real global variables under NESCC. WOW! I think you've got it. Almost anyway... I'm pretty sure I tried the (sort of obvious) method of [declar,defin}ing a variable outside of the module{}implementation{} block in a .nc file, ala: includes RoboMsg; static int foolish;

Re: [Tinyos-help] background on how interrupts invoke nesc code

2010-06-21 Thread Eric Decker
The off by one is pretty strange. Please report back here if you figure out why. That would be good to have archived. On Mon, Jun 21, 2010 at 6:18 AM, James Millar mil...@cmc.ca wrote: Thank you Michael and others. That's the information I was looking for. ...The interrupt vectors for

Re: [Tinyos-help] Globals -- (was: generic behavior in a non-generic component)

2010-06-21 Thread Eric Decker
what you are running into is the order the files are scanned. If you do the .h business then you include that and it doesn't matter because your include file is protected against being included twice. On Mon, Jun 21, 2010 at 12:22 PM, Michael Schippling sc...@santafe.eduwrote: In re: creating

[Tinyos-help] sign in to tinyos-help

2010-06-21 Thread KADIM Ayoub
*kadim.ayo...@gmail.com* ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] iris muti-motes transmission help

2010-06-21 Thread Miklos Maroti
Try adding CFLAGS += -DTASKLET_IS_TASK to your makefile. No, it is not just for the base station. Most of the radio processing is done in interrupt context. If you have some code that does not like to be interrupted, then you can move the processing to task context, but then you will lose some

Re: [Tinyos-help] Java problems

2010-06-21 Thread ranal fernando
hi, try going to /opt/tinyos-2.x/support/sdk/java make thanks M.S.R.fernando From: conque...@aol.com To: sc...@santafe.edu Date: Thu, 17 Jun 2010 10:15:00 -0400 CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Java problems This is what my CLASSPATH variable looks

[Tinyos-help] Sending time in IRIS mote

2010-06-21 Thread Tran Thi Thuy Trang
Hi, I'm trying to measure how long does it take to send a packet in IRIS mote. The sending time I measured here is calculated from AMSend.send is called until AMSend.sendDone is signaled. I expected that this sending time should increase together with growing packet size. However, when I tried

Re: [Tinyos-help] Sending time in IRIS mote

2010-06-21 Thread Miklos Maroti
There is a random backof for collision avoidance of the order of 1-5 ms. In contrast, transmitting 30 bytes is 1 ms. Miklos On Tue, Jun 22, 2010 at 3:30 AM, Tran Thi Thuy Trang thuytran...@yahoo.comwrote: Hi, I'm trying to measure how long does it take to send a packet in IRIS mote. The

Re: [Tinyos-help] Parametrized interfaces - compilation problem

2010-06-21 Thread Avelorn Bazyl
Hello, Please if anyone have any idea why I am having problems during compilation of my code described below please HELP me! I am trying to crack this problem by analyzing my code and any other programs that I can put my hands on but till now I haven't been able to solve it. Thanks in advance

[Tinyos-help] acknowledgement of sent message

2010-06-21 Thread Omar Cheikhrouhou (cesLab)
When sending a message from node 1 to node 2. In node 1 the sendDone is executed which means that the message is sent with success however in node 2 the receive is not executed which means that node 2 does not receive the message. Is there a mechanism to acknowledge the reception of message. That