Re: [Tinyos-help] SRFOFF and SRXON strobes necessary to switch channel

2013-03-07 Thread Janos Sallai
In theory, you could change the channel without turning off receive mode.
However, then you would have to prepare for some edge cases, which would
make the source code of the driver more complicated.

For example, what if you don't issue an SRFOFF, and a packet preamble comes
in after *writeFsctrl() *is called, but before the frequency register is
set. The packet will clearly not be receivced, because the frequency change
will take place in the middle of receiving the packet. It's hard to tell by
reading the cc2420 datasheet what happens to the radio state machine in
this case (page 43), and how the FIFO, FIFOP and SFD pins would behave.

To sum it up, I guess it's safer to put the radio in IDLE state before
changing the channel frequency. I do the same in the cc2420x stack. I don't
think there's a performance penalty in doing that. The radio is deaf for 12
symbol periods after changing the channel either way -- there's no way you
to get around that. It's just physics. That's how PLLs behave.

Janos


On Sun, Mar 3, 2013 at 5:17 PM, Xiaohui Liu xiao...@wayne.edu wrote:

 Hi everyone,

 In CC2420 stack, channel switch can done through *
 CC2420ControlP$CC2420Config$setChannel() *and then* **
 CC2420ControlP$CC2420Config$sync()**, *which goes to the following event:
  * event void SyncResource.granted() {
 ** call CSN.clr();
 * * call SRFOFF.strobe();
 * * writeFsctrl();
 * * writeMdmctrl0();
 ** writeId();
 * * call CSN.set();
 * * call CSN.clr();
 * * call SRXON.strobe();
 * * call CSN.set();
 ** call SyncResource.release();
 ** post syncDone();
 * * }*
 Can anyone please give me some hint why SRFOFF and SRXON strobes are
 necessary here? Thanks.
 --
 -Xiaohui Liu
 TelosB
 TinyOS 2.1.2
 www.cs.wayne.edu/xliu/

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] IPSN'13 Early Registration Deadline

2013-03-07 Thread IPSN'13 Publicity
It is a friendly reminder that IPSN'13 early registration is this Friday March 
8, 2013. For information about registration, please check out: 
http://www.cpsweek.org/.

A complete program of IPSN'13 is at http://ipsn.acm.org/2013/program.html.



To unsubscribe from the SENSORNET list:
write to: mailto:sensornet-signoff-requ...@listserv.acm.org
or click the following link:
http://listserv.acm.org/scripts/wa-ACMLPX.exe?SUBED1=SENSORNETA=1

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] CFP: 1st IEEE/ACM workshop on Signal Processing Advances in Sensor Networks

2013-03-07 Thread IPSN'13 Publicity
We would like to bring into your attention, the 1st IEEE/ACM workshop on Signal 
Processing Advances in Sensor Networks, held on April 8th 2013, in Philadelphia 
as a part of the CPS-Week, 2013. 

We would like to invite you, your students, and associated researchers to 
participate in the workshop and contribute a poster on signal processing and 
its applications to sensor networks, multi-agent systems, social networks, or 
other network structures. 

Details can be found on the workshop website: 
http://www.eecs.tufts.edu/~khan/cps_wsp.html

The workshop includes keynote speeches by Profs.
José M. F. Moura, Carnegie Mellon University; and,
Ali H. Sayed, University of California, Los Angeles.

In addition, there are four talks by Profs. Yasamin Mostofi (UCSB), Michael 
Rabbat (McGill), Alejandro Ribeiro (Penn) and 
Ali Tajer (WSU), and a panel discussion on What role would signal and 
information processing play in shaping the future of sensor networks? 

Important Deadlines for Contributed Poster Session
Submission of 2-page extended summary: March 7, 2013 (Send to: 
spadesnets2...@gmail.com)
Final decisions on the submitted papers sent to authors: March 17, 2013
Final paper for (optional) inclusion in proceedings: April 1, 2013 (Send to: 
spadesnets2...@gmail.com)

Please feel free to forward this invitation to others who might be interested. 
Let us know if you have any questions; looking forward to your contribution. 

Sincerely,
Organizers
Usman A. Khan, Tufts University, k...@ece.tufts.edu
Waheed U. Bajwa, Rutgers, The State University of New Jersey, 
waheed.ba...@rutgers.edu
Workshop Email: spadesnets2...@gmail.com
-- 
Usman Khan 
Assistant Professor | Electrical and Computer Engineering | Tufts University 
Office: Halligan 135, 161 College Ave, Medford, MA 02155 | Tel:617-627-5299 | 
Fax: 617-627-3220 
Director | SPARTN (Signal Processing and RoboTic Networks) Lab | Tufts 
University 
Lab: Rm 4022-4023, 196 Boston Ave., Medford, MA 02155 
Personal: http://www.ece.tufts.edu/~khan | SPARTN: http://spartn.ece.tufts.edu



To unsubscribe from the SENSORNET list:
write to: mailto:sensornet-signoff-requ...@listserv.acm.org
or click the following link:
http://listserv.acm.org/scripts/wa-ACMLPX.exe?SUBED1=SENSORNETA=1

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] where can find the Simx software and get down?

2013-03-07 Thread khuram
You can download SimX from here: 
http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/wsu/tools/simx/
Best Luck



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/where-can-find-the-Simx-software-and-get-down-tp346p22785.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] How to use Simx and how to install Simx?

2013-03-07 Thread khuram
You can use readme file to install simx on linux:
http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/wsu/tools/simx/simx/README?revision=1.3view=markup



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/How-to-use-Simx-and-how-to-install-Simx-tp1714p22786.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] milliseconds precision FTSP

2013-03-07 Thread Gustavo Zanatta Bruno
How to get global time with milliseconds precision in FTSP?

-- 
Atenciosamente:
Gustavo Zanatta Bruno
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Debugging IRIS motes

2013-03-07 Thread michal
Hello,

recently I have read 
http://docs.tinyos.net/tinywiki/index.php/Debugging_IRIS_motes guide. I 
have checked price of mkII here in Poland and it is quite expensive for 
student's wallet. And my question is - Do I need EXACTLY mkII for IRIS 
motes or could it be, for example:

http://www.propox.com/products/t_117.html?lang=enpropox_site_sessions=a3df4fe74bb4aa7a782ec7507bf5fd9c

which is much cheaper.

Best regards,
Michał T.

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Debugging IRIS motes

2013-03-07 Thread Miklos Maroti
You have LEDs and the serial line: that should be enough for all of
your debugging needs, at least that is what I use :) Miklos

On Thu, Mar 7, 2013 at 10:57 AM,  mic...@tobolewski.net wrote:
 Hello,

 recently I have read
 http://docs.tinyos.net/tinywiki/index.php/Debugging_IRIS_motes guide. I
 have checked price of mkII here in Poland and it is quite expensive for
 student's wallet. And my question is - Do I need EXACTLY mkII for IRIS
 motes or could it be, for example:

 http://www.propox.com/products/t_117.html?lang=enpropox_site_sessions=a3df4fe74bb4aa7a782ec7507bf5fd9c

 which is much cheaper.

 Best regards,
 Michał T.

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Debugging IRIS motes

2013-03-07 Thread michal
Hi,

with my application that includes CTP, DelugeT2, Dissemination and
serial communication I'am afraid that 3 leds will not be enough :)


On Thu, 7 Mar 2013 10:59:58 -0600, Miklos Maroti
mmar...@math.u-szeged.hu wrote:
 You have LEDs and the serial line: that should be enough for all of
 your debugging needs, at least that is what I use :) Miklos
 
 On Thu, Mar 7, 2013 at 10:57 AM,  mic...@tobolewski.net wrote:
 Hello,

 recently I have read
 http://docs.tinyos.net/tinywiki/index.php/Debugging_IRIS_motes guide. I
 have checked price of mkII here in Poland and it is quite expensive for
 student's wallet. And my question is - Do I need EXACTLY mkII for IRIS
 motes or could it be, for example:

 http://www.propox.com/products/t_117.html?lang=enpropox_site_sessions=a3df4fe74bb4aa7a782ec7507bf5fd9c

 which is much cheaper.

 Best regards,
 Michał T.

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Debugging IRIS motes

2013-03-07 Thread Miklos Maroti
Store traces in the flash and use CTP to download it. You cannot stop
time, and interrupt/event based software might not behave the way you
think when you debug it using JTAG. Miklos

On Thu, Mar 7, 2013 at 11:09 AM,  mic...@tobolewski.net wrote:
 Hi,

 with my application that includes CTP, DelugeT2, Dissemination and
 serial communication I'am afraid that 3 leds will not be enough :)


 On Thu, 7 Mar 2013 10:59:58 -0600, Miklos Maroti
 mmar...@math.u-szeged.hu wrote:
 You have LEDs and the serial line: that should be enough for all of
 your debugging needs, at least that is what I use :) Miklos

 On Thu, Mar 7, 2013 at 10:57 AM,  mic...@tobolewski.net wrote:
 Hello,

 recently I have read
 http://docs.tinyos.net/tinywiki/index.php/Debugging_IRIS_motes guide. I
 have checked price of mkII here in Poland and it is quite expensive for
 student's wallet. And my question is - Do I need EXACTLY mkII for IRIS
 motes or could it be, for example:

 http://www.propox.com/products/t_117.html?lang=enpropox_site_sessions=a3df4fe74bb4aa7a782ec7507bf5fd9c

 which is much cheaper.

 Best regards,
 Michał T.

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Debugging IRIS motes

2013-03-07 Thread Janos Sallai
Michal:

Any JTAG programmer should work that works with AVR Studio (or avr-gdb).

Other than that, I couldn't agree more with Miklos about how
inconvenient it is to debug sensor network applications (with timers,
radio communications, etc) with JTAG.

Janos

