Hi David,

On Wed, May 20, 2009 at 11:15 PM, David Li <[email protected]> wrote:
> Hi Miklos,
> I plan to use the tutorial code in Oscope. So I think it uses message_t. Is
> this what you are asking? Please explain what you meant by "manually". Do
> you have an example?

Ok, look at OscilloscopeC.nc, we copy the local structure into the
message_t and send it. The local structure is of oscilloscope_t type.
You need to add another field to oscilloscope_t, fill it up with the
TX power you use to send the message, then modify the java to
recognize that extra field.

What I am saying that any extra information can be put into a message.
TX_PWR is no different, but you have to write the code to put it
there.

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

Reply via email to