REPL via WLAN.STA server
-
On LoPy + PySense, trying to get REPL working over WLAN.STA, to free up UART0 for other use.
Is there any option for e.g. os.dupterm(server) to just run REPL over WLAN?
Work OK with os.dupterm(uart) if I only enter commands via WLAN
Weird stuff happens on WLAN if I key commands via UART0.Thanks,
John -
@ljohnway
i do not remember if this is working but you can disable repl
os.dupterm(None)and then simply connect to lopy throught telnet
this should work - but i do not tested this..
this is only concept you must test this self -
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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login