Re: [Tinyos-help] Accsessing PC clock time in a mote for roundtrip time calculation

2012-02-08 Thread Johny Mattsson
Hello again, In this case I'd suggest perusing the excellent tutorials at http://docs.tinyos.net, starting with http://docs.tinyos.net/tinywiki/index.php/Mote-PC_serial_communication_and_SerialForwarder :) /Johny On 8 February 2012 23:20, Muhammad Altamash Khan wrote: > ** > Hi Johny, > > I r

Re: [Tinyos-help] Accsessing PC clock time in a mote for roundtrip time calculation

2012-02-08 Thread Muhammad Altamash Khan
Hi Johny, I really thank you for your quick reply. Actually i am currently working with CTP and trying to read the data from the motes in the network through the serial port. Amongst the two approaches you suggested, i will prefer the easier one where the mote message are tagged with the PC loca

Re: [Tinyos-help] Accsessing PC clock time in a mote for roundtrip time calculation

2012-02-06 Thread Johny Mattsson
Hi there, You don't mention which routing protocol, but if you're using the BLIP stack, one way to achieve time synchronization would be to use regular (S)NTP. Assuming you can route from the motes to the PC (e.g. via mote running PppRouter app), you can then run a standard NTP server on the PC an

[Tinyos-help] Accsessing PC clock time in a mote for roundtrip time calculation

2012-02-06 Thread Muhammad Altamash Khan
Hi, I am new to TinyOS and i intend to work with the routing protocol. Right now, i want to calculate the link and end to end delay in a multihop net. I am assuming that all the node are connected (via long USB cables) to PC. One idea i was contemplating was that, the message from a originator n