From 673e8137302b9b5f4cdf36cb499cd177f96b90b6 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 23 Apr 2016 16:01:00 -0700 Subject: [PATCH] setmodelname --- ilt1000.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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')