Re: [Tinyos-help] problem with transmission

2009-06-12 Thread Urs Hunkeler
Hi Mohammad, After reading your original description of the problem, I think that an intermediate node (e.g. the basestation) does not realize that the nodes have been reset. I think that XMesh uses sequence numbers in their packets. After a node has been reset, maybe it starts over again with

Re: [Tinyos-help] Changing header structure

2009-06-12 Thread Urs Hunkeler
Hi Joe, Can you be a bit more specific? What file do you want to manipulate? Where is the file located (on a PC or a sensor node)? With what language would you like to do it? Cheers, Urs Joe Green wrote: > Hi all, > > Is there a method of directly manipulating the header of a file? I need >

[Tinyos-help] MICAz mote query

2009-06-12 Thread bharat naik
Hi, I wanted to know if anyone here who has worked on Crossbow's micaz motes have any idea if there is an arrangement for acknowledgement of sent packets at the link layer. This will help me decide whether I need to write a function that checks for acknowledgements (implicit or explicit) or j

Re: [Tinyos-help] Deluge

2009-06-12 Thread Leon Steenkamp
Thanks for the reply, I did figure it out after a while. I misread the code initially. But for some reason the mote was reporting that the supply voltage was too low and did not want to reboot. I thought that this was not possible as the mote was plugged into a USB port. Until I physically measured

[Tinyos-help] IP telosb

2009-06-12 Thread mofdi1
How can assign an IP address to a sensor telosb thank you in advance Trouvez des internautes qui partagent vos centres d'intérêt grâce à Voila http://tchat.voila.fr/ ___ Tinyos-help mailing

[Tinyos-help] Avrora - The AVR Simulation and Analysis Framework using IRIS-Motes

2009-06-12 Thread laptopcss
Hi, during my work with the Mica2 motes I used the "Avrora - The AVR Simulation and Analysis Framework" to test my programs without installing them on the motes. It was a nice thing. Now I work with the IRIS-motes. Thus, I want to know if anyone of you have experiences with "Avrora - The AVR Si

[Tinyos-help] problem with tosthreads and ADC12 MultiChannel

2009-06-12 Thread Jacob Sorber
I'm having a problem that only comes up when I'm using tosthreads. I have a NesC component that I have used for along time that uses the Msp430Adc12MultiChannel interface from Msp430Adc12ClientC to periodically sample 3 ADC pins. As long as I am not using tosthreads, it works great. In order to

[Tinyos-help] (no subject)

2009-06-12 Thread cristiano carnicelli
Hi all. I was wondering is there a way to write on a file like use fopen() and fwrite()? Or is there a way to redirect the printf on a file? Finally is there a way to get the current time? I use tinyos.2.1.0 and telosb Regards ___ Tinyos-help mailing li

Re: [Tinyos-help] problem with tosthreads and ADC12 MultiChannel

2009-06-12 Thread Kevin Klues
Can you send me your source code, along with your wrapper. I will try and track down the problem. Kevin On Fri, Jun 12, 2009 at 7:45 AM, Jacob Sorber wrote: > I'm having a problem that only comes up when I'm using tosthreads.  I have a > NesC component that I have used for along time that uses t

Re: [Tinyos-help] IP telosb

2009-06-12 Thread Michael Schippling
Motes don't have ethernet ports, so no IP addrs. You can use a SerialForwarder program on a host PC to "convert" messages from the USB port to an i'net port, in which case the IP addr will be that of the host computer with that port number appended. MS mof...@voila.fr wrote: > How can assign an I

Re: [Tinyos-help] MICAz mote query

2009-06-12 Thread Michael Schippling
micaz's have both hardware and software level acks which can be enabled in your code. When enabled you get a flag in the message.ack field in sendDone(). There is no automatic retry or anything fancy though. Search this list for information about them. MS bharat naik wrote: > Hi, > > I wante

Re: [Tinyos-help] pow function in telosb

2009-06-12 Thread Michael Schippling
pow() probably operates on doubles. I imagine that there is a float version for the motes, maybe powf(). Look at the math.h header for your platform, in the include directories for the specific compiler you are using. MS Xiaohui Liu wrote: > Hi everyone, > > I intend to compute power of x to y,

