[Tinyos-help] High packet loss rate with Flooding

2007-02-16 Thread Markus Becker
Dear list, we are using TinyOS 1.1.15 CVS TOSSIM for simulating an application which uses Flooding. The radio model used is the Disc10 model. The 26 nodes are placed to locations along one line using the Python interface. The problems we face are: 1. The maximum number of hops of the packets is

[Tinyos-help] Changing radio frquency on Mica2

2007-02-16 Thread Pablo Gil Montaño
Hi all, I'm working with 900 Mhz mica2 motes and I want to change Tx frequency while the motes are running. I'm using CC1000Control.TuneManual(), and frequency seems to change. The problem is that, after every change in frequency, SendMsg.sendDone() takes a very long time be fire (20 seconds)

[TinyOS-Help] TinyOS communication and concurrency model

2007-02-16 Thread Min Guo
Does TinyOS use multipule threads or not? I see the following sentences in the programming manuel: The problem with threads in embedded systems is that they require a good deal of RAM. ... TinyOS therefore takes the opposite approach. Rather than make everything synchronous through

Re: [Tinyos-help] What does SUCCESS refer to?

2007-02-16 Thread Pablo Gil Montaño
Hi, SUCCESS refers to the packet being successfully sent, but it tells you nothing about the reception of the packet. In order to know whether the packet was received or not, you should activate link-level ACKs by using MacControl.enableACK(). Then you will be able to know if an ACK was

Re: [TinyOS-Help] TinyOS communication and concurrency model

2007-02-16 Thread Urs Hunkeler
Hi Min, Basically, there is only one thread. Function inlining is independent of threads. Even without function inlining, when one function calls another function it is still the same thread. Interrupt handlers on the other hand get called asynchronously (as the result of an external event,

[Tinyos-help] i can get TinyViz window

2007-02-16 Thread Boushra MAALA
good morning: i have a problem, when i tried to start up TinyViz, running with TestTinyViz apps ; i did the following steps: cd /opt/tinyos-1.x/tools/Java/net/tinyos/sim make To visualize simulation of TestTinyViz application, i did the following: cd

[Tinyos-help] ncc and library functions

2007-02-16 Thread Piotr.Sz
Hi does anyone know how to change ncc behavior? While using external functions from library file in my source progM.nc file the output app.c from ncc has external functions name changed. Ncc adds prefix: progM$ in front of the external functions. When this happens gcc can't find the needed

Re: [Tinyos-help] Changing radio frquency on Mica2

2007-02-16 Thread David Moss
The TinyOS 1.x CC1000 radio stack is broken and will not change frequencies properly. The problem is in the calibration algorithm of CC1000ControlP. You should be using the CC1000 radio stack provided by Rincon Research, located in tinyos-1.x CVS under /contrib/rincon/tos/lib/CC1000Radio.

[Tinyos-help] external types (nx_*)

2007-02-16 Thread Dimas Abreu Dutra
Hello, are the external types (nx_*) and external structs cross-platform compatible because they obey the network byte order (big-endian)? Thanks in advance ~Dimas~ __ Fale com seus amigos de graça com o novo Yahoo! Messenger

[Tinyos-help] ...not sending after some time..!!

2007-02-16 Thread siva prasad
hi all i am working on tmote-sky modules..my requirement is to sample two 50Hz signals at 1kHz through external ADC ports...and calculating a value(which is the multiplication of both the external sensors data) over 100 samples and sending tht value (means need to send 10 samples/sec using

Re: [Tinyos-help] ncc and library functions

2007-02-16 Thread Steve McKown
On Friday 16 February 2007 07:29, Piotr.Sz wrote: Hi does anyone know how to change ncc behavior? While using external functions from library file in my source progM.nc file the output app.c from ncc has external functions name changed. Ncc adds prefix: progM$ in front of the external

Re: [Tinyos-help] external types (nx_*)

2007-02-16 Thread Steve McKown
On Friday 16 February 2007 09:48, Dimas Abreu Dutra wrote: are the external types (nx_*) and external structs cross-platform compatible because they obey the network byte order (big-endian)? Yes. BTW, google is your friend. Below are the 1st and 4th links returned when I just now searched

Re: [Tinyos-help] Tmote CPU clock speed

2007-02-16 Thread Szymon Fedor
Thanks Steve. That is what I did. I copied the Msp430ClockP.nc into the application directory and changed the line setting the BCSCTL2 register and I set the constant TARGET_DCO_KHZ = 8192. It doesn't change the application execution time. Are you sure about the utility of the Rosc? I still think

RE: [Tinyos-help] Tmote CPU clock speed

2007-02-16 Thread Mike Horton
Works for me. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Szymon Fedor Sent: Friday, February 16, 2007 10:27 AM To: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Tmote CPU clock speed Thanks Steve. That is what I did. I copied

[Tinyos-help] Broken links on tinyos.net site for T2 nesdoc

2007-02-16 Thread Nicholas Beck
Just thought I'd let everyone know that the links to the TinyOS 2.0 nesdoc documentation are broken from http://www.tinyos.net/scoop/special/support, they are missing a directory from the URL. The link from http://www.tinyos.net/tinyos-2.x/doc/ is still ok. The broken link to each platform's

Re: [Tinyos-help] math functions and floating point numbers

2007-02-16 Thread virginia estellers
Thanks! It doesn't still work with me, but anyway it's nice of you to help me. I've finally parsed myself the message with matlab as I also had to process the data, not so smart as mig, but working already. Cheers Virgínia ___ Tinyos-help mailing

[Tinyos-help] TinyOS TOSSIM Timing

2007-02-16 Thread Jason Hemann
All, I am interested in using the system clocks on motes to do some timing for a countdown. I want the numbers I get to at least parallel what the Timers (from TimerC) are using. I am calling the function ReadCounter() as provided in the ClockC.nc file. Is this appropriate? If not, what