Re: [Tinyos-help] Purpose of TOSBase interfaces

2008-05-07 Thread ram kishore
Hi, When packet is receive,RadioReceive interface generates *receive*event which posts RadioRcvdTask() whose function is to send that packet to UART.When UART receives the packet, it generates receive event which posts UARTRcvdTask() whose function must be to send it to PC. Instead, it sends

Re: [Tinyos-help] question aout the TOSBootM

2008-05-07 Thread jiwen zhang
Hello all : when i read the file TOSBootM.nc , there are some things i can' t understand ! 1. The external flash is divided into three slots , *i want to know the size of every slot ? are they identical ?* from reading the TOSBootM , i think the *structure of every slot *is that : for

[Tinyos-help] CC2420 behaviour regarding CRC error

2008-05-07 Thread Paolo
when the cc2420 radio receives a packet, it checks whether the CRC bytes in the packet are correct or not (via HW). and then it replaces the two CRC bytes at the end of the packet with RSSI information and some correlation values, and only one bit to tell whether the recieved packet had valid

Re: [Tinyos-help] CC2420 behaviour regarding CRC error

2008-05-07 Thread Damien O'Rourke
In CC2420ReceiveP you will find the following comment and code: // pass packet up if crc is good if ( ( buf[ length ] 7 ) rx_buf ) { uint8_t type = ( header-fcf IEEE154_FCF_FRAME_TYPE ) 7; signal CC2420Receive.receive( type, m_p_rx_buf ); if ( type == IEEE154_TYPE_DATA

[Tinyos-help] About the performance evaluation of CTP

2008-05-07 Thread Xiaojun Zhu
Hi everyone,  Has any work been done towards the performance evaluation of CTP in tinyos2.x?I failed to find one. I mean a comparative stduy of CTP vs. other protocols. Thanks!     Regards,     Zhu

[Tinyos-help] Protocols

2008-05-07 Thread fhg07
Recently I have started studying some protocols for tinyOS, and I wanted to test some, by installing them in the motes. However, I found some protocols codes only for the TinyOS1.x version, are there any TinyOS2.x protocol codes available for download? Furthermore, if any tutorial is available

[Tinyos-help] Protocols

2008-05-07 Thread fhg07
Recently I have started studying some protocols for tinyOS, and I wanted to test some, by installing them in the motes. However, I found some protocols codes only for the TinyOS1.x version, are there any TinyOS2.x protocol codes available for download? Furthermore, if any tutorial is available

[Tinyos-help] PER/BER measurements

2008-05-07 Thread rodolfo de paz
Hi all, I would need to do BER/PER measurements using 2 micaz motes. In cc2420 says that this could be done using test mode 2 but it doesn't say specifically how to do that, anyone knows more about this? Thanks for any help, Rodolfo. ___

Re: [Tinyos-help] addition of sensors to expansion port of telosb

2008-05-07 Thread Eric Keller
Do you have a link to the sensor data sheet? You probably should look at the data sheet for the MSP430. I'm overdriving the inputs on a telosb, of course they clip but it doesn't seem to have any significant effect. If you need to drop the voltage to 3 volts, it should be fairly easy if the

Re: [Tinyos-help] addition of sensors to expansion port of telosb

2008-05-07 Thread Richard
Sir, Why is it that the range of my input into the telos ADC port must be ranging from 0-3V? why 3V? is it because the battery supply is 3V? Thank you. Richard Michael Schippling [EMAIL PROTECTED] wrote: Well, I would start by looking at the specs for my sensor to see what kind of signal

[Tinyos-help] How to read the MAC address

2008-05-07 Thread alessiobarbirato
Hi, Does somebody know if it is possible to read the MAC address for the Telosb motes in TinyOS 2.x? Thanks Alessio. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] CC2420 behaviour regarding CRC error

2008-05-07 Thread Paolo
Hi Damien and thanks, If the value is 0 then it just waits for the next packet overwriting the original once it arrives. There is no event launched at the top layer ? Suppose that I should copy the wrong message (with CRC=0) before the next arrival. I have to capture the event

Re: [Tinyos-help] Purpose of TOSBase interfaces

