[Tinyos-help] AM Type Usage
Nicola Wegner
nicola.wegner at googlemail.com
Sun May 25 15:30:32 PDT 2008
Hi,
I have a question about common practice in using the AM Type.
I want to define a protocol with different types of packets.
Should I use one AM Type for the whole protocol and distinguish between the
different kind of packets by using a custom "subtype" field at the beginning
of every payload struct?
Or should I use a different AM Type for every packet type? When so, is there
a different way of sending packets with different AM Types beside using
multiple instances of AMSend?
And a question about the Tutorial "Mote-mote radio communication":
In the receive event the length of the payload is checked but not the AM
Type. Is there a specific reason for this practice?
Thanks in advance for your help
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080526/15853059/attachment.htm
More information about the Tinyos-help
mailing list