Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. dupterm

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Log in to post

    • All categories
    • L

      REPL via WLAN.STA server

      Watching Ignoring Scheduled Pinned Locked Moved LoPy wlan dupterm telnet
      3
      0 Votes
      3 Posts
      803 Views
      L
      Thanks. If I set os.dupterm(None), I get a telnet login on WLAN which works OK ('Login succeeded!), but no REPL '>>>' on WLAN (or UART0) as might be expected. micropython.org indicates dupterm requires a stream_object. I have tried the obvious wlan and server instances without success. What is the relevant object here?
    • F

      working example of dupterm with log file on /sd needed (or logging module that supports filenames)

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython logging filename dupterm
      2
      0 Votes
      2 Posts
      909 Views
      sebS
      @fsergeys Is there a particular reason you need to capture stdout/stderr vs. just writing your log straight to the file?
    • 1 / 1