Dear All,

 

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:

文本框: typedef struct MyMsg {
uint8_t field1;
union {
start_sense_args field2;
} args;
} MyMsg;


nesC will allocate 96 bits for MyMsg while MIG interpret it as a 72-bit
structure.

 

Looking forward to your reply and thanks a lot!

 

Best regards,

 

 

 

Yours sincerely,

Zhifeng Lai

<<image001.png>>

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

Reply via email to