On Thu, Mar 7, 2013 at 11:12 AM, Miklos Maroti mmar...@math.u-szeged.hu wrote:
 Store traces in the flash and use CTP to download it. You cannot stop
 time, and interrupt/event based software might not behave the way you
 think when you debug it using JTAG. Miklos

 On Thu, Mar 7, 2013 at 11:09 AM,  mic...@tobolewski.net wrote:
 Hi,

 with my application that includes CTP, DelugeT2, Dissemination and
 serial communication I'am afraid that 3 leds will not be enough :)


 On Thu, 7 Mar 2013 10:59:58 -0600, Miklos Maroti
 mmar...@math.u-szeged.hu wrote:
 You have LEDs and the serial line: that should be enough for all of
 your debugging needs, at least that is what I use :) Miklos

 On Thu, Mar 7, 2013 at 10:57 AM,  mic...@tobolewski.net wrote:
 Hello,

 recently I have read
 http://docs.tinyos.net/tinywiki/index.php/Debugging_IRIS_motes guide. I
 have checked price of mkII here in Poland and it is quite expensive for
 student's wallet. And my question is - Do I need EXACTLY mkII for IRIS
 motes or could it be, for example:

 http://www.propox.com/products/t_117.html?lang=enpropox_site_sessions=a3df4fe74bb4aa7a782ec7507bf5fd9c

 which is much cheaper.

 Best regards,
 Michał T.

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] How to send and receive different AM types in CTP?

2013-03-07 Thread Omprakash Gnawali
If you do not want to change any CTP code, you can use different
collection ID to distinguish between packets from different
applications.

- om_p

On Tue, Mar 5, 2013 at 12:55 AM, Anbu Sorna sorna.a...@yahoo.com wrote:
 Hi all,

 We are doing project in tinyos on data aggregation and merging..
 In my forwarder, i am receiving data of AM type 23, i have to send merged
 data of different AM type 10 to the receiver.
 Precisely how to receive one AM type and send different AM type in the
 forwarder of Collection Tree Protocol..

 Expecting your reply

 Thank u..


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] WirelessHart

2013-03-07 Thread John K. Russ
Can TinyOS / Tossim simulate WirelessHart. Thank you for any tips or 
recommendations . 

-- 

John Kenneth Russ 
College of Liberal Arts  Sciences COMPUTING 
Wayne State University 
j...@wayne.edu 
(313)-577-0274 

“If you can control a man's thinking you do not have to worry about his action. 
When you determine what a man shall think you do not have to concern yourself 
about what he will do. If you make a man feel that he is inferior, you do not 
have to compel him to accept an inferior status, for he will seek it himself. 
If you make a man think that he is justly an outcast, you do not have to order 
him to the back door. He will go without being told; and if there is no back 
door, his very nature will demand one.” 
― Carter G. Woodson 
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Debugging IRIS motes

2013-03-07 Thread András Bíró
Not any JTAG programmer, JTAG ICE wouldn't work, because it doesn't support
Atmega1281. But AVR Dragon is relatively cheap, and it works.

Andris


On Thu, Mar 7, 2013 at 8:11 PM, Janos Sallai sal...@isis.vanderbilt.eduwrote:

 Michal:

 Any JTAG programmer should work that works with AVR Studio (or avr-gdb).

 Other than that, I couldn't agree more with Miklos about how
 inconvenient it is to debug sensor network applications (with timers,
 radio communications, etc) with JTAG.

 Janos

 On Thu, Mar 7, 2013 at 11:12 AM, Miklos Maroti mmar...@math.u-szeged.hu
 wrote:
  Store traces in the flash and use CTP to download it. You cannot stop
  time, and interrupt/event based software might not behave the way you
  think when you debug it using JTAG. Miklos
 
  On Thu, Mar 7, 2013 at 11:09 AM,  mic...@tobolewski.net wrote:
  Hi,
 
  with my application that includes CTP, DelugeT2, Dissemination and
  serial communication I'am afraid that 3 leds will not be enough :)
 
 
  On Thu, 7 Mar 2013 10:59:58 -0600, Miklos Maroti
  mmar...@math.u-szeged.hu wrote:
  You have LEDs and the serial line: that should be enough for all of
  your debugging needs, at least that is what I use :) Miklos
 
  On Thu, Mar 7, 2013 at 10:57 AM,  mic...@tobolewski.net wrote:
  Hello,
 
  recently I have read
  http://docs.tinyos.net/tinywiki/index.php/Debugging_IRIS_motesguide. I
  have checked price of mkII here in Poland and it is quite expensive
 for
  student's wallet. And my question is - Do I need EXACTLY mkII for IRIS
  motes or could it be, for example:
 
 
 http://www.propox.com/products/t_117.html?lang=enpropox_site_sessions=a3df4fe74bb4aa7a782ec7507bf5fd9c
 
  which is much cheaper.
 
  Best regards,
  Michał T.
 
  ___
  Tinyos-help mailing list
  Tinyos-help@millennium.berkeley.edu
 
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 
 
  ___
  Tinyos-help mailing list
  Tinyos-help@millennium.berkeley.edu
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help