[Tinyos-help] CS and CCA

2009-06-12 Thread Gary Lee
Hi, In TinyOS implementtion, what is the difference between Carrier Sense and Clear Channel Assessment? Both are said to be used to decide whether the channel is idle or not.. Thanks, Gary ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.ed

Re: [Tinyos-help] problem with tosthreads and ADC12 MultiChannel

2009-06-12 Thread Jacob Sorber
Kevin, So, I think it may not be a tosthreads problem, after all. As long as I call configure for each call to getData() then everything works fine. From the documentation, I got the impression that you could call getData multiple times after configuring the channel. The behavior of returning S

Re: [Tinyos-help] problem with transmission

2009-06-12 Thread Mohammad S. Hashemian
Thanks Urs for your reply, I don't think if this would be the case, because first of all if this problem was because of XMesh sequence number, this would happen for every mote, while this problem just happened for 7 or 8 motes out of 10. The second point is that after this problem happens to a mot

[Tinyos-help] Baud rate issues with tinynode

2009-06-12 Thread Jacob Sorber
I just noticed that somewhere between Tinyos 2.0 and Tinyos 2.1, baud rates above 38400 stopped working on the tinynode. I can get around it easy enough by using low baud rates, but I just thought I would report the problem. When the rate is set too high, it gives a lot of "bad_packet" errors. J

Re: [Tinyos-help] Baud rate issues with tinynode

2009-06-12 Thread Philip Levis
On Jun 12, 2009, at 10:39 AM, Jacob Sorber wrote: > I just noticed that somewhere between Tinyos 2.0 and Tinyos 2.1, > baud rates above 38400 stopped working on the tinynode. I can get > around it easy enough by using low baud rates, but I just thought I > would report the problem. > > Whe

[Tinyos-help] TinyLime

2009-06-12 Thread Júlio César
Hello, I would like to know which version of the TinyOS tinyLime works. I checked the site but can not find a reference. Regards, Julio Cesar dos Santos student of computer science of UFRN*.* -- Atenciosamente, Júlio César dos Santos Fone: +55 84 9139 1100 e-mail: julio@gmail.com _

Re: [Tinyos-help] receive raw data

2009-06-12 Thread Huasong
I'm wondering why the ZigBee mote can receive TinyOS structured packets? Huasong On Thu, Jun 11, 2009 at 8:32 AM, Philip Levis wrote: > > On Jun 10, 2009, at 12:04 PM, < > g9762...@oz.nthu.edu.tw > > wrote: > > > Thanks for your reply. > > > > After my some effort, i take a look into Msp430S

[Tinyos-help] Help on DAC matters

2009-06-12 Thread Wong Kiing Ing
I am writing to ask your help on the DAC functionality. I am using TinyOS 2.1.0 on Tinynode. I have read through many information, including the MSP430 User's Guide, README text in MSP430/adc12 folder,TinyOS programming, TEP on Resource Arbitration, Boot Sequence and Schedulers and Tasks. I have s

Re: [Tinyos-help] receive raw data

2009-06-12 Thread g9762509
Thank you all very much. I will try during these days. Our ZigBee mote use tinyos8051wg (http://www.tinyos8051wg.net). It doesn't implement active messages yet. It just communicates with the simple packet. Hence I think it wouldn't check packet format at lower layer when receiving packets. Best

Re: [Tinyos-help] Atmega1281 sleep and active time analysis

2009-06-12 Thread Janos Sallai
Since this is very time critical, I would set the port values directly. Port A2 is the red led, that's a good point to start with. See chapter 13 in the atmega1281 datasheet. Janos On Thu, Jun 11, 2009 at 7:56 PM, 张荣雨 wrote: > Hi all: > > Now I am analysing the atemga1281 sleep and active time on

[Tinyos-help] serialsend.c problem

2009-06-12 Thread Vijay Gabale
Hi all, I have to send some x bytes of data every y milliseconds to the mote. The java program in TestSerial (tests/TestSerial) works good but I want the c program sdk/c/sf/serialsend.c to do the same task. Unfortunately when I make the serialsend.c send some data, the mote does not receive it. D