mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 17:17:45 +00:00
[thci] remove assert which checks if the port is unicode (#6762)
In the case where the connection is over Telnet, self.port will be None.
This commit is contained in:
@@ -362,7 +362,6 @@ class OpenThreadTHCI(object):
|
||||
def intialize(self, params):
|
||||
"""initialize the serial port with baudrate, timeout parameters"""
|
||||
self.port = params.get('SerialPort', '')
|
||||
assert isinstance(self.port, unicode), unicode
|
||||
self.log('%s intialize: %r', self.__class__.__name__, params)
|
||||
# params example: {'EUI': 1616240311388864514L, 'SerialBaudRate': None, 'TelnetIP': '192.168.8.181', 'SerialPort': None, 'Param7': None, 'Param6': None, 'Param5': 'ip', 'TelnetPort': '22', 'Param9': None, 'Param8': None}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user