2008-05-07 Thread Michael Schippling
I don't understand... The code you include is presumably called when a message is received over the UART. It calls RadioSend.send(), which, if names are to be believed, sends a message over the radio. The last time I looked at RadioRcvdTask() (or whatever the symmetric function is called) it

Re: [Tinyos-help] addition of sensors to expansion port of telosb

2008-05-07 Thread Michael Schippling
Yup. Anything over 3 volts is wasted, and may overload the input pin. Although as others have pointed out it's generally ok to over-voltage even though the specs say not to. MS Richard wrote: Sir, Why is it that the range of my input into the telos ADC port must be ranging from 0-3V? why

Re: [Tinyos-help] addition of sensors to expansion port of telosb

2008-05-07 Thread Richard
Thank you sir. Richard Michael Schippling [EMAIL PROTECTED] wrote: Yup. Anything over 3 volts is wasted, and may overload the input pin. Although as others have pointed out it's generally ok to over-voltage even though the specs say not to. MS Richard wrote: Sir, Why is it that the

Re: [Tinyos-help] About the performance evaluation of CTP

2008-05-07 Thread Omprakash Gnawali
On Wed, May 7, 2008 at 5:00 AM, Xiaojun Zhu [EMAIL PROTECTED] wrote: Hi everyone, Has any work been done towards the performance evaluation of CTP in tinyos2.x?I failed to find one. I mean a comparative stduy of CTP vs. other protocols. We have compared CTP with MultiHopLQI. Please

Re: [Tinyos-help] Purpose of TOSBase interfaces

2008-05-07 Thread ram kishore
Hi, Thanks for reply. After message is received over UART, in my opinion it should be delivered to listen tool.Why is it sending over the radio again? Is TOSBase working as transmitter also? TOSBaseM.nc is attached. Regards, Kishore On Wed, May 7, 2008 at 9:04 PM, Michael Schippling

Re: [Tinyos-help] Protocols

2008-05-07 Thread Omprakash Gnawali
On Wed, May 7, 2008 at 6:08 AM, [EMAIL PROTECTED] wrote: Recently I have started studying some protocols for tinyOS, and I wanted to test some, by installing them in the motes. However, I found some protocols codes only for the TinyOS1.x version, are there any TinyOS2.x protocol codes

Re: [Tinyos-help] Purpose of TOSBase interfaces

2008-05-07 Thread Michael Schippling
OH, maybe I get it now... TOSBase is to be used as the base-station on your PC. It passes messages between the radio (from re-Mote devices) and the serial port. The Listen program (or other host based software) sits on the other end of the serial. It only makes sense when it's on a piece of real

Re: [Tinyos-help] About the performance evaluation of CTP

