I was never able to get the names to resolve...
Instead I have an interface method that passes
a pointer to the "global" around to everyone else.
Do you have a good trick to avoid that?

thx
MS

Manjunath Doddavenkatappa wrote:
> I used use a separate component that allocates global variables. I am not 
> sure whether there is more appropriate way...
> 
> Manjunath D
> 
> ################################################################################################################
> ***************************************************************************************************************
> 
> On Mon, 17 Oct 2011, wasif masood wrote:
> 
>> Hi all,
>>
>> I am wondering is it possible to define a global variable in nesC which is
>> to be visible to all components in the project? If not, what are other good
>> approaches against that?
>>
>> BR,
>> Wasif Masood
>>
> _______________________________________________
> 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

Reply via email to