Hi All,
I am having trouble declaring an array of characters. Till now I have always
worked with numbers but now I need an array of characters. When I used them in
the result.h which I have attached to the mail, I am getting the following
error:
result.h:7: syntax error before `nx_char'
result.h:7: warning: no semicolon at end of struct or union
result.h:9: syntax error before `}'
result.h:9: warning: data definition has no type or storage class
Thanks in advance,
Kartik
#ifndef RESULT_H
#define RESULT_H
typedef nx_struct packet_msg{
nx_char content[10];
nx_uint8_t c_len;
}packet_msg_t;
enum {
AM_PACKET_MSG = 14
};
#endif
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help