2008-05-07 Thread Philip Levis
On May 7, 2008, at 5:00 AM, Xiaojun Zhu wrote: Hi everyone, Has any work been done towards the performance evaluation of CTP in tinyos2.x?I failed to find one. I mean a comparative stduy of CTP vs. other protocols. The only published results on CTP are in HotNets 2007 (Four Bit

[Tinyos-help] TOS_post vs postTask

2008-05-07 Thread Frederic Beaulieu
Hi all, I'm having problem compiling an TOS v2.x application for a HCS08 mcu. In the app.c file, there is a call to TOS_post which is not defined anywhere. When I compile for a different platform the same code use postTask which seems define later. Is there someone who can explain me this

[Tinyos-help] Routing

2008-05-07 Thread Maria Taramigkou
Hello!! I would like to ask how hard is to achieve routing using Oscilloscope.I mean, I need to use one mote as a gateway that receives data packets over the radio and transmits them over the serial port. Any kind of help is appreciated! ___ Tinyos-help

Re: [Tinyos-help] Routing

2008-05-07 Thread Omprakash Gnawali
On Wed, May 7, 2008 at 12:07 PM, Maria Taramigkou [EMAIL PROTECTED] wrote: Hello!! I would like to ask how hard is to achieve routing using Oscilloscope.I mean, I need to use one mote as a gateway that receives data packets over the radio and transmits them over the serial port. Any kind of

[Tinyos-help] Arrays of Length Zero

2008-05-07 Thread Frederic Beaulieu
Hi all, Is there a way to tell to NCC to avoid using zero-length array. My HCS08 compiler does not support it and it is very tricky to patch using sript? Any help will be appreciated, .:Fred ___ Tinyos-help mailing list

[Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Gary Lee
Hi, I am wondering how to measure the energy consumption in TinyOS 2.x? For example, the energy consumption of transmission of packet? receipt of packet? etc. Thanks, Gary ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Ittipong Khemapech
I think one of several ways to do is to have a look at CC1000/2420 datasheet. They provide current consumption required for transmitting at various transmission power levels. Ittipong 2008/5/7 Gary Lee [EMAIL PROTECTED]: Hi, I am wondering how to measure the energy consumption in TinyOS 2.x?

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Gary Lee
Is there any general code or approach we can use? Datasheet is only a reference, I think. For example, what if I would like to measure how much energy it will cost to sense a temperature value? Best regards, Gary On Wed, May 7, 2008 at 2:39 PM, Ittipong Khemapech [EMAIL PROTECTED] wrote: I

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Ittipong Khemapech
I think that would require special equipments in order to measure the current used. I said this as I saw some data in some papers which I can't remember. Ittipong 2008/5/7 Gary Lee [EMAIL PROTECTED]: Is there any general code or approach we can use? Datasheet is only a reference, I think.

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Eric Keller
You need to set up an ammeter to measure the current and probably a voltmeter to measure the voltage. I think the best way would probably be to put a shunt in the voltage supply line and measure the voltage drop across that for current. You can just measure the voltage from the power supply line

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Janos Sallai
Gary, Do you have an oscilloscope at hand? If yes, you can do it as described here: http://focus.ti.com/lit/an/swra144/swra144.pdf I'm not sure, though, if you can measure such short events as reading a sensor... Janos From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Michael Schippling
Also...search this list for... 1 ohm resistor ... without quotes, even though that is the exact phrase. MS Janos Sallai wrote: Gary, Do you have an oscilloscope at hand? If yes, you can do it as described here: http://focus.ti.com/lit/an/swra144/swra144.pdf I’m not sure,

Re: [Tinyos-help] how to measure the energy consumption?

2008-05-07 Thread Jacob Sorber
If you are interested in online measurements, you can look at the measurement hardware we built for Eon. The paper and hardware designs, and energy estimation code are available at the following link. http://prisms.cs.umass.edu/~sorber/eon/ Depending on what you are doing you might not need

[Tinyos-help] error when compile AntiTheft on iris

2008-05-07 Thread 贾鹏
Hi there when compile the nodes I got AntiTheftC.nc: In function `RadioControl.startDone': AntiTheftC.nc:147: LowPowerListening.setLocalDutyCycle not connected when compile the root I got AntiTheftRootC.nc: In function `RadioControl.startDone': AntiTheftRootC.nc:58:

Re: [Tinyos-help] error when compile AntiTheft on iris

2008-05-07 Thread Janos Sallai
Peng, By default LPL is off by default in the rf230 stack. It can be enabled by defining the LOW_POWER_LISTENING preprocessor variable (e.g. by adding PFLAGS+=LOW_POWER_LISTENING to your Makefile. Apparently, we forgot to update AntiTheft since LPL has been added to the rf230 stack.

[Tinyos-help] Need help in understanding two variables in MultiHopLEPSM

2008-05-07 Thread nirupama
Hello all, I am trying to understand the routing done in Surge application. Can anyone please tell me what is the purpose of these two variables: sendEst and receiveEst in MultiHopLEPSM in tos/lib/route. Any help will be greatly appreciated. Nirupama

Re: [Tinyos-help] How to read the MAC address

2008-05-07 Thread Urs Hunkeler
Hi Alessio, If I'm not mistaken, then the CC2420 radio chip doesn't come with a preprogrammed MAC address. I think the radio supports different MAC address lengths, depending on the protocol that you use. TinyOS uses 2-byte addresses, the node-ids (the ID with which you program the motes). In