[Tinyos-help] Use of TimeStamps in TOSSIM

2010-07-12 Thread Hassan Abid
Dear All, Does any one know how to use timestamps for packet traversing the network? Like how can we evaluate the time taken by a packet to travel from source node to destination node in TOSSIM? Can we add a field in AM Packet which when we extract at the destination tells us about the receive

[Tinyos-help] receiving 2 message at the same time

2010-07-12 Thread Fekete Tamás
Hello. I need some help. I would work with MICA2. And my question is the following: If the base station receives 2 messages at the same time, what are my possibilities? Can I choose of them? And how? I don’t know how MICA2 works in such situation. Thanks! Tamas ps. Has somebody done MAC

[Tinyos-help] Where can I get the source code?

2010-07-12 Thread shri humrudha
Hi,   I am searching for the source codes for the following protocols. If any one knows where to get pls let me know.   i)SPINS   ii)LEDS   iii)LLSP   iv)LiSp   v)SomeSec   vi)SNEP   vii)micro-TESLA   Thanks.

[Tinyos-help] UDP checksum error when forwarding packets

2010-07-12 Thread TheMrOrange
Hi, I'm experiencing udp checksum error while forwarding packets in multihop network. I've modified UDPEcho to get RSSI and LQI in a multihop network using commands .getRssi() and getLqi() provided by CC2420Packet interface. I'm testing application in a basic network: telosb_0 is acting as

Re: [Tinyos-help] receiving 2 message at the same time

2010-07-12 Thread Michael Schippling
All nodes in a system share one radio frequency/channel, so only one message can be on the air at a time. The MAC protocol attempts to prevent two nodes from transmitting at the same time, but if it fails the received result is usually garbage so sometimes messages are dropped due to interference.

Re: [Tinyos-help] `TOSH_DATA_LENGTH' undeclared (first use in this function)

2010-07-12 Thread Philip Levis
On Jul 7, 2010, at 3:30 PM, Yi Tang wrote: Hi all! I'm trying to analyse some Routing Protocols in TinyOS 1.x. For the Analysing i need to test compiled C Code. As i tried to compile e.g. tinyos-1.x/tos/lib/Route/MultiHopEngineM.nc i get this error: Why? These protocols are old, have well

Re: [Tinyos-help] Where can I get the source code?

2010-07-12 Thread Omprakash Gnawali
On Mon, Jul 12, 2010 at 4:33 AM, shri humrudha shri_humru...@yahoo.co.in wrote: Hi, I am searching for the source codes for the following protocols. If any one knows where to get pls let me know.   i)SPINS   ii)LEDS   iii)LLSP   iv)LiSp  

Re: [Tinyos-help] Avoiding collisions

2010-07-12 Thread conquer34
Doesn't the AMSend interface automatically implement that? -Original Message- From: Prabhakar Misra misra.pra...@gmail.com To: John conque...@aol.com Sent: Thu, Jul 8, 2010 4:19 pm Subject: Re: [Tinyos-help] Avoiding collisions Use CSMA-CA for collision avoidance for IEEE

[Tinyos-help] How to drop packets in CC2420ReceiveP

2010-07-12 Thread Aniket Gade
Hi I am trying to implement replay protection using frame counter. So my plan is to check the frame counter value of the incoming packet and if it is less than that of the previous packet then the packet has to be dropped. I am planning to implement this in CC2420ReceiveP.nc file. However I

[Tinyos-help] flush command by spi

2010-07-12 Thread Aniket Gade
Hi I was going the CC2420ReceiveP code and saw the flush() command to flush the RXFIFO. It is used when the incoming packet is too large and this command helps flush the RXFIFO buffer. My question is that is this command flush() equivalent for dropping unwanted packets? ThanksAniket

[Tinyos-help] 8ms for packet to reach CC2420ReceiveC(receiver) from CC2420TransmitC(sender)

2010-07-12 Thread Obaid Salikeen
Hi, I am using the most lowest component for sending i.e CC2420transmitC, and CC2420ReceiveC. Problem is that it is taking too long to send and receive a message with just 2 bytes payload and 21byte header (CC2420_SIZE). It is taking 8ms, so if a sender has send a packet, ACK will be received

[Tinyos-help] Hello, a question about AVcc of TinyOs

2010-07-12 Thread 風胤
Hello, I have a question about AVcc, my sensor use analog input 3 (ADC3) to give voltage. so how can i fix the Oscilloscope profile to give voltage for my sensor. Thanks. Best Regard Yang ___ Tinyos-help mailing list

[Tinyos-help] Hello all

2010-07-12 Thread Muhammad Riaz-ud-din
hello to all ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help