[w600] telnet server requested

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
bazooka07
Posts: 6
Joined: Wed Nov 03, 2021 3:45 pm

[w600] telnet server requested

Post by bazooka07 » Sun Nov 21, 2021 10:12 pm

Hello,
Unfortunately, we have no web_repl for the w60x port.
I'm trying to use telnet server from https://github.com/cpopp/MicroTelnetServer repository.
I get the following warning and the telnet server is not working :

Code: Select all

>>> server_socket.setsockopt(socket.SOL_SOCKET, 20, utelnetserver.accept_telnet_connect)
Warning: lwip.setsockopt() option not implemented
Any idea to fix that or an other script for a telnet server ?

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: [w600] telnet server requested

Post by Roberthh » Mon Nov 22, 2021 1:12 pm

This option type 20 was introduced for registering a python callback for socket activities. It is needed for both webrepl and the telnet module which you referenced. It cannot easily be added to the w600 port, since it is implemented in the modlwip module, which is not used for the w600 port.

Post Reply