dear editor:
hello,I get some trouble of the network type in Tinyos2.0.My problem is
that I want to change the data in the message from nx_uint16_t to char*.For
example in tinyos-2.x\apps\Oscilloscope:
typedef nx_struct oscilloscope {
nx_uint16_t version; /* Version of the interval. */
nx_uint16_t interval; /* Sampling period. */
nx_uint16_t id; /* Mote id of sending mote. */
nx_uint16_t count; /* The readings are samples count * NREADINGS onwards */
char* readings[NREADINGS];
} oscilloscope_t;
But the compiler tells me that " field `'readings' must be a network type"
I want to know where should I to change or what else should I do?
Get trouble to you,thanks a lot!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help