[Tinyos-help] Couldn't get proper simulation Simlecmd-Bcast module in TOSSIM

2007-02-19 Thread Cruz Emilda
BcastM TinyOS application module
As I read from the lesson 8 of the tutorial , this module has to check if 
it has seen the message before and drop the message if so.When I run the 
program this is not happening.When I give led_off command the yellow light is 
switched off and the nodes are again and again getting and sending messages and 
the red and green lights are blinking.
   
  I am getting the following messages running in tinyviz running command shell.
  I couln't understand what is happening here.. Any one please help me
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:15
0)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
  at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.lang.ArrayIndexOutOfBoundsException: 500 = 500
at java.util.Vector.elementAt(Vector.java:420)
at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:73)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java
:1043)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI
.java:994)
at javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:
241)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1176)
at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:77
0)
at java.awt.Container.layout(Container.java:798)
at java.awt.Container.doLayout(Container.java:788)
at java.awt.Container.validateTree(Container.java:865)
at java.awt.Container.validate(Container.java:840)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.j
ava:350)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:119)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:15
0)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
  at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.lang.ArrayIndexOutOfBoundsException: 500 = 500
at java.util.Vector.elementAt(Vector.java:420)
at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:73)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java
:1043)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI
.java:994)
at javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:
241)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1176)
at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:77
0)
at java.awt.Container.layout(Container.java:798)
at java.awt.Container.doLayout(Container.java:788)
at java.awt.Container.validateTree(Container.java:865)
at java.awt.Container.validate(Container.java:840)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.j
ava:350)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:119)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:15
0)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
  at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
java.lang.ArrayIndexOutOfBoundsException: 500 = 500
at java.util.Vector.elementAt(Vector.java:420)
at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:73)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java
:1043)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI
.java:994)
at javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:
241)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1176)
at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:77
0)
at java.awt.Container.layout(Container.java:798)
at java.awt.Container.doLayout(Container.java:788)
at java.awt.Container.validateTree(Container.java:865)
at java.awt.Container.validate(Container.java:840)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.j
ava:350)
at 

[Tinyos-help] how to download using CVS tree

2007-02-19 Thread Cruz Emilda
Any one please help me how to download example codes using CVS tree..
  Regards,
   Emilda

 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Injecting Packet to TOSSIM

2006-10-26 Thread Cruz Emilda
Hi, Can anyone please let me know how to "send packets to TOSSIM node through Serial Forwarder".. Using BcastInject.java I'm able tosend packets to serial forwarder.Any one pls help me to forward this packet to TOSSIM node.   ThanksRegards,Cruz  
	
		Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Need help in running BcastInject.java from Lesson 7

2006-10-24 Thread cruz emilda
Hai,
   While learning Lesson  in the Tutorial TinyOS 1.x
,I tried to run BcastInject.java.. But I got Exception
that the Class file not found..So I tried to compile
that BcastInject Java file..I got 5 errors saying that
cannot resolve symbol SimpleCmdMsg.. and
...LogMsg..Need help...
 Thanking in Advance,
Regards,
Emilda



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help