Hello,

After reading a TinyOS tutorial I have 4 remaining questions:

1.) Why do you need the = operator for wiring? 
Does the configuration as well as the module provide and use interfaces?
Why is the provides interface Leds; outside of the implementation?

configuration LedsC {
   provides interface Leds;
}
implementation {
   components LedsP, PlatformLedsC;
   Leds = LedsP.Leds;
   LedsP.Init <- PlatformLedsC.Init;
   LedsP.Led0 -> PlatformLedsC.Led0;
   LedsP.Led1 -> PlatformLedsC.Led1;
   LedsP.Led2 -> PlatformLedsC.Led2;
}

2.) What is auto-wiring?

3.) How could you send a multihop message from one sender to one receiver?
As I see ActiveMessageC uses single hop?
I saw multi-hop networking uses collection, dissemination!
But in collection multiple motes send to a server in a multihop fashion.
Could you just define a P2P connection using multihop?  

4.) Commands and events are synchronous by default? 
The execution of an event can't be interrupted by a task or another event 
because they are sync 
by default? If the commands or events as aync, they can be interrupted by a 
task?


bye
-- 
GMX.at - Österreichs FreeMail-Dienst mit über 2 Mio Mitgliedern
E-Mail, SMS & mehr! Kostenlos: http://portal.gmx.net/de/go/atfreemail
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to