[Tinyos-help] Example TinyOS 2.x app with multiple packet types
Matt Keally
makeal at wm.edu
Mon Nov 10 13:36:57 PST 2008
Hi,
I wish to have two types of packets for communication in my application:
control packets sent from a base station and sensor data packets returned
from the nodes. Each has a different nx_struct. Is there an example
application (I can't seem to find one) that makes use of this scheme? It
seems to be difficult to do this without a lot of redundant code.
Currently I am wiring the AMSend and Recieve interfaces to separate send and
recieve functions for data packets and control packets. Having both serial
and radio communication, this makes four nearly redundant functions to
handle sending packets and receiving packets.
Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081110/5bddd143/attachment.htm
More information about the Tinyos-help
mailing list