Thank you so much Omprakash, it works now... By the way, command is not this;
>> java net.tinyos.tools.MsgReader -comm s...@localhost:9002 | perl net2collection.pl but this; >> javanet.tinyos.tools.Listen -comm s...@localhost:9002 | perl net2collection.pl -- Akif On Thu, Apr 2, 2009 at 10:09 PM, Omprakash Gnawali <[email protected]> wrote: > 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
