On Mon, Nov 10, 2008 at 1:36 PM, Matt Keally <[EMAIL PROTECTED]> wrote:
> 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.
>

You can look at TestDissemination and TestNetwork.

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

Reply via email to