diff --git a/ilt1000.py b/ilt1000.py index f96cb62..7cd2862 100755 --- a/ilt1000.py +++ b/ilt1000.py @@ -61,8 +61,6 @@ class CommandError(Error): # setwireless # setwflisten -# setmodelname - class ILT1000(object): @@ -142,6 +140,9 @@ class ILT1000(object): if int(ret) != 0: raise CommandError + def SetModelName(self, name): + self._SendCommandOrDie('setmodelname %s' % name) + def GetModelName(self): return self._SendCommand('getmodelname')