mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 05:40:27 +00:00
THCI: getChildTimeoutValue() should return integer type (#968)
This commit is contained in:
@@ -1841,7 +1841,8 @@ class ARM(IThci):
|
||||
def getChildTimeoutValue(self):
|
||||
"""get child timeout"""
|
||||
print '%s call getChildTimeoutValue' % self.port
|
||||
return self.__sendCommand('childtimeout')[0]
|
||||
childTimeout = self.__sendCommand('childtimeout')[0]
|
||||
return int(childTimeout)
|
||||
|
||||
def diagnosticGet(self, strDestinationAddr, listTLV_ids=[]):
|
||||
if not listTLV_ids:
|
||||
|
||||
Reference in New Issue
Block a user