Hi,

you must remenber that TinyOS work with components and only you can access
to component is with interfaces. For pass the variable you must provides one
interface with one command that return the value of variable in the
component that it have the variable.

For get the variable you can uses the interface in other components and call
the command for get the value.

If the variable can change for many components use atomic.

A greeting,
Juan Antonio.


2007/4/27, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

Hi, i want to know if it is possible to pass the value of a variable
between two differents modules and how i can do it.

Moreover is it possible to create a variable that can be modifided by all
modules of a application and how i can do it?

Thanks


------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada



_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to