Hi, I started to study TOSSIM library. I read tutorial in tinyos web and
it says:

        In a C++ TOSSIM, there is no variable inspection. While it is
        possible to request memory regions and cast them to the expected
        structures, currently there is no good and simple way to do so.
        
I've tried with BlinkToRadio example and if I declare the var I need in
my driver c++ source, I can access without any problem:

        extern short unsigned int BlinkToRadioC$counter[1000];
        
And I have access to counter of every mote.

So, Is it the tutorial outdated?
Can I have any problem if I access vars in my simulation with this
system?

Thanks

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to