Hi,

I have implemented a basic aggregation using an array of byte in network
messages.
Sensed values are on 16 bit so I need two entries in this array to write one
value, and I use bitwise shift operators to perform that.

When I run the application in real mode the values received on the PC are
whatever, but they are good with TOSSIM.
So I think bitwise shift operators haven't the same effect on the PC CPU and
the telosb one, maybe the endianness* *is not the same.

I would like to know if it can be an explanation, if one component could
allow to use bitwise shift operators regardless the plateform.

Thanks,

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

Reply via email to