[Tinyos-2-commits] CVS: tinyos-2.x/support/sdk/python tos.py, 1.6, 1.7

Razvan Musaloiu-E. razvanm at users.sourceforge.net
Wed Feb 18 13:30:13 PST 2009


Update of /cvsroot/tinyos/tinyos-2.x/support/sdk/python
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23700

Modified Files:
	tos.py 
Log Message:
Add a small delay between the packets to improve the performance at 115200bps for telos.


Index: tos.py
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/sdk/python/tos.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** tos.py	9 Jan 2009 05:13:57 -0000	1.6
--- tos.py	18 Feb 2009 21:30:07 -0000	1.7
***************
*** 114,117 ****
--- 114,118 ----
          for b in data:
              self._s.write(struct.pack('B', b))
+             time.sleep(0.000001)
  
      def getTimeout(self):



More information about the Tinyos-2-commits mailing list