Home
last modified time | relevance | path

Searched refs:read_until (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/tools/
A Dhaasboard.py99 if b"Login as:" in self.tn.read_until(b"Login as:", timeout=read_timeout):
102 if b"Password:" in self.tn.read_until(b"Password:", timeout=read_timeout):
107 if b"for more information." in self.tn.read_until(
303 return self.read_until(1,ending,timeout)
307 def read_until(self, min_num_bytes, ending, timeout=10, data_consumer=None): member in HaaSboard
363 data = self.read_until(1, b"raw REPL; CTRL-B to exit\r\r\n", 2)
368 data = self.read_until(1, b"raw REPL; CTRL-B to exit\r\r\n", 2)
401 data_err = self.read_until(1, b"\x04", timeout=timeout)
440 data = self.read_until(1, b"\x04")
451 data = self.read_until(1, b">")
[all …]
A Dpyboard.py99 if b"Login as:" in self.tn.read_until(b"Login as:", timeout=read_timeout):
102 if b"Password:" in self.tn.read_until(b"Password:", timeout=read_timeout):
107 if b"for more information." in self.tn.read_until(
299 def read_until(self, min_num_bytes, ending, timeout=10, data_consumer=None): member in Pyboard
337 data = self.read_until(1, b"raw REPL; CTRL-B to exit\r\n>")
347 data = self.read_until(1, b"soft reboot\r\n")
352 data = self.read_until(1, b"raw REPL; CTRL-B to exit\r\n")
371 data_err = self.read_until(1, b"\x04", timeout=timeout)
410 data = self.read_until(1, b"\x04")
421 data = self.read_until(1, b">")
[all …]
/AliOS-Things-master/components/amp-utility/tftp/
A Dhaasdevice.py57 return self.read_until(1,ending,timeout)
61 def read_until(self, min_num_bytes, ending, timeout=10, data_consumer=None): member in HaaSboard
198 self._ip = self._board.read_until(1,b"\n").decode('UTF-8').strip()
199 self._board.read_until(1,b"ConnectWifi finished",3)
228 ret = self._board.read_until(1,b"\n").decode('UTF-8').strip()
/AliOS-Things-master/hardware/chip/haas1000/release/aos_burn_tool/
A Dflash_program_ll.py19 line = serialport.read_until(b'\n')
46 line = serialport.read_until(b'\n')
/AliOS-Things-master/hardware/chip/rtl872xd/release/aos_burn_tool/
A Dflash_program_ll.py19 line = serialport.read_until(b'\n')
46 line = serialport.read_until(b'\n')
/AliOS-Things-master/components/py_engine/tests/
A Drun-multitests.py199 out = self.pyb.read_until(1, (b"\r\n", b"\x04"))
203 err = str(self.pyb.read_until(1, b"\x04"), "ascii")
/AliOS-Things-master/components/py_engine/engine/tools/mpremote/mpremote/
A Dpyboardextended.py600 self.read_until(4, b">>> ")

Completed in 13 milliseconds