465 return False, '' |
465 return False, '' |
466 |
466 |
467 print(has_wifi()) |
467 print(has_wifi()) |
468 del has_wifi |
468 del has_wifi |
469 """ |
469 """ |
470 out, err = self.executeCommands(command, mode=self._submitMode, timeout=10000) |
470 out, err = self.executeCommands(command, mode=self._submitMode, timeout=20000) |
471 if err: |
471 if err: |
472 if not err.startswith(b"Timeout "): |
472 if not err.startswith(b"Timeout "): |
473 raise OSError(self._shortError(err)) |
473 raise OSError(self._shortError(err)) |
474 else: |
474 else: |
475 # pimoroni firmware loaded but no pico wireless present |
475 # pimoroni firmware loaded but no pico wireless present |