[Tinyos-commits] CVS: tinyos-1.x/tools/java/net/tinyos/sf SFListen.java, 1.8, 1.9

David Gay idgay at users.sourceforge.net
Thu Nov 18 11:02:23 PST 2004


Update of /cvsroot/tinyos/tinyos-1.x/tools/java/net/tinyos/sf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11801/sf

Modified Files:
	SFListen.java 
Log Message:
basic set of fixes for platform handling and serial-forwarder protocol
  (fixes the egregious problems, doesn't attempt to build a clean 
   solution from scratch)
specifically:
- remove random messages to stderr
- clean up platform handling/decoding (the default serial forwarder
  packet source actually works again!)
- the platform-exchange extension to the serial forwarder now uses
  a new protocol version ('!')
  when talking to an old serial forwarder client/server, the platform
  defaults to avrmote (when not explicitly specified)
- a platform.properties file is only created if TOS_PLATFORMS is specified

And, vaguely useful: serial forwarder prints the platform


Index: SFListen.java
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tools/java/net/tinyos/sf/SFListen.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** SFListen.java	31 May 2004 10:30:29 -0000	1.8
--- SFListen.java	18 Nov 2004 19:02:19 -0000	1.9
***************
*** 92,95 ****
--- 92,96 ----
  	    source.start();
  	
+ 	    sf.verbose.message("Platform " + Platform.getPlatformName(source.getPacketSource().getPlatform()));
  	    // open up our server socket
  	    try {



More information about the Tinyos-commits mailing list