[Tinyos-help] Access and set individual bit in payload
Jordi Soucheiron
jsoucheiron at dexmatech.com
Fri Jan 30 04:13:31 PST 2009
Hi,
Yes, it's possible. I'm sure there are a lot of ways to do that, but I think
the easyest way is to use masks and pointers
http://www.vipan.com/htdocs/bitwisehelp.html
I hope this helps
2009/1/30 Ittipong Khemapech <ik.tinyos at googlemail.com>
> Hi,
>
> Is it possible to access and set value to each individual bit of message_t
> payload? I've been through the archives and found nothing. If you have done
> before, please share or give me some hints.
>
> Many thanks in advance,
> Ittipong
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
Jordi Soucheiron
Software Engineer
DEXMA
Parc Tecnològic la Salle
Sant Joan de la Salle, 42
08022 Barcelona
t/f: [+34] 93 280 19 18
www.dexmatech.com
jsoucheiron at dexmatech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090130/a798df87/attachment.htm
More information about the Tinyos-help
mailing list