Re: [Tinyos-help] IPv6 and routing protocols

2007-08-22 Thread Philip Levis
On Aug 21, 2007, at 11:01 PM, Pedro Pinto wrote: Hi, Where I can find examples that uses IPv6 with one of the routing protocols (Dissemination or Collection). You can't. While net2 is working on a 6lowpan stack, collection and dissemination use active messages, a link-layer packet

[Tinyos-help] MACs for tinyos2.x

2007-08-22 Thread sara k
Hi all, I would like to know what MAC is implemented in tinyos2.x? B-MAC or S-MAC or what exactly ? where can I find information about them?? thanks for your helps Sara ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] low power listening - actual listening time?

2007-08-22 Thread Murray, Ben
When using low power listening, as discussed in the duty cycle help thread, I understand that the ON time is approx 5 ms. does anyone know approximately how long the radio is actually receiving during this period? I assume that some of it is due to start up time and that the receiver must be

Re: [Tinyos-help] Request for Comments on TEP 113

2007-08-22 Thread Hristo Bojkov
Dear TinyOS developer community: TinyOS Extension Proposal (TEP) 113 on Serial Communications has Been released for public review. I am writing to solicit comments and Suggestions on TEP 113 before it is finalized. Your comments are Essential to providing feedback and driving revisions to the

[Tinyos-help] SIM: Random

2007-08-22 Thread khawla lahmar
Hi all I'm working with TinyOS1.X. I want to know what the first line at the begining of any simulation means: SIM: Random seed is 320125 Does this value influences the simulation? if yes how? thanks a lot in advance *Khawal* ___ Tinyos-help mailing

[Tinyos-help] SendMsg.sendDone() - not signaled

2007-08-22 Thread Ittipong Khemapech
Hi, I have some problems with the SendMsg.sendDone() as it's not signaled. My files/modules are as follows: Makefile: COMPONENT=IkExp01 PFLAGS += -I%T/platform/pc/CC1000Radio include ../Makerules IkTestMsg.h: enum { AM_IKTESTMSG = 38 }; typedef struct IkTestMsg { uint16_t addr;//

Re: [Tinyos-help] SendMsg.sendDone() - not signaled

2007-08-22 Thread Urs Hunkeler
Hi, In the task SendPacket() you always set pending to FALSE. Try to set it only to false if there was an error: task void SendPacket() { IkTestMsg *message = (IkTestMsg *)local_msg.data; if (!pending) { pending = TRUE; message-addr = TOS_BCAST_ADDR; message-cnt =

[Tinyos-help] acknowledgements in Tinyos2.0.2 using BaseStationCC2420, not supported?

2007-08-22 Thread Tiago Camilo
Hi all, I am trying to implement acknowledgementsin my telosb motes, using the tinyos2.0.2. I am using the component CC2420ActiveMessageC with the interface PacketAcknowledgements as suggested in the TestAcks application of folder cc2420. However i can make this work using the

[Tinyos-help] MTS310 voltage level and light value correlated?

2007-08-22 Thread Christian Hermann
Hallo, I'm using TOS 2.0.2 with MICAz/MTS310 and the Crossbow sensor board drivers to measure light values. I recognized a dependency between voltage level of the batteries and the light value. The values are measured under equal conditions... Raw Light: ~766 (ID4), ~783 (ID5), ~799 (ID6) and

RE: [Tinyos-help] low power listening - actual listening time?

2007-08-22 Thread David Moss
Although I don't have much advice on clock drift, the CC2420 low power listening transmitter (micaz / tmote) should transmit a little longer than the receive check period, ensuring overlap. In the case of the CC2420, the 5 ms is approximately how long the radio is in receive mode. The radio

RE: [Tinyos-help] acknowledgements in Tinyos2.0.2 usingBaseStationCC2420, not supported?

2007-08-22 Thread David Moss
I'd like to take a look at this, but will be unavailable to do so today. Tomorrow I'll probably have time to investigate and get back with you. Thanks for the report -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tiago Camilo Sent: Wednesday,

[Tinyos-help] problem using Eclipse with TinyOS plugin on Ubuntu

2007-08-22 Thread Gary Pan
Hi all, Does anyone successfully use TinyOS plugin for Eclipse under linux machine? Every time I try to create an application, it could not get through. Is TinyOS plugin for Eclipse supported on Linux system? - Gary - Shape Yahoo! in your own image.

Re: [Tinyos-help] SendMsg.sendDone() - not signaled

2007-08-22 Thread Ittipong Khemapech
Hi Urs, Thanks for your suggestion. I tried and got the same result. Seems that the call SendMsg.send(TOS_BCAST_ADDR, sizeof(IkTestMsg), local_msg); returns SUCCESS only for the first time it's called. If I put the pending = FALSE; in if-statement, it'll always make the if condition in the

[Tinyos-help] TOSSIM 2.x running slow

2007-08-22 Thread Avinash Sridharan
Hi , We are running some throughput simulations on TOSSIM 2.0.2 that we installed from the TinyOS website. In the simulation we have a single receiver and two senders. The topology is such that all nodes can hear each other. In the simulation the senders continuously send packets to the receiver

Re: [Tinyos-help] SendMsg.sendDone() - not signaled

2007-08-22 Thread Michael Schippling
send() returns fail when it is still working on a message (and for reasons...), so this may indicate that you are trying to send too fast. That's the original point of the pending state variable, so make sure you have that logic worked out correctly. MS Ittipong Khemapech wrote: Hi Urs,

[Tinyos-help] Reg: TPSN Implementation in Tinyos

2007-08-22 Thread Dheeraj
I was trying to implement the Time synchronization protocol (TPSN) in TinyOS.1x, I download the code from the following link http://www.ee.ucla.edu/~saurabh/time_synchronization/NesC-TPSNsync-1.1.zip but I had the following errors: In file included from

Re: [Tinyos-help] SendMsg.sendDone() - not signaled

2007-08-22 Thread Ittipong Khemapech
Hi, Finally, I did it by having another variable in my module. It is increased when the SendMsg.sendDone() returns SUCESS and decreased otherwise. The SendPacket() is posted if and only if this variable is greater than zero. Many thanks for your suggestions :-) Ittipong On 23/08/07, Michael