Hi all
I am aware from the tinyos help that the latest version of nesc
from CVS has support for 'nx_float' data type, the following is the
reference
http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/2008-September/003431.html
I have the latest version of nesc installed, but when I use nx_float in my
messgae structure and try to make a java file using mig command,
I get the following errors
Desktop/GUItest-NewStats-Project/StatsMessage.h:57: syntax error before
`nx_float'
Desktop/GUItest-NewStats-Project/StatsMessage.h:57: warning: no semicolon at
end of struct or union
Desktop/GUItest-NewStats-Project/StatsMessage.h:60: syntax error before
`deviation'
Desktop/GUItest-NewStats-Project/StatsMessage.h:62: syntax error before `}'
Desktop/GUItest-NewStats-Project/StatsMessage.h:62: warning: data definition
has no type or storage class
failed to parse message file Desktop/GUItest-NewStats-Project/StatsMessage.h
The message structure that I am using with nx_float types looks like this
typedef nx_struct StatsMessage_t {
nx_uint16_t node_id;
nx_uint8_t measured_value_id;
nx_float average;
nx_uint32_t min_value;
nx_uint32_t max_value;
nx_float deviation;
nx_uint8_t no_of_values;
} StatsMessage_t;
Can some one tell me whats wrong with my implementation. I am using
tmote sky nodes and Tinyos 2.0.2
Thanks for any help
Regards
Dinesh
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help