From baabd79d28beff77a09f5daf4a93c2717f60f4be Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 23 Apr 2016 15:59:14 -0700 Subject: [PATCH] configbackup, configrestore --- ilt1000.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ilt1000.py b/ilt1000.py index fa9cc55..f96cb62 100755 --- a/ilt1000.py +++ b/ilt1000.py @@ -59,14 +59,10 @@ class CommandError(Error): # set5vbias # setwireless - -# configbackup -# configrestore +# setwflisten # setmodelname -# setwflisten - class ILT1000(object): @@ -382,6 +378,12 @@ class ILT1000(object): def GetIntegrate(self): return float(self._SendCommand('getintegrate')) + def BackupConfig(self): + self._SendCommandOrDie('configbackup') + + def RestoreConfig(self): + self._SendCommandOrDie('configrestore') + class _Row(object):