Re: [Tinyos-help] Two questions about tasks

2009-10-14 Thread Philip Levis
On Oct 8, 2009, at 1:41 AM, Ricardo . wrote: > Hello everyone, > > I got some questions about tasks that can not clarify through > literature. > > Imagine you have two tasks, task1 and task2. If I do "post task1" > and immediately following "post task2" I have guarantee that task1 > will ru

Re: [Tinyos-help] CCA vs RTS-CTS

2009-10-14 Thread Philip Levis
On Oct 1, 2009, at 3:23 PM, YangYang wrote: > Hi, > > Are CCA and RTS-CTS the same? Or in another word the RTS-CTS > mechanism in TinyOS is replaced by CCA. CCA is CSMA. TinyOS link layers typically do not use RTS/CTS (none in tos/ do). They use CSMA. Phil _

Re: [Tinyos-help] Acknowledgement in TOSSIM

2009-10-14 Thread Philip Levis
On Sep 27, 2009, at 3:02 PM, Razvan Musaloiu-E. wrote: >> >> Can anyone let me know how to ensure correct acknowledgement, since >> my >> application cannot proceed without reliable acknowledgement. In my >> code, I >> checked the acknowledgement as follow: >> >> event void AMSend.sendDone(mes

[Tinyos-help] TOSSIM with Mica2

2009-10-14 Thread maha timraz
Hi I'm using mica2 motes from crossbow company . I want to simulate the "surge reliable" code which provided by crossbow . I want to ask if I can use TOSSIM to do that . I found a note that TOSSIM couldnt be used with mica2 . And if it is not posssible , is there any other simulator that

Re: [Tinyos-help] NesC Parser or Grammar

2009-10-14 Thread sissou
Hello, In Yeti the eclipse plug-in, there is a code validation otherwise I don't know. Sylvain On Wed, 2009-10-14 at 17:57 -0400, Mido wrote: > Dear All, > > > I need a NesC parser. > Is there a grammar or a parser for TinyOS 2.1 nesC 1.3.0-1? > > Thanks. > > > _

Re: [Tinyos-help] Different behaviour from the ame image but on different motes

2009-10-14 Thread Mohammad S. Hashemian
I also should include that if I wait for a long time (15 or 30 minutes) finally the mote becomes the member of the mesh, but this me it sends the health packet many times instead of once (for example 8 or 10 times) and therefore moteView shows 10 rows of health packet from this mote very time. So d

Re: [Tinyos-help] Different behaviour from the ame image but on different motes

2009-10-14 Thread Mohammad S. Hashemian
I monitored the network at most for half an hour, and during this period I turned some other motes on and off as well. while those other motes were on, the mote was sending many copies of the health packets (with different sequence mber, fo example from 180 to 188) to one of those motes as the dest

Re: [Tinyos-help] Different behaviour from the ame image but on different motes

2009-10-14 Thread Michael Schippling
Sounds like the BCASTing mote may not have been allowed into the mesh-fold yet. I haven't looked at XMESH carefully but it seems to take a while for nodes to become integrated. How long have waited for messages? MS Mohammad S. Hashemian wrote: > Hi all, > > I have two MicaZ nodes and I've insta

[Tinyos-help] Different behaviour from the ame image but on different motes

2009-10-14 Thread Mohammad S. Hashemian
Hi all, I have two MicaZ nodes and I've installed the same image of MTS310 XMesh application (from MoteWorks framework) on both. MoteView can receive and show health packet from one of them, but not from t other one. When I use XSniffer to sniff the network, I can see both of the motes send health

[Tinyos-help] NesC Parser or Grammar

2009-10-14 Thread Mido
Dear All, I need a NesC parser. Is there a grammar or a parser for TinyOS 2.1 nesC 1.3.0-1? Thanks. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Send a packet to itself

2009-10-14 Thread Eric Decker
It is a verification that parts of the communications path are working correctly. The best way is with a mirror node (its what ping does). But what he would like to do requires that an interface be able to hear itself. I don't think any of the tinyos mote nodes can do that. Alternatively the sta

Re: [Tinyos-help] Send a packet to itself

2009-10-14 Thread Ittipong Khemapech
Are you trying to get some measurements conducted by some components such as CC2420 _BUT_ you don't know how to get those data directly? Ittipong 2009/10/14 Raffaele Gravina > I think there's no way you can send something to yourself without any > "mirror" node (and, btw, why you should need th

Re: [Tinyos-help] Send a packet to itself

2009-10-14 Thread Raffaele Gravina
I think there's no way you can send something to yourself without any "mirror" node (and, btw, why you should need that if you already have the info you would like to receive?).The CC2420 can either receive or transmit, but can't do both at the same time. - raffaele 2009/10/14 > Hi, > > I am us

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Michael Schippling
Oh, those defines are setting the control register not the data I/O register? I guess if I "drilled down" into the layers of #define confabulation I might have been able to guess that... whew thx MS Eric Decker wrote: > It is a TI MSP430 thing. > > An I/O pin can be used stictly as an I/O pin

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Eric Decker
It is a TI MSP430 thing. An I/O pin can be used stictly as an I/O pin (directly controlled) or it can be connected to a functional module (uart, spi, etc) and controlled that way. It is documented in the MSP430 Users Guide. eric On Wed, Oct 14, 2009 at 12:11 PM, Michael Schippling wrote: > You

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Michael Schippling
You found documentation? Wow! Looking in tos/platform/msp430/msp430hardware.h I find the circuitous definitions: void TOSH_SEL_##name##_MODFUNC() { MSP430REG_NORACE2(r,P##port##SEL); r |= hex; } void TOSH_SEL_##name##_IOFUNC() { MSP430REG_NORACE2(r,P##port##SEL); r &= ~hex; } Whi

[Tinyos-help] Send a packet to itself

2009-10-14 Thread kenji77ya
Hi, I am using TinyOS-2.x. I am trying to send a packet from a node to itself. I tried AMSend(TOS_NODE_ID, &pkt, sizeof(PKT)); but the node didn't receive anything. I installed another mote with the same exact program, but changed sending part to AMSend("id of the first mote", &pkt, sizeof(PKT))

Re: [Tinyos-help] Problem with TestSerial on IRIS

2009-10-14 Thread Michael Schippling
Did you follow the instructions in the first error message? > Getenv JNI library not found. Env.getenv will not work > (run the tos-install-jni tool, see man tos-install-jni for more details) Search for getenv.dll for a lot of discussion. MS Strandberg, Elizabeth wrote: > Hello All, > > I a

Re: [Tinyos-help] Problem with TestSerial on IRIS

2009-10-14 Thread Janos Sallai
It's working perfectly here. Are sure you're using the correct serial port? If you had programmed the mote on COM5, the port to be used to communicate with the mote should be COM6. Janos On Wed, Oct 14, 2009 at 1:19 PM, Strandberg, Elizabeth wrote: > Hello All, > > I am having a problem with the

Re: [Tinyos-help] serial forwarder and hyper terminal

2009-10-14 Thread Michael Schippling
...cc'ing back to the help list... We just had a discussion of why you need to put a platform name in your MOTECOM instead of a baudrate. W/o the name the message format defaults to the original mica2 AM.h structure, search back on this list a week or two. ListenRaw is not so smart about ports so

Re: [Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread Eric Decker
Each IO pin can be attached to an I/O function where you control directly the state of the pin. Or the pin maybe assigned to a hardware block and controlled by that Module, for example an i/o pin maybe controlled by the SPI hardware or the UART hardware or the ADC. More details can be found in t

[Tinyos-help] Problem with TestSerial on IRIS

2009-10-14 Thread Strandberg, Elizabeth
Hello All, I am having a problem with the TestSerial tutorial, running on an IRIS mote. Here is the output I get: $ java TestSerial Getenv JNI library not found. Env.getenv will not work (run the tos-install-jni tool, see man tos-install-jni for more details) Sending packet 0 Sending packet 1

Re: [Tinyos-help] Determining residual energy

2009-10-14 Thread Jacob Sorber
This has been discussed previously. http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg07243.html Options: 1) use battery voltage - not linear, or particularly accurate. Depends on battery chemistry. 2) coulomb counting - requires special hardware, but it is very accurate 3) softwa

[Tinyos-help] Question about MSP430GeneralIO interface's commands

2009-10-14 Thread David Conde
Hi, I would like to know what it is the difference between the next command defined in MSP430GeneralIO: -async command void selectModuleFunc(); - async command void selectIOFunc(): I understand well, I can use MSP430GeneralIOC in order to configure each GIOX, pin, I have been Reading

[Tinyos-help] TMP175 issues

2009-10-14 Thread Carlos Gil Soriano
Hi, I have tried the TMP175 imote2 sensor example but it doesn't work. It freezes the imote. I have tried to use this component in a test application coding by me, but it seems that when TMP175C is perfoming SplitControl.start it blocks the imote. Have someone notice that? Is there any available

[Tinyos-help] [Info announcements] First Spanish Forum about Wireless Sensor Networks

2009-10-14 Thread Alfonso Cardell
We have created the first forum in Spanish about Wireless Sensors Networks. This forum include TinyOs, Motes, Proyects, Researchs, etc. Visit us at www.sensoresinalambricos.esorwww.sensoresinalambricos.com --- (In Spanish) Hemos creado el primero foro en espaƱol dedicado exclusivamente a

[Tinyos-help] [Avrora] Network Design

2009-10-14 Thread Hassan Chizari
Dear Friends, I am working on energy efficient sensor scheduling and based on an answer in [TinyOS] mailing system I have decided to use Avrora to measure the energy consumption of sensors. My question is how can I define a network infrastructure for Avrora where some sensors could transmit data a

Re: [Tinyos-help] Determining residual energy

2009-10-14 Thread Hassan Chizari
This is also my problem, I want to know the energy level of mica2 during the mission to decide about its status. On Wed, Oct 14, 2009 at 2:56 PM, Kiraneet sharma wrote: > Hello friends... > > I want the nodes to calculate their residual energy and transmit the > same to base station... > How can

[Tinyos-help] Available Implementation of cluster based protocol ??

2009-10-14 Thread Kiraneet sharma
Hey friends Apart from HEED's implementation available for tinyos-1.x i.e. iHEED.. Is any of you aware of some other cluster based routing protocols implementation e.g. Energy Efficient Clustering Scheme (EECS) for tinyos-1.x available online? Please let me know... thanks in advance.. take