[Tinyos-help] CSMA/CA again plz help

2006-11-22 Thread Wu Nick
Hi I am working with MicaZ. I program CC2420Radio (tinyos-1.x\tos\lib\CC2420Radio) into my platform and try to estimate the performance of the CSMA/CA. I got few questions about the CSMA/CA performance which are listed below. 1. What are the parameters in CSMA/CA for MicaZ, such as

[Tinyos-help] CSMA/CA for MicaZ

2006-11-17 Thread Wu Nick
Hi, everyone Have anyone can kindly tell me the parameter of CSMA/CA for MicaZ. I mean the slot time, DIFS and SIFS etc. I can not find any useful information about this. Any response is appreciated. Cheers Wu _ 超大 2GB 信箱容量

[Tinyos-help] Print out the message

2006-10-20 Thread Wu Nick
Hello everyone I got a question about print the data with DiagMsg is under the \opt\tinyos-1.x\tools\java\net\tinyos\tools. I am working with MicaZ and try to synchronization by using FTSP. The motes were working fine, and I am sure about the base station really receive the result packet but

[Tinyos-help] Start with FTSP

2006-10-16 Thread Wu Nick
Deal all I am working with micaz. I just want to start with FTSP, and I downloaded the source code from NEST. When I compiled the TestTimeSyncC.nc file I got some errors. …/tos/lib/TimeSync/TimeSyncC.nc:52:18: invalid preprocessing directive #not_supported I had check it out for the

[Tinyos-help] Question about timestamp

2006-10-10 Thread Wu Nick
Can anyone tell how to use the timestamp correctly? I am working on MicaZ and I try to get the localtime when every time I transmit a packet. So I use “msg - time” which was provided by TOS_Msg structure in AM.h file. The value I got is base on the 16 bits value Since the Clock is running in

[Tinyos-help] How to get Local time

2006-10-09 Thread Wu Nick
Deal, all I want to get the Local time in ms. Have any component provide this function. My application is transmit a packet form source to sink with multihop. And record the Local time when the packet across each node until arrive sink. According the Local time to analyze the relay

RE: [Tinyos-help] Battery Power measurement

2006-10-07 Thread Wu Nick
Check the component “Voltage.nc” , then call ADCbatt.dataReady(uint16_t) to get the ADC_Count. Also see Crossbow, MPR-MIB Users Manual (page 25) for detail. Best regards, Wu From: Sumit Gupta [EMAIL PROTECTED] To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] Battery Power

[Tinyos-help] nesC language problem?

2006-09-30 Thread Wu Nick
Deal, all I am not very familiar with the nesC and C language. So I got some problem with the source code. For example, in the PingPong application which under the apps file. I know about how the PingPong app works, so I can guess what the meaning for each event and command. But some parts of

[Tinyos-help] Asynchronous timer0, external interrupt

2006-09-25 Thread Wu Nick
Hi, all My question is if I want to use the Timer0 in Asynchronous mode to wake up MCU, how to do that? I know I have to enable the “sei( );”, and set AS0 bit in ASSR (Asynchronous Status Register) the timer0 would run during sleep. But how to implement Timer 0, and how to define the parameter