diff --git a/tools/harness-thci/ARM.py b/tools/harness-thci/ARM.py index 3074d779b..04795c367 100644 --- a/tools/harness-thci/ARM.py +++ b/tools/harness-thci/ARM.py @@ -1470,6 +1470,7 @@ class ARM(IThci): Returns: a global IPv6 address that matches with filterByPrefix + or None if no matched GUA """ print '%s call getGUA' % self.port print filterByPrefix @@ -1484,7 +1485,8 @@ class ARM(IThci): for line in globalAddrs: if line.startswith(filterByPrefix): return line - return globalAddrs[0] + print 'no global address matched' + return None except Exception, e: ModuleHelper.WriteIntoDebugLogger("getGUA() Error: " + str(e)) @@ -1610,3 +1612,6 @@ class ARM(IThci): def setUdpJoinerPort(self, portNumber): pass + + def commissionerUnregister(self): + pass