From d380483a17df056bdb3539dba90181b30d5b6188 Mon Sep 17 00:00:00 2001 From: razvanm Date: Wed, 18 Feb 2009 21:30:07 +0000 Subject: [PATCH] Add a small delay between the packets to improve the performance at 115200bps for telos. --- support/sdk/python/tos.py | 1 + 1 file changed, 1 insertion(+) diff --git a/support/sdk/python/tos.py b/support/sdk/python/tos.py index 5d1d4eef..bbce96f2 100644 --- a/support/sdk/python/tos.py +++ b/support/sdk/python/tos.py @@ -113,6 +113,7 @@ class Serial: #print "DEBUG: putBytes:", data for b in data: self._s.write(struct.pack('B', b)) + time.sleep(0.000001) def getTimeout(self): return self._s.timeout -- 2.39.2