[Tinyos-help] Radio Sleep in tinyos

2013-03-18 Thread Anbu Sorna
Hi all, In my project work, Mote id 2 3 both are sending packets to Sink simulaneously.. After receiving flag value from Sink,Mote 3 should sleep for sometime(1ms)..Only mote 2 should send..After receiving another flag value from Sink,mote 3 sholud start its transmission again...To

[Tinyos-help] Radio Sleep in tinyos

2013-03-18 Thread Anbu Sorna
Hi all, In my project work, Mote id 2 3 both are sending packets to Sink simulaneously.. After receiving flag value from Sink,Mote 3 should sleep for sometime(1ms)..Only mote 2 should send..After receiving another flag value from Sink,mote 3 sholud start its transmission again...To

Re: [Tinyos-help] Send data from PC(Matlab) to serial

2013-03-18 Thread Antonio Linan
I believe you have to calculate the CRC and include it in your packet, also I would recommend to sniff the serial communication with a logic analyser. I have a very simple snippet of an earlier test code while building a library years ago, perhaps this can help (see below) Regards, --Antonio

Re: [Tinyos-help] Send data from PC(Matlab) to serial

2013-03-18 Thread Jiang Lu
Hi Antonio, After checking my packet CRC, now the writing to serial part is working! Thank you so much for your help! JL On Mon, Mar 18, 2013 at 3:41 AM, Antonio Linan ali...@zolertia.com wrote: I believe you have to calculate the CRC and include it in your packet, also I would recommend to

Re: [Tinyos-help] Radio Sleep in tinyos

2013-03-18 Thread András Bíró
Hi, Check how low power listening works: http://www.tinyos.net/tinyos-2.1.0/doc/html/tep105.html If you want to send packages, it turns on the radio no matter how much the LocalSleepInterval is. Oh, and sending the email twice doesn't cause faster reply... Andris On Mon, Mar 18, 2013 at 8:02