On Tue, Mar 31, 2009 at 5:20 AM, Mehmet Akif Antepli
<[email protected]> wrote:
> Hello Omprakash,
>
> As a remainder i used MultihopOscilloscope application.i have three nodes
> and data portion of the messages (readings[]) is filled with node id's as
> 0,1 or 2.
>
> AM_OSCILLOSCOPE = 0x93
>
> AM_CTP_DEBUG = 0x72 (followed with CollectionDebugMsg structure... When i
> reset any remote node, debug message with type filed inĀ  CollectionDebugMsg
> structure as NET_C_TREE_SENT_BEACON = 0x33 is print on the console...)
>
> Some part of the uart messages is as follows:
>
> 00 FF FF 00 00 09 00 72 21 00 77 00 01 00 01 02 10
> 00 FF FF 00 00 12 00 93 00 00 04 00 00 01 00 77 00 01 00 01 00 01 00 01 00
> 01
> 00 FF FF 00 00 09 00 72 21 00 12 00 02 00 01 02 11
> 00 FF FF 00 00 12 00 93 00 00 04 00 00 02 00 12 00 02 00 02 00 02 00 02 00
> 02

You should fix $am_offset and   "  if ($type eq "19") {" in your
script. am_offset should offset to 0x72 so it should be 7. You are
using type 0x72 in your program so you should check if type is equal
to "72".

- om_p

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

Reply via email to