updated command line 802.15.4 checksum calculator and added serClose to GoodFET to...
[goodfet] / client / GoodFET.py
index df26c85..d8e4ac5 100755 (executable)
@@ -157,6 +157,8 @@ class GoodFET:
         if self.verbose: print "Connected after %02i attempts." % attempts;
         self.mon_connected();
         self.serialport.setTimeout(12);
+    def serClose(self):
+        self.serialport.close();
     def telosSetSCL(self, level):
         self.serialport.setRTS(not level)
     def telosSetSDA(self, level):