On Jun 20, 2006, at 7:27 AM, Conor Todd wrote:
Hi everyone.
I have a quick question regarding variable-length data in Active
Message
packets. While I know that the definition and use of such packets is
possible within the NesC (mote) portion of the code (within the bounds
of the maximum packet size), I do not know how to describe such a
packet
in a way in which mig will understand. The manpage for mig says
something about a zero-element array being an indicator of the
existence
of such a variably-sized field, but I have tried coding an array
declaration with empty braces and had no luck.
Empty braces should work. Take a look at lib/FS/Remote.h.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help