[Tinyos-help] TinyRPL multi root DODAG info

2012-12-11 Thread Luca Ferrucci
Goodmorning, I have a question about the TinyOs implementation of Rpl,
TinyRpl. I read on http://docs.tinyos.net/tinywiki/index.php/TinyRPL that
the actual implementation support multiple DODAG_ID and a single
InstanceID. Does it mean that I can support more than a DODAG tree (each
with a different root) in a single TinyOS application? Since I need to
write a test with multiple sink, where each sink builds its own DODAG tree.
If it's possible, how can I do it using TinyRPL?
Thank you very much for your answer, yours sincerely
Ferrucci Luca
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Any Examples of CTP in Tossim?

2012-12-11 Thread Omprakash Gnawali
apps/tests/TestNetwork

- om_p

On Mon, Dec 10, 2012 at 9:29 PM, John K. Russ ac7...@wayne.edu wrote:
 Hello All,

  Does anyone have examples of how CTP (Collection Tree Protocol) works on
 Tossim? Any code examples?


 --
 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
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] SPI slave with IRIS - How to read a SPI ADC

2012-12-11 Thread Philipe Dias
Hello everybody,

Since more than a month ago, I'm trying to communicate my IRIS XM2110
(Atm1281) board with an ADC through SPI. And I can't find any example code
of it!

Example applications 'BlinkToRadio' and 'BaseStation' worked fine for me,
so I was trying to change the BlinkToRadio application in some way that I
would be able to communicate through SPI. I tried to use the SPI example
for Atm128 chip, because, according to datasheets, the SPI pins are the
same of the Atm1281.

The problem I'm facing now is that, even including Atm128Spi.h and/or
atm128_sim.h, SPI registers (like SPSR, SPDR and others) are always with
the error undeclared (like SPSR undeclared). I'm quite lost trying to
include this SPI part.

Please, can anyone send me a working code that communicates with a SPI
slave? Or at least give me an advice about the problem with SPI registers
declarations.

I guess that, with a single example of this, I would be able to do what I'm
trying.

Best regards from Brazil,
Philipe Dias
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help