Re: [Tinyos-help] State of Radio CC2420_lpl

2006-12-05 Thread David Moss
Hi Miguel, The software will definitely let you turn the radio on and off manually using CC2420Csma.SplitControl. The only issue you'd run into with doing it manually is if you turn it on at the same time the radio is already on doing a receive check, then the receive check (CC2420DutyCycleP)

Re: [Tinyos-help] State of Radio CC2420_lpl

2006-12-05 Thread Miguel Pereira
Hi David, Thanks for your help. Now I start to understand this thing. What I need to do is to create on top X-MAC, synchronized channels to send messages to one specific mote without contention. To do that I need to put radio ON to send that message in one period of time which is inside of sendIn

RE: [Tinyos-help] Problem with TOSBASE And SurgeView

2006-12-05 Thread Giri Baleri
Please refer to Chapter 6 of the Getting Started Guide below: http://www.xbow.com/Support/Support_pdf_files/Getting_Started_Guide.pdf The factory default group ID is 125 that you need to specify in MakeXbowlocal file. Details are in Section 3.6. I think your better bet might be to program the Mot

Re: [Tinyos-help] Re: Disabling CCA in CC2420

2006-12-05 Thread Dola Saha
Thanks a lot Greg. It worked for me. Dola On 12/4/06, Greg Jaman <[EMAIL PROTECTED]> wrote: Not a very elegant solution, but you replace CCA.startWait (TOS1.x) with async command result_t CCA.startWait(bool low_to_high) { signal CCA.fired() return SUCCESS; } That should simulate a C

Re: [Tinyos-help] How to verify if Pot.increase/decrease is working

2006-12-05 Thread Michael Schippling
I think the Pot module is a piece of legacy for some very early mote. At least in platform/mica2 it's all commented out. If you are trying to adjust the radio transmit level on more modern motes see the contrib/xbow/MakeXbowlocal file for their convenient defines or search this list for a lot of a

Re: [Tinyos-help] The maximum value the length field in an Active Message

2006-12-05 Thread Michael Schippling
Search back on this list for a lot of discussion of max message lengths. I believe you are correct about the 120ish value for mica2 though. MS He Zhao wrote: > I'm running on TinyOS 1.x. I'm wondering what is the maxium value of the > length field in an Active Message. In the definition of AM, t

Re: [Tinyos-help] TinyOS and Matlab

2006-12-05 Thread Michael Schippling
As I said before, you can either dig through all the java documentation to try to figure out what better thing they thought they replaced getLabel() with, or you can just ignore the warning. MS Milton Aguiar wrote: Hi all: After doing what Michael Schippling has suggested the following error

Re: [Tinyos-help] Problem with TOSBASE And SurgeView

2006-12-05 Thread Michael Schippling
I would if I could...sorry I don't know about Surge. MS Thusitha Bandara wrote: Hi Michael, Thank You Very Much for your immediate reply on TOSBase! But i got late to check the mail. But if you don't mine can you please reply for the followings as well? *2) 2.1) What are the Steps "to

Re: [Tinyos-help] How to use "pstate" in nesC compiler

2006-12-05 Thread David Gay
On 12/5/06, Sean Walton <[EMAIL PROTECTED]> wrote: David Gay wrote: On 12/5/06, Sean Walton <[EMAIL PROTECTED]> wrote: I'm stumped. I trying to figure out what pstate is and how to use it. Can anyone help? It's the parser state, as the name of its type ("parse_state") might have suggested

Re: [Tinyos-help] How to use "pstate" in nesC compiler

2006-12-05 Thread Sean Walton
David Gay wrote: On 12/5/06, Sean Walton <[EMAIL PROTECTED]> wrote: I'm stumped. I trying to figure out what pstate is and how to use it. Can anyone help? It's the parser state, as the name of its type ("parse_state") might have suggested. It's all in one structure to make it simple to make t

Re: [Tinyos-help] How to use "pstate" in nesC compiler

2006-12-05 Thread David Gay
On 12/5/06, Sean Walton <[EMAIL PROTECTED]> wrote: I'm stumped. I trying to figure out what pstate is and how to use it. Can anyone help? It's the parser state, as the name of its type ("parse_state") might have suggested. It's all in one structure to make it simple to make the parser reentran

Re: [Tinyos-help] State of Radio CC2420_lpl

2006-12-05 Thread David Moss
When you send a message using low power listening, the sendDone event inside CC2420LowPowerListeningP will execute the signalDone() function, which calls the startOffTimer() function. This OffTimer will keep the radio on for a short period of time before turning it off, in case some transacti

[Tinyos-help] How to use "pstate" in nesC compiler

2006-12-05 Thread Sean Walton
I'm stumped. I trying to figure out what pstate is and how to use it. Can anyone help? -Sean Walton ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] The maximum value the length field in an Active Message

2006-12-05 Thread He Zhao
I'm running on TinyOS 1.x. I'm wondering what is the maxium value of the length field in an Active Message. In the definition of AM, this field is declared as an unsigned 8-bit integer, which means the maximum value should be 255. However, if I changed the constant TOSH_DATA_LENGTH in file AM.h

[Tinyos-help] Disabling CCA in CC2420

2006-12-05 Thread Dola Saha
Hi! I am new in TinyOS. I am trying to completely disable clear channel assessment in CC2420. Any clue will be helpful. Thanks in advance. Regards, Dola ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.

[Tinyos-help] How to verify if Pot.increase/decrease is working

2006-12-05 Thread sbedre
Hi group , I have got all the modules working according to what is mentioned in the tinyos tutorial chapters. In the led_on and led_off command seem to be working fine. But I don't know how to check if the Radio_louder/ radio_quieter is working. I further programmed the motes with Bcast and t

[Tinyos-help] Implementing a routing protocol for wireless sensor networks in TinyOS

2006-12-05 Thread Mohamed Ahmed
Hi, I want to implement a routing protocol for wireless sensor networks in TinyOS. As I have no experience, I'd like to ask you if you could give me some guidelines on how to start the implementation: - What directory shall I look into for existing protocols - How to update existing

Re: [Tinyos-help] TinyOS and Matlab

2006-12-05 Thread Milton Aguiar
Hi all: After doing what Michael Schippling has suggested the following error occurs: [EMAIL PROTECTED] /cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/ tinyos/matlab $ javac MatlabClock.java Note: MatlabClock.java uses or overrides a deprecated API. Note: Recompile with -deprecati

Re: [Tinyos-help] Playing file on tmote

2006-12-05 Thread bandu khote
I wont worry about the exact nature( frequency etc) of the sound, just a ping. Ditto would read data from the speaker and broadcast. While searching, I cam across 'Sounder' module. I am planning to use it to ping on a event. Thanks BK --- Joe Polastre <[EMAIL PROTECTED]> wrote: > Hi BK, > >

[Tinyos-help] To Joe about CC2420RadioM

2006-12-05 Thread Wu Nick
Hi Joe Can you kindly help me to clear few questions? First, I am doing some test about the backoff delay with CC2420RadioM (\tinyos-1.x\tos\lib\CC2420Radio). The protocol base on B-MAC, right? Second, I program three nodes, one for BS the others for sender. According form the source code in

Re: [Tinyos-help] Problem with TOSBASE And SurgeView

2006-12-05 Thread Thusitha Bandara
Hi Michael, Thank You Very Much for your immediate reply on TOSBase! But i got late to check the mail. But if you don't mine can you please reply for the followings as well? 2) 2.1) What are the Steps "to Make another group like SurgeView Support Group"? 2.2) How can i add another Mot

Re: [Tinyos-help] suggest a litter change on document of installing TinyOS 2.x

2006-12-05 Thread Philip Levis
On Nov 28, 2006, at 9:16 AM, Hairong Yan wrote: When I installed, I am confused for a while following the steps in http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html So I suggest add one line between Step 2 Install Cygwin: 1.Download the confirmed-compatible cygwin packages from the

[Tinyos-help] without response

2006-12-05 Thread fatima cabot
I wrote an email weeks ago in order to know wether new TOSSIM in T2 includes attenuation in the radio model. Does it model real attenuation, or it is some kind of bit error aproximation (like in t1)? Does anyone know if micaz also supports attenuation?

Re: [Tinyos-help] I want to use a high language, who can give me some suggestions?

2006-12-05 Thread Pablo Gil MontaƱo
If you want to write a program to control the sensor network you can use Java. TinyOS includes several Java programs and communication with the motes using Java is very simple. Take a look at [1], a simple example of how to use a Java program to display data coming from the mots on a PC. Java pr

[Tinyos-help] LoggerRead.read(line, buffer) is not functioning!!

2006-12-05 Thread walid hamdi
Hi all! Can somebody help me with the Logger interface. Yesterday i was trying to read sequentially from line 0 with: call LoggerRead.setPointer(0); and then call LoggerRead.readNext(struct->Buffer); I saw the data i want to see but after a set of random data! every two values were separated by