I think I should do byte-level declaration as usual and bitwise operation in specific byte accordingly. More ideas or hints are very welcome.
Thanks, Ittipong 2009/1/30 Ittipong Khemapech <[email protected]> > Hi Jordi, > > Many thanks for your reply. I'm kind of stuck at the very beginning. I'm > wondering how to declare the message structure which its individual bit is > accessed and set. > > Thanks, > Ittipong > > 2009/1/30 Jordi Soucheiron <[email protected]> > > 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 <[email protected]> >> >>> 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 >>> [email protected] >>> 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 >> [email protected] >> >> >> >> >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
