Hi,

I am using a micaz with tinyos 2.x

I want to examine an entire radio packet received by a node offline (on a
pc).

So right now I am blindly copying the bufPtr in the radio receive event,
into the payload area of the serial packet. Then forwarding the data over
serial to the PC where the Listen program spits the entire serial packet out
to the screen (or does it trim some of the serial packet?)

It doesn't seem to be quite right (does the TOSH_DATA_LENGTH set the payload
for both serial and radio? if so then I definitely can't do it this way) as
the frames don't seem to line up.


Really what I would like to send to the PC is:

The payload.
The metadata.

and maybe the header as well. (At least the src/dest)

I saw in TEP111 that an app shouldn't touch a message_t buffer directly, and
so there are no functions for this, but in this case I really do want to
examine the message_t directly.


Thanks

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

Reply via email to