On 6/7/07, Zhifeng Lai <[EMAIL PROTECTED]> wrote:
Can anyone confirm that my finding of two data type dismatches in interpreting
messages between nesC programs and MIG in TinyOS 1.1.13 is correct? (My OS is
WinXP + SP2.)
(1) MIG regards "int" type as 16-bit data , while nesC treat it as 32 bits.
(2) In the following structure:
nesC will allocate 96 bits for MyMsg while MIG interpret it as a 72-bit
structure.
Types like int, and composite types (structs) have different sizes and
alignment rules on different platforms. You didn't specify the same
platform when you used nesC and mig,
David Gay
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help