Hello,

I'm using MsgReader tool to parse packets of TestNetwork application. I
installed TestNetwork application on 3 motes MicaZ and I started receiving
messages as follows:

 [source=0x1]

[seqno=0x19]

[parent=0x6]

[metric=0x4ee]

[eventdata=0x6]

[hopcount=0x4]

[sendCount=0x1f4]

[sendSuccessCount=0x19]

....



The problem is that when I use "Listen" tool I have the following output:



00 FF FF F4 01 17 00 05 00 01 00 19 00 06 04 EE 00 06 00 04 01 F4 00 19 00
06 00 00 00 00 00



00 FF FF F4 01 17 00 05 - Serial Header



00 01 00 19 00 06 04 EE - Ctp Header



00 06 00 04 01 F4 00 19 00 06 00 00 00 00 00 - TestNetworkMsg


Results don't coincide!



I studied those 2 results and I note that MsgReader tool parse packets just
after Serial header and do not take into consideration Ctp header.

Can anyone suggest how can I obtain the right result with MsgReader? Can
you please tell me how can I modify am_offset variable?

I reallly need your help.



Best Regards,

Nouha SGHAIER
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to