Re: [Tinyos-help] Time function

2020-12-28 Thread Eric Decker
actually this has already been done in the tp-freeforall tree ( https://github.com/tp-freeforall/prod) It is implemented in https://github.com/tp-freeforall/prod/blob/tp-master/tos/system/SchedulerBasicP.nc it is in memory logging. there are some gdb

Re: [Tinyos-help] Time function

2020-12-27 Thread Jeremy J
There are no built in functions. you will have to manually snapshot the timer count at the startand stop of a task On Sun, Dec 27, 2020 at 8:59 AM Anita Patil wrote: > Is there any function in nesC to compute time taken by a task processing? > > In Timer.nc interface there are functions

[Tinyos-help] Time function

2020-12-27 Thread Anita Patil
Is there any function in nesC to compute time taken by a task processing? In Timer.nc interface there are functions Iike getnow(), gett0() , getdt(), startperiodic() etc. But I didn't get any function to compute time taken by a task processing. I.e to start and stop the timer respectively before

Re: [Tinyos-help] Time slot time

2017-03-21 Thread arsaraiva
Hi James, how are you? Repair the code below: include "Timer.h" module testeC @safe() { uses { interface Boot; interface Receive; interface AMSend; interface Timer as TimerSlot; interface LocalTime as Clock; interface SplitControl as AMControl; interface Packet;

Re: [Tinyos-help] Time slot time

2017-03-21 Thread James Allen (PGR)
18:02 To: tinyos-help@millennium.berkeley.edu<mailto:tinyos-help@millennium.berkeley.edu> Subject: [Tinyos-help] Time slot time Hello friends, I would like a help on TinyOS / TOSSIM how to setup the time slot in a simulation. I set up my time window with 183 slots, with only 14 active. I

[Tinyos-help] Time slot time

2017-03-20 Thread arsaraiva
Hello friends, I would like a help on TinyOS / TOSSIM how to setup the time slot in a simulation. I set up my time window with 183 slots, with only 14 active. I have a call to function call type TimerSlot.startPeriodic (2); Which checks which slot is in the loop and turns it on or off. My

Re: [Tinyos-help] Time Synchronization in Micaz

2014-08-07 Thread Nemer14
Thanks sir, but how can I run the FtspDataLogger java application (java FtspDataLogger)? Since when I tested with Cygwin and wrote java FtspDataLogger this gave me an error ! So, how can I run this java file to see the data received ? -- View this message in context:

[Tinyos-help] Time Synchronization in Micaz

2014-08-05 Thread Nemer14
Any one has a code of any time synchronization protocol in WSN using Micaz? Best Regards. -- View this message in context: http://tinyos-help.10906.n7.nabble.com/Time-Synchronization-in-Micaz-tp24527.html Sent from the TinyOS - Help mailing list archive at Nabble.com.

Re: [Tinyos-help] Time Synchronization in Micaz

2014-08-05 Thread Philip Levis
The canonical approach for doing this is called FTSP (flooding time synchronization protocol). http://www.math.u-szeged.hu/tagok/mmaroti/okt/2010t/ftsp.pdf Take a look at tos/lib/ftsp. There is a sample app in apps/tests/TestFtsp. Phil On Aug 5, 2014, at 2:57 AM, Nemer14

Re: [Tinyos-help] Time to transmit in CC2420!

2013-02-19 Thread Janos Sallai
Wasid, You probably can't reduce that, at least not without digging deep into the radio stack code. Notice that there is a significant delay between issuing send and the packet actually going out. First, the SPI resource needs to be acquired. Then, the packet is uploaded to the TX FIFO of the

Re: [Tinyos-help] Time to transmit in CC2420!

2013-02-09 Thread janricliutinyos
: Saturday, February 09, 2013 12:15 AM To: wasif masood Cc: janricliutinyos; tinyos forum Subject: Re: [Tinyos-help] Time to transmit in CC2420! Wasif, Not sure how you are synchronizing, but have a look at how packet timestamps are implemented. You get a timestamp at transmit (SFD rise

Re: [Tinyos-help] Time to transmit in CC2420!

2013-02-08 Thread wasif masood
in the …/apps/ ** ** Janric Liu ** ** *From:* tinyos-help-boun...@millennium.berkeley.edu [mailto: tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *wasif masood *Sent:* Thursday, February 07, 2013 11:03 PM *To:* tinyos forum *Subject:* [Tinyos-help] Time to transmit in CC2420

Re: [Tinyos-help] Time to transmit in CC2420!

2013-02-08 Thread Thomas Schmid
based on the program given in the …/apps/ Janric Liu From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of wasif masood Sent: Thursday, February 07, 2013 11:03 PM To: tinyos forum Subject: [Tinyos-help] Time to transmit

[Tinyos-help] Time to transmit in CC2420!

2013-02-07 Thread wasif masood
Hi All, I know this is probably an old topic but I still couldn't find any solution to that. Well, I am using CC2420Transmit.Send interface which is connected to CC2420TransmitC. Even at this lowest level of wiring the time elapsed between the Send and SendDone signal is in 10's of milliseconds

Re: [Tinyos-help] Time to transmit in CC2420!

2013-02-07 Thread janricliutinyos
Subject: [Tinyos-help] Time to transmit in CC2420! Hi All, I know this is probably an old topic but I still couldn't find any solution to that. Well, I am using CC2420Transmit.Send interface which is connected to CC2420TransmitC. Even at this lowest level of wiring the time elapsed

[Tinyos-help] Time Difference of Arrival

2012-03-13 Thread giacomo_gioacch...@libero.it
Hi,I am a student and for a Univeristy project I am using the mica2 motes and Tinyos-1.x. I would like to implement a simple code for the acoustic ranging. I have found the Time interface, which I think could be useful to me, especially the async command tos_time_t get(), in order to get the

[Tinyos-help] Time sync problem using FTSP

2012-03-08 Thread Ariel1110
Hello all, We are working on time synchronization of TelosB motes. We've implemented TestFtsp on 2 motes, RadioCountToLed on the beacon node, and apps/BaseStation on the gateway node. The code was taken from http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/apps/tests/TestFtsp/ The

Re: [Tinyos-help] Time sync problem using FTSP

2012-03-08 Thread Thomas Schmid
Ariel, Please use the version on the latest tree found here: http://code.google.com/p/tinyos-main/source/checkout The CVS tree is outdate for a while now. - Thomas On Thu, Mar 8, 2012 at 5:41 PM, Ariel1110 ariel.zhou.1...@gmail.com wrote: Hello all, We are working on time

[Tinyos-help] Time synchronization with tinyos2.x

2011-08-15 Thread Haider Ali
Hello all, I'm looking for a time synchronization protocol ready to use with iris motes on tinyos2.x. I've checked http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/stanford- lgl/libs/FTSP/ on sourceForge but the directory is empty. I really need this implementation in my

Re: [Tinyos-help] Time synchronization with tinyos2.x

2011-08-15 Thread Eric Decker
CVS T2 has been deprecated for well over a year. Try looking in then main T2 svn trunk:... http://code.google.com/p/tinyos-main/ On Mon, Aug 15, 2011 at 6:10 AM, Haider Ali haider...@kfupm.edu.sa wrote: Hello all, ** ** I'm looking for a time synchronization protocol ready to use

[Tinyos-help] time in millisecond in Tossim

2011-01-20 Thread Anas
I need help please how can I calculate time by millisecond In TOSSIM Anas A. Al-Roubaiey Lecturer-B, Computer Engineering Department King Fahd University of Petroleum Minerals Dhahran 31261, Kingdom of Saudi Arabia Office: 966 3 860 1423 Mobile : 966 505-624-163

[Tinyos-help] time spent during turning off the radio

2010-10-25 Thread wasif masood
Hi all, could anyone please tell me what is the time spent in turing off and turining onn the CC2420 Radio? -- Wasif Masood ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] time in TOSSIM

2010-08-12 Thread Omar Cheikhrouhou (yahoo)
I my app I launched two motes A and B. the mote A send a message at time 0s, this message is received by B at time 9ms. What represents this 9 ms ? the time of transmission (length/bandwith) or the time of propagation or the time of waiting the channel or both? In addition why when repeating the

Re: [Tinyos-help] time simulation in tossim

2010-08-11 Thread mojtaba raznahan
Hi Omar, yes, just transmission time.Computation time is not supported in TOSSIM. On Wed, Aug 11, 2010 at 3:30 PM, Omar Cheikhrouhou (yahoo) enis01a...@yahoo.fr wrote: Hello, What kind of time tossim simulate. It is only the transmission time? That is the computation time is not modeled?

[Tinyos-help] Time interval between send and sendDone (transmission delay)

2010-07-20 Thread Obaid Salikeen
TinyOS 2.x,,,cc2420: For cc2420, i just calculated the time interval between consective messages : MONO-- 113 MONO-- 103 MONO-- 97 MONO-- 88 MONO-- 82 MONO-- 73 MONO-- 66 MONO-- 57 MONO-- 51 MONO-- 42 MONO-- 36 MONO-- 27 MONO-- 20

[Tinyos-help] time in microsecond in tinyos-1.x

2010-07-06 Thread asma khalid
hello i am working in tinyos-1.x in TOSSIM..currently i am facing a difficulty in finding time in microsecond between two operation... i have used before = call SysTime.getTime32(); and then i perform some tasks...and then called after = call SysTime.getTime32();

[Tinyos-help] time sync during sleep-wake cycling

2010-07-02 Thread Deeksha Rao Sahib
Hi, I have a network of about 20 motes and i am using ftsp for time sync. I want to do sleep wake scheduling with these motes turning their radio on for a short duration of about 2sec and then turn radio off for 10min. I changed the TIMESYNC_RATE from 10sec to 1sec in the ftsp code. But, the

[Tinyos-help] Time Synch FTSP tutorial

2010-06-21 Thread Juhi
Hi, I tried out the time synch ftsp tutorial for tinyos. I am working with meshnetics meshbean platform. As per the guidelines, I have configured one node with BaseStation app, one node with RadioCountToLeds and two nodes with TestFtsp. I am reading the output of the BaseStation with 'java

[Tinyos-help] Time stamping in TinyOS-2.1 .. Telosb Platform

2010-06-17 Thread Nirzaree Vadgama
Hey, How do we time stamp packets in tinyos-2.x? The platform I m using is TelosB Motes. I am quite naive to NesC n tinyOS. So, plz guide me. Thanx, Nirzaree Electronics Engineering NIT Surat INDIA -- Life is a verb, it is not a noun.. ___

[Tinyos-help] time synchronization in xmesh

2010-04-08 Thread Siddharth Kamath
Can you point me to an application in Xmesh which which uses the XMesh TimeSyncService. Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] time() and ticksPerSecond() in TOSSIM

2010-02-05 Thread Yusnaidi Md Yusof
Hi All, I understand that in TOSSIM simulation, t.time() is the current simulation time, while t,ticksPerSecond() is the number of events per second.. Is that correct? Please someone correct me if I am wrong... thank you in advance. Yusnaidi ___

[Tinyos-help] time calculation

2009-09-07 Thread chikh omar
 Hello, Is there any difference in calculating time between TinyOS1 and TinyOS2. Thanks in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address :

[Tinyos-help] time to radio shutdown

2009-06-22 Thread Carmine Ambrosino
Hello to all, I am using the telosb platform and I send short messages with radio every second. I also used LPL module to reduce consumption, I noticed that the time when the radio is on for forward is very large (112ms) compared to the amount of payload transmitted (8 uint16_t ). If you could

[Tinyos-help] Time Interval

2009-06-01 Thread Jane
I want to implement a loop that sends a jamming signal over a random period of time, sleeps for a random period. I found the Random interface, but not sure how to implement the time intervals. Is there a interface I could use to perform the task? I have IRIS rf230. Thanks! YanYan

Re: [Tinyos-help] Time Interval

2009-06-01 Thread Ruben Catteeuw
Hi, Why not just generate a random number with the Random interface and then initialize a timer with this value? regards Ruben Date: Mon, 1 Jun 2009 08:49:06 -0700 From: janesjunk...@yahoo.com To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Time Interval I

[Tinyos-help] Time to convert ADC for Telos B

2009-04-23 Thread Carmine Ambrosino
Hi, How can I see the time used for one convertion with ADC for Telos B. thanks everyone CA Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Time to convert ADC for Telos B

2009-04-23 Thread Michael Schippling
You'll probably have to go rummage in the controller manual to find how many clocks the ADC needs, and then figure out what clock pre-scaler is being used. I only know (IIRC, approximately) 25 scaled-instruction-clocks is the number for the micas. MS Carmine Ambrosino wrote: Hi, How can I see

Re: [Tinyos-help] Time Stamp

2009-02-28 Thread Islam Mohamad Ameen Al Jarrah
...@isis.vanderbilt.edu Date: Saturday, February 28, 2009 2:54 am Subject: Re: [Tinyos-help] Time Stamp To: Islam Mohamad Ameen Al Jarrah g00022...@aus.edu, tinyHelp tinyos-help@millennium.berkeley.edu It's a tough problem. RF waves travel 300 meters in a microsecond. This is typically more than

Re: [Tinyos-help] Time Stamp

2009-02-28 Thread Miklos Maroti
28, 2009 2:54 am Subject: Re: [Tinyos-help] Time Stamp To: Islam Mohamad Ameen Al Jarrah g00022...@aus.edu, tinyHelp tinyos-help@millennium.berkeley.edu It's a tough problem. RF waves travel 300 meters in a microsecond.  This is typically more than the communication range of the motes

Re: [Tinyos-help] Time Stamp

2009-02-28 Thread Islam Mohamad Ameen Al Jarrah
- Original Message - From: Miklos Maroti mmar...@math.u-szeged.hu Date: Sunday, March 1, 2009 1:06 am Subject: Re: [Tinyos-help] Time Stamp To: Islam Mohamad Ameen Al Jarrah g00022...@aus.edu Cc: Janos Sallai sal...@isis.vanderbilt.edu, tinyHelp tinyos-help@millennium.berkeley.edu Dear

Re: [Tinyos-help] Time Stamp

2009-02-28 Thread Miklos Maroti
...@math.u-szeged.hu Date: Sunday, March 1, 2009 1:06 am Subject: Re: [Tinyos-help] Time Stamp To: Islam Mohamad Ameen Al Jarrah g00022...@aus.edu Cc: Janos Sallai sal...@isis.vanderbilt.edu, tinyHelp tinyos-help@millennium.berkeley.edu Dear Islam,  Please calculate the time stamping precision you

[Tinyos-help] Time Stamp

2009-02-27 Thread Islam Mohamad Ameen Al Jarrah
Dear All,I need to send a packet from one mote to another with a time stamp where it will be used to calculate the distance between the two motes, and need to send an acknowledgment back to the source also with a time stamp! Can any one help me with this?Regards,Islam

Re: [Tinyos-help] Time Stamp

2009-02-27 Thread Janos Sallai
It's a tough problem. RF waves travel 300 meters in a microsecond. This is typically more than the communication range of the motes. TEP132/133 prescribes millisecond precision timestampint. The best timestamping precision you can hope for is 2-3 microseconds on average, but you need to hack the

[Tinyos-help] Time-synchronization error problem on Telosb

2009-01-29 Thread Hussein Khaleel
Dear all, I am trying to implement a time-synchronization algorithm on Telosb motes using TinyOS 1.x. I am using ClockTimeStamping to timestamp the messages at the MAC layer, as well as LocalTimeMicro to have a micro-second resolution. The problem is that when I run the test I get the

Re: [Tinyos-help] time synchronization for MICAz wsn's

2009-01-24 Thread Michael Schippling
I found this sorta recent paper with lots of time sync info: http://www.cs.uic.edu/~ajayk/ext/ClockSyncWSNsurvey.pdf I haven't read it for accuracy, but hey, it's a thesis of some kind... MS Omprakash Gnawali wrote: On Fri, Jan 23, 2009 at 4:36 PM, wolfgangmi wolfgan...@gmail.com wrote: Hi

[Tinyos-help] time synchronization for MICAz wsn's

2009-01-23 Thread wolfgangmi
Hi all, I am using MICAz and TinyOS 1.1.15. I need to have a one-time synchronization for a network of 20~50 nodes with regard to a master node before deployment. I am not familiar with the state-of-the art achievable accuracy, but my desired accuracy should be within 1 millisecond and preferably

Re: [Tinyos-help] time synchronization for MICAz wsn's

2009-01-23 Thread Omprakash Gnawali
On Fri, Jan 23, 2009 at 4:36 PM, wolfgangmi wolfgan...@gmail.com wrote: Hi all, I am using MICAz and TinyOS 1.1.15. I need to have a one-time synchronization for a network of 20~50 nodes with regard to a master node before deployment. I am not familiar with the state-of-the art achievable

[Tinyos-help] time reference

2008-07-10 Thread roberto pagliari
is it possible, by using sky motes connected via usb, to get a time reference from the pc? thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Time in Trickle

2008-07-02 Thread Jimmy Lee
Hi, everyone: I've read the Trickle implementation code (\tos\lib\net\TrickleTimerImplP.nc) in 2.X. And I'm puzzled by the variable time in this code. This is the defination of struct trickle_t: typedef struct { uint16_t period; uint32_t time; uint32_t remainder; uint8_t

[Tinyos-help] time to turn on/off Radio CC2420

2008-06-12 Thread salvatore galati
Hi all. Sorry for my frequent questions. I'm a student of Informatic Engeenering of University of Pisa. I'm working with TmoteSky motes and TinyOs 2.x on cygwin. I founded a difference between my tossim simulation and realt tests with motes. In Tossim simulation the average message transmission

Re: [Tinyos-help] time to turn on/off Radio CC2420

2008-06-12 Thread Abhishek Anand
No the radio is not turned off by default after sending every message. Even if you have defined LOW_POWER_LISTENING, the radio is turned on and off regularly maintaining a duty cycle. I dont know what RxTxDelay is. It had no mention in the CC2420 datasheet. And I tested experimentally the radio

Re: [Tinyos-help] time to turn on/off Radio CC2420

2008-06-12 Thread salvatore galati
thanks for your answer. When i say RxTxDelay I mean the amount of time the radio takes to change from RX to TX mode (or vice versa). Theorically ,after sending a message, the radio should turn from Ttransfer mode to Receive mode, and then (when it must transmit a message) turn from Receive mode

[Tinyos-help] Time in Trickle

2008-06-12 Thread Jimmy Lee
-- Forwarded message -- From: Jimmy Lee [EMAIL PROTECTED] Date: 2008/6/13 Subject: Time in Trickle To: TinyOS Help tinyos-help@millennium.berkeley.edu Hi, everyone: I've read the Trickle implementation code (\tos\lib\net\TrickleTimerImplP.nc) in 2.X. And I'm puzzled by the

Re: [Tinyos-help] time synchronization

2008-06-04 Thread jiwen zhang
Hello : 2008/6/4 Miklos Maroti [EMAIL PROTECTED]: Hi Zhang, Yes. The PacketTimeStamp interface is used to access the transmit or receive time of the packet. If you want to embed a time stamp inside the packet then you need to use the TimeSyncAMSend and TimeSyncPacket interfaces of the

Re: [Tinyos-help] time synchronization

2008-06-04 Thread Miklos Maroti
Hi Zhang, that is to say this is the time synchronization between the sender and receiver , not the whole network ? Correct. i have seen the TimeSyncAMSend, when you send a packet , you shou give an parameter event_time in the command send . i can't understand the function of the parameter

[Tinyos-help] time synchronization

2008-06-03 Thread jiwen zhang
Hello all : i see some files in chips/rf230 , i see some words like TimeSyncPacket , so i think maybe the time synchronization is implementated in rf230 , am i right ? if yes , i want to know which arithmetic does it use ? maybe there are a corresponding paper , can someone give me a

Re: [Tinyos-help] time synchronization

2008-06-03 Thread jiwen zhang
Hello all : 2008/6/3 Miklos Maroti [EMAIL PROTECTED]: Hi Zhang, Hello all : i see some files in chips/rf230 , i see some words like TimeSyncPacket , so i think maybe the time synchronization is implementated in rf230 , am i right ? Yes. The PacketTimeStamp interface is used to

Re: [Tinyos-help] time synchronization

2008-06-03 Thread Miklos Maroti
Hi Zhang, Yes. The PacketTimeStamp interface is used to access the transmit or receive time of the packet. If you want to embed a time stamp inside the packet then you need to use the TimeSyncAMSend and TimeSyncPacket interfaces of the SimSyncSend component. i understand , when use the

Re: [Tinyos-help] Time synchronization with tinyos2.x

2008-05-18 Thread Marco Langerwisch
Of Marco Langerwisch Sent: Friday, May 16, 2008 9:02 AM To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Time synchronization with tinyos2.x Hello, I know there were several threads, but I didn't find what i need. I'm looking for a time synchronization protocol ready

[Tinyos-help] Time synchronization with tinyos2.x

2008-05-16 Thread Marco Langerwisch
Hello, I know there were several threads, but I didn't find what i need. I'm looking for a time synchronization protocol ready (or almost ready) to use with mica2 motes on tinyos2.x. Thank you! Regards, Marco -- . Marco Langerwisch, B.Sc. . ICQ 48125065 . www.web96.de

Re: [Tinyos-help] Time synchronization with tinyos2.x

2008-05-16 Thread Janos Sallai
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Langerwisch Sent: Friday, May 16, 2008 9:02 AM To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Time synchronization with tinyos2.x Hello, I know there were several threads, but I didn't find what i need

[Tinyos-help] Time delay

2008-04-11 Thread Poonam Hiwal
Hi, Help me finding the time delay of packet without implementing the time synchronization. Is there any way of doing it accurately? Please help in suggesting the solution. --Poonam ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Time scale in TOSSIM2

2008-04-07 Thread Mustafa Hammad
Hi, In TOSSIM1.0 we were able to set time scale by -l=scale flag. This will run the sim at scale times real time. Can any one tell me how we can do this in TOSSIM2 please? Thanks in advance Mustafa - You rock. That's why Blockbuster's

[Tinyos-help] Time accuracy errors

2008-03-31 Thread Lei Mlapom
Hi, I'm trying to get the time in a remote node and then I send it to the base node. To get the time in the remote node I have used: SimpleTime.Time; I do this call: uint32_t timelow; timelow = call Time.getLow32(); //the result is in binary miliseconds I don't understand why it works well when

[Tinyos-help] Time Control in NesC

2008-03-06 Thread Pengjun Pan
Hello everyone, For some reason, I want to assign a time for a particular packet to be sent by a mote in TOSSIM. For example, when a mote receives a packet at time 0.001, I want it to send it out at time 0.1. But I don't know how it can be implemented. Does anyone know if there is such a time

Re: [Tinyos-help] Time Control in NesC

2008-03-06 Thread ppan
Hi, David. Thanks for your reply on this issue. Actually, you might have noticed that I posted two questions today. What I am doing now is to detect if TOSSIM has the machanism to deal with the hidden and exposed node problems. However, in my current topology, two nodes send packets to the sink

[Tinyos-help] time synchronization from base station

2008-02-02 Thread ali çalhan
I want to broadcast time synchronization packet to motes for mote synchronization. Which interface can I use for my application? Thanks. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] time synchronization implementation

2007-12-10 Thread KeonSu Kim
Hi~ guys I am working on the simple time synchronization, but it is not easy to me. I hope that someone give me a comment. What I am trying to do is like this, 1. there are 3 motes( one-master, the other : slave) 2. Master mote transmits the packet to slave motes at the interval of some time. 3.

[Tinyos-help] Time Synchronization TinyOS 2.x

2007-11-09 Thread Min Guo
I implemented a Time Synchronization component with the linear regression idea which is firstly introduced by Vanderbilt University in TinyOS 1.x http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x-contrib/ethz/snpk/tos/lib/net/TimeSync/ If anyone wants to test the component, please let me know

[Tinyos-help] Time measurment in TOSSIM

2007-10-01 Thread Liron Elmaleh
Hi, I'm trying to measure the time that a task is running. For this issue I'm printing a message using the function sim_time_string() in the begining the end of the runTask function, but even when I'm using a task with a big loop in it, I still see that the difference is 0. How can I get the

Re: [Tinyos-help] Time measurment in TOSSIM

2007-10-01 Thread Chad Metcalf
Its very likely that what you are trying to time happens in fractions of a second so small they won't show up in sim_time_string. Use sim_time() and then divide the result by sim_ticks_per_sec() You probably will get an extremely small number. Chad On 10/1/07, Liron Elmaleh [EMAIL PROTECTED]

Re: [Tinyos-help] Time measurment in TOSSIM

2007-10-01 Thread Philip Levis
On Oct 1, 2007, at 5:01 AM, Liron Elmaleh wrote: Hi, I'm trying to measure the time that a task is running. For this issue I'm printing a message using the function sim_time_string() in the begining the end of the runTask function, but even when I'm using a task with a big loop in it, I

[Tinyos-help] Time-delay between Matlab and Mica2dot

2007-09-03 Thread Michael . Knox
I am trying to implement a simple wireless control network using the Mica2dot(433mhz) and the MIB510 base board. I have Interfaced the motes to Matlab via a serial connection, through the Serial Forwarder, using Kamins Matlab functions and TinyOs 1.1. The problem is that the return delay of

re: [Tinyos-help] Time-delay between Matlab and Mica2dot

2007-09-03 Thread Daniel Widyanto
-help] Time-delay between Matlab and Mica2dot I am trying to implement a simple wireless control network using the Mica2dot(433mhz) and the MIB510 base board. I have Interfaced the motes to Matlab via a serial connection, through the Serial Forwarder, using Kamins Matlab functions

[Tinyos-help] Time synchronization for Tmote Sky

2007-06-19 Thread manu suryavansh
Hi, I there any example of time synchronization with multihop for tmote sky. I have 25 tmote sky systems connected to pressure sensors and I want to synchronize the sampling of the sensors. Thank you Manu Suryavansh - Expecting? Get great news right away with

[Tinyos-help] Time Sync for Tiny OS 2

2007-06-11 Thread Dexma Sensors SL Sensors
Hei! I'm working for now with Tiny OS 2 and I need a very simple Time Sync protocol for my application. I've used a very simple broadcast protocol to achieve that, but I'm would like to know if there's any work already done. So, does anyone know any implented Time Sync protocol for Tinyos 2?

[Tinyos-help] Time Synchronization using NetSync

2007-05-18 Thread Ankur Kamthe
Hi all, I want to use NetSync to provide time synchronization in the Delta app code for Tmotes at full power. In the NetSyncC file it says, never to wire to it but instead use make tmote lowpower. So, when I compile using make tmote lowpower not providing the duty cycle value there but changing

[Tinyos-help] time difference????

2007-04-24 Thread sara Khad
Hello, I am trying to measure the receiving packets time; so I connected the base station to the USB and the other tmote sky is forwarding a packet every 1 second (1024). However when I read the time from the host pc using System.currentTimeMillis();. The time difference is about 999ms is that

[Tinyos-help] Time in each node

2007-04-22 Thread okhader
Thank you Michael for your reply BUT I have 4 tmote sky connected to the BaseStation and I want to get the time for each node; so mote1 send a packet to mote2 and then mote2 forward the same packet to the mote2 till it hit the base station. How to get the receiving packet time in each node. I

[Tinyos-help] Time Synchronization!!

2007-04-11 Thread Laleh Roustapoor
Hello I am an Information Technology student in AmirKabir University of Tehran. we are a group which do research on Time Synchronization in Sensor Network. We want to examine our new algorithm of TimeSynch and compare it with others.We decide to use TinyOS and TOSSIM in this case but we have a

[Tinyos-help] Time synchronization

2007-02-05 Thread under . actuate
Hey, It's been said that time synchronization and time stamping are available for Tmote Sky. Where do I look to see how to implement them? Thanks, Jared ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Time synchronization

2007-02-05 Thread Joe Polastre
See /opt/moteiv/tos/lib/sp, it includes the SPUtil interface and has information about timestamping in the SPC component. An example library that uses timestamping is in /opt/moteiv/tos/lib/netsync Be sure to apply patches to netsync from: http://www.moteiv.com/community/Moteiv_Boomerang_Fixes

RE: [Tinyos-help] Time counting

2007-01-04 Thread Michael Newman
The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error. The 2.0 TEP is quite clear, I never got there. The 2.0

Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf
On 1/4/07, Michael Newman [EMAIL PROTECTED] wrote: The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/ which gets a 404 error. The 2.0

Re: [Tinyos-help] Time counting

2007-01-04 Thread Chad Metcalf
My apologies for the initial mis-send. On 1/4/07, Michael Newman [EMAIL PROTECTED] wrote: The first thing I did was to read the documentation. The 2.0 Source code documentation link on page http://www.tinyos.net/tinyos-2.x/doc/ is broken, it points to

[Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
I have a complex application with a half dozen timers. One of the timers is used to count a clock once per second. The timer is set up with a call that looks like this: call TimerClock.start(TIMER_REPEAT,1000); The timer is never stopped or changed. I count a variable in the

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
The timer system in TinyOS does not guarantee any particular accuracy, only that accuracy MUST remain reasonable, probably something like +/-10% of the declared units. This is for various reasons including but not limited to temperature, voltage, and manufacturing variations that affect hardware

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 5:27 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting The timer system in TinyOS does not guarantee any particular accuracy, only that accuracy MUST remain reasonable, probably something

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
] *On Behalf Of *Cory Sharp *Sent:* Wednesday, January 03, 2007 5:27 PM *To:* Michael Newman *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Time counting The timer system in TinyOS does not guarantee any particular accuracy, only that accuracy MUST remain reasonable, probably

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
result in slow counts. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 6:01 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting Of course the device capable for some definition

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
in slow counts. -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Cory Sharp *Sent:* Wednesday, January 03, 2007 6:01 PM *To:* Michael Newman *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Time counting Of course the device

Re: [Tinyos-help] Time counting

2007-01-03 Thread Philip Levis
On Jan 3, 2007, at 4:41 PM, Michael Newman wrote: For time counts driven by a crystal the types of errors you are talking about should result in time variations of seconds per day. What I am seeing is seconds per minute. A repeating counter set to 1000 milliseconds should count seconds

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
This seems to work much better. Where will I find it documented? _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 7:53 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting

Re: [Tinyos-help] Time counting

2007-01-03 Thread Cory Sharp
better. Where will I find it documented? -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Cory Sharp *Sent:* Wednesday, January 03, 2007 7:53 PM *To:* Michael Newman *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] Time

RE: [Tinyos-help] Time counting

2007-01-03 Thread Michael Newman
(TIMER_REPEAT, 1000); } _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cory Sharp Sent: Wednesday, January 03, 2007 9:16 PM To: Michael Newman Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Time counting It is documented 1) In the TinyOS 1.x Timer

Re: [Tinyos-help] Time counting

2007-01-03 Thread Philip Levis
On Jan 3, 2007, at 6:43 PM, Michael Newman wrote: I was definitely led astray by the introductory material and the tutorials. They all talk about milliseconds and provide examples such as Blink where 1000 milliseconds is used as a timer argument and is described as a 1 second interval.

Re: [Tinyos-help] Time counting

2007-01-03 Thread Joe Polastre
On 1/3/07, Michael Newman [EMAIL PROTECTED] wrote: command result_t StdControl.start() { // Start a repeating timer that fires every 1000ms return call Timer.start(TIMER_REPEAT, 1000); } It does fire every 1000ms. Every 1000 binary milliseconds to be precise. RTM:

[Tinyos-help] time for EEPROM read and write operations

2006-11-11 Thread Sudha Krishna
We are trying to measure the time to read and write buffers of different sizes, ranging from a few bytes to the max.buffer size. - Is there a test program already available for this? I looked around the tinyos directory to see if a program like this is already available, but could not find

[Tinyos-help] Time resolution of SysTime.getTime32()

2006-10-17 Thread Sean Casey
Hello, Does anyone know the resolution of SysTime.getTime32() ? Is this in microseconds? It seems to be a 7 digit number. Any help would be appreciated. Thanks, Sean ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Time ... , but got an interface

2006-10-09 Thread Ivan Roca
Hi I am work with TosTime and Time interface, and I have this error : Surge.nc:23: cannot find `Time' Surge.nc:23: expected component `Time', but got an interface nesC: Internal error. Please send a bug report to the nesC bug mailing list at [EMAIL PROTECTED] make: *** [exe0]

  1   2   >