[Tinyos-help] "Struct" dimension problems: pc vs mica2
jose m
josehmoyano at yahoo.com.ar
Fri Aug 25 11:45:17 PDT 2006
Hello all,
I has this problem:
when I compile my app for debug using "make pc", this structure has a size of 16 bytes:
typedef struct intruder_ping_t {
uint16_t temperature;
uint32_t latitude;
uint32_t longitude;
uint32_t timestamp;
} intruder_ping_t;
as you know, this is correct for a processor that address 32-bit words. My question is, what's the size of intruder_ping_t when the app is compiled for mica2 motes?
Thanks,
José
---------------------------------
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
Probalo ya!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060825/18828419/attachment.html
More information about the Tinyos-help
mailing list