Re: [Tinyos-help] TinyOS questions
On Aug 23, 2010, at 11:47 AM, surfma...@gmx.at wrote: 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? 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? Please take a look at the TinyOS programming guide. Phil ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS questions
On Mon, Aug 23, 2010 at 11:47 AM, surfma...@gmx.at wrote: ... 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? You can look at blip or tymo for p2p routing. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TinyOS questions
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 Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help