first identify the packet format,means which type of packet u r receiving
n then go to java listen.java file , and  create variable their to take
packet 's particular bytes, like
byte a = packet[2];

In this case u have to modify ur Listen.java file according to ur file.

-----Poonam


> Dear All
> I have 2 simple question :
> As you know that the java Listen program prints the packet  it hears,
> for example : 00 ff ff 04 22 06 00 02 00 01 as explained in lesson 4.
> but I would like to print just a few fields of the packet! how can I
> print just some fields of the message ?
> 2- Is there any statistics tools for tinyos?? If not what is the
> smiliest way to manipulate the data and make the statistics?
> Thank you for any help.
> Best,
>    Sara
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


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

Reply via email to