Re: [Tinyos-help] Are event executed right away?

2010-06-17 Thread Martin Kjeldsen
Hi Jinliang, Atomic blocks in tinyos are a way of disabling interrupts for the scope of the atomic block. Atomic blocks cannot be preempted. Best, Martin On Thu, Jun 17, 2010 at 6:29 AM, Manjunath Doddavenkatappa dodda...@comp.nus.edu.sg wrote: For example, signal ReceiveMsg.receive() would

Re: [Tinyos-help] Are event executed right away?

2010-06-17 Thread Manjunath Doddavenkatappa
Hi Jinliang, Sorry, I think I got your question wrong. According to the Martin's interpretation of your question, if an external event occurs while code is executing in the atomic section, such an event will be missed. Example for such an event is reception of a packet (assume the employed

[Tinyos-help] about dispalying zero at left

2010-06-17 Thread Sam Azzaro
Hello, May be it's a silly question, but here is the thing : i wrote an application and i used dbg to see my variables.one variable is defined as uint32_t but when display it dbg(Boot, S[i]= %08.X\n,S[i]);i get S[i]= 5F2A19F instead of S[i]= 05F2A19Fhave you any idea how to display the

Re: [Tinyos-help] Interacting with a running TOSSIM Simulation (TinyOS 2.X)

2010-06-17 Thread LIU Yu
TOSSIM programs can invoke C functions, which means they can do anything and everything like reading data files or interacting with a synthetic data generator. In this regard, to create a simulation-only module implementing the Read interface is *possible* at all. Here is the outlined recipe: 1.

Re: [Tinyos-help] CC2420Packet

2010-06-17 Thread liujinzhi
HI ,Yusnaidi Have you solved your problem listed below? I met the same question when carrying out multi-channel communication. The experiment works well, while make micaz sim can not pass, the phenomena is just like what you list below. Would you like to tell me how to solve the

Re: [Tinyos-help] about dispalying zero at left

2010-06-17 Thread Sam Azzaro
it's Ok i fix it, i just changed %08.X to %.8Xi knew it was something silly :D Regards, Sam From: asma_...@live.fr To: tinyos-help@millennium.berkeley.edu Subject: about dispalying zero at left Date: Thu, 17 Jun 2010 09:02:17 + Hello, May be it's a silly question, but here is the

Re: [Tinyos-help] CC2420Packet

2010-06-17 Thread Yusnaidi Md Yusof
Hi, It is beyond my ability to solve the problem. I am hoping our colleagues at the T2 TOSSIM WG to rectify the problem. I believe the problems relate to the wiring of the lower layer of the T2 components. Right now, I try other solution such as running the codes on real motes...but still

Re: [Tinyos-help] Translating the RSSI value to the output power (dBm)

2010-06-17 Thread Yusnaidi Md Yusof
Hi Stefano, Thank you. I am now clearly understand the situation of the RSSI measurements. Your paper also helps me a lot to the understanding. Thanks again. Cheers, Yusnaidi On Wed, Jun 16, 2010 at 5:34 PM, Stefano Kismet Lenzi kismet...@gmail.com wrote: Hi Yusnaidi, The value shown by

[Tinyos-help] Time stamping in TinyOS-2.1 .. Telosb Platform

2010-06-17 Thread Nirzaree Vadgama
Hey, How do we time stamp packets in tinyos-2.x? The platform I m using is TelosB Motes. I am quite naive to NesC n tinyOS. So, plz guide me. Thanx, Nirzaree Electronics Engineering NIT Surat INDIA -- Life is a verb, it is not a noun.. ___

Re: [Tinyos-help] A simple question about import _TOSSIM in file: TOSSIM.py,

2010-06-17 Thread Pedro Nunes
Hi, Liu. To the best of my knowledge, _TOSSIMmodule.so is a Shared Object (.so) and it is native code. Therefore, there is no original .py file - the .so file IS the .py file (please, anyone correct me if I'm wrong). Regards, Pedro Nunes On Thu, Jun 17, 2010 at 3:44 AM, liujinzhi

Re: [Tinyos-help] A simple question about import _TOSSIM in file: TOSSIM.py,

2010-06-17 Thread liujinzhi
Thank you very much Pedro! Liu From: Pedro Nunes [mailto:pmrnu...@gmail.com] Sent: Thursday, June 17, 2010 9:30 PM To: liujinzhi Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] A simple question about import _TOSSIM in file: TOSSIM.py, Hi, Liu. To the best of my

Re: [Tinyos-help] Interacting with a running TOSSIM Simulation (TinyOS 2.X)

2010-06-17 Thread Jon Szymaniak
Excellent! Could you provide a bit more info on the Makefile modification? I'm not too familiar with what the TinyOS MAKERULES are doing under the hood, and still need to look into this. Just a thought -- it might be interesting to have each mote access a FIFO or a TCP/IP port to grab readings

Re: [Tinyos-help] A simple question about import _TOSSIM in file: TOSSIM.py,

2010-06-17 Thread Markus Becker
Hi, Liu. To the best of my knowledge, _TOSSIMmodule.so is a Shared Object (.so) and it is native code. Therefore, there is no original .py file - the .so file IS the .py file (please, anyone correct me if I'm wrong). The TOSSIM.py file is $(TOSDIR)/lib/tossim/TOSSIM.py, which uses

[Tinyos-help] Simple single-hop reliable transport protocol

2010-06-17 Thread Cyril Nguyen Van Phu
Hello, I'm looking for a simple single hop reliable transport protocol under tinyos-2.x I've seen many protocols in the litterature, including RCRT for example, but it is not easy to deal with. Any links, source code, help concerning reliable transport protocol would be very much

Re: [Tinyos-help] Java problems

2010-06-17 Thread John
This is what my CLASSPATH variable looks like: xadministra...@945-tst9 /opt/tinyos-2.x/apps/RadioCountToLeds $ echo $CLASSPATH cygpath -w $TOSROOT/support/sdk/java/tinyos.jar;. This is what the output looks like when I try compiling the program: xadministra...@945-tst9

[Tinyos-help] preprocessor cannot find lib in Blip folder while debugging on Yeti-Eclipse

2010-06-17 Thread TheMrOrange
Hi, I've just installed Yeti for Eclipse on Ubuntu and configured paths and everything was working fine but when I include lib6lowpan.h Eclipse answered: preprocessor could not find file for inclusion Moreover, I cannot include any library from /opt/tinyos-2.1.1/support/ Anybody of you know

[Tinyos-help] Writing components and interfaces

2010-06-17 Thread manas maheshwari
Hi all, I am trying to build an application in tinyos and coming from a C background, I like my code to be organized into files and modules. I really like the concept of having different components and wiring them according to your need in tinyos. I have figured out some modularity for my code,

Re: [Tinyos-help] Writing components and interfaces

2010-06-17 Thread Giuseppe Cardone
Hi, please refer to TinyOS Programming by Philip Levis and David Gay: http://csl.stanford.edu/~pal/pubs/tos-programming-web.pdf Regards. -- Giuseppe Cardone On Thu, Jun 17, 2010 at 9:15 PM, manas maheshwari manas0...@gmail.com wrote: Hi all, I am trying to build an application in tinyos

Re: [Tinyos-help] A simple question about import _TOSSIM in file: TOSSIM.py,

2010-06-17 Thread liujinzhi
Thank you Markus! I see. Liu -Original Message- From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of Markus Becker Sent: Thursday, June 17, 2010 10:42 PM To: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] A