Thanks for your reply. 1) Now i'm able to see that something is getting received, since the following message getting printed. "receive error for OscilloscopeMsg (AM type 147): invalid length message received (too short)" I'm not able to understand why i'm getting this error. I tried to debug by keeping the prints for 'length' and 'temp.template.dataGet().length' in Receiver.java. Compiled it and reran the SerialForwarder (using java command) and the Oscilloscope(using ./run). The changes are not reflected and still getting the error message.
2) For the meantime, i used Listen to print the packets. I would like to generate multihop environment with 3 motes like a tree of root(moteId 0) -> nonleaf (moteId 1) -> leaf (moteId 2). How can i run and verfiy with MultiHopOscilloscope?. please let me know. Thanks. On Mon, Dec 7, 2009 at 3:26 PM, Omprakash Gnawali <gnaw...@cs.stanford.edu>wrote: > On Mon, Dec 7, 2009 at 12:23 AM, Group <mailforgr...@gmail.com> wrote: > > Hi, > > > > I have some basic question on running MultihopOscilloscope. > > I have 3 motes. One connected to PC with moteID 1 and other > > two with moteids 2,3 are powered with battery. All of them have > > MultiHopOscilloscope running. When i ran sf and oscilloscope > > application on PC by following commands in README.txt. > > I didnot find any messages. Do i need to give any topology file?. > > I'm not sure whether this is the right way to run the application. > > Please let me know if i'm missing something.Thanks. > > > Here is an excerpt from README.txt > "Notes: > > MultihopOscilloscope configures a mote whose TOS_NODE_ID modulo 500 is zero > to be a collection root." > > You need to program the node id of the root (mote connected with the > base station) following this guideline. > > - om_p >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help