On 8/20/07, Ákos Maróy <[EMAIL PROTECTED]> wrote:
> I wonder if it would be better to have specificy types defined for these
> different purposes. that way, API usage would be more straightforward,
> as one would know right away what is contained in what type..

While I understand your concern, this scheme with multiple embedded
types follows the standard(*) scheme for a layered network stack: each
layer has a packet layout (aka type) which is embedded in the "data"
field of the packet layout of the layer below.

*: "standard" here does really mean "essentially the whole world does
it this way" (e.g., TCP/IP, but I can't think of a counterexample at
this point ;-)).

David Gay

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

Reply via email to