MCPcopy Create free account
hub / github.com/apache/nuttx / recv

Method recv

tools/flash_writer.py:479–485  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

477 return boot_msg.decode(errors="ignore")
478
479 def recv(self):
480 rx = self.serial.readline()
481 if PRINT_RAW_COMMAND:
482 serial_line = rx.decode(errors="replace")
483 if serial_line.strip() != "" and not serial_line.startswith(XMDM_MSG):
484 print(serial_line, end="")
485 return rx
486
487 def wait(self, string):
488 while True:

Callers 8

waitMethod · 0.95
wait_for_promptMethod · 0.95
mainFunction · 0.95
get_gdb_packetMethod · 0.80
_recvMethod · 0.80
cxd5610_gnss_recvFunction · 0.80
gdb_getcharFunction · 0.80
gdb_recv_packetFunction · 0.80

Calls 1

readlineMethod · 0.45

Tested by

no test coverage detected