Its basic C. A basic introduction to C would cover this. It means ... motesAlive = motesAlive | sMsg->motesAlive;
| is the binary OR operator. motesAlive is most likely a module global or possibly a local. sMsg is most likely a pointer to an incoming network packet and sMsg->motesAlive is a member of that structure. I'm guessing but I'd say motesAlive is a bit map that indicates which other motes are alive. You'd have to read the source. On Tue, Apr 5, 2011 at 4:26 AM, sid sid <[email protected]> wrote: > could any one can explain me the meaning of motesAlive |= > sMsg->motesAlive; > > > thank you in advance > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
