Hi all.

I have a non-generic module with an uint8_t array inside.
That module has a command like this:

command SomeModule.setValue(int something) {
    array[sim_node()] = something;
}

I was expecting that this array would be "global" for all motes and they
would share it (although this is not what WSN's are supposed to do) -- but
as far as I know about nesC, this was the expected behavior.

Instead, I got each mote having its own array without sharing its content
with any other mote.

Could anyone please enlight me with a logical explanation on why is this
happening?

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

Reply via email to