Page 2 of 2

Re: Nucleo stm32 F429ZI MQTT

Posted: Fri May 15, 2020 5:43 pm
by greg161
So it is possible. But small modification of utelnetserver.py is necessary. Last lines need to be changed from WiFi to LAN.
From this:

Code: Select all

for i in (network.AP_IF, network.STA_IF):
        wlan = network.WLAN(i)
        if wlan.active():
            print("Telnet server started on {}:{}".format(wlan.ifconfig()[0], port))
to this:

Code: Select all

    eth = network.LAN()
    eth.active(True)
    eth.ifconfig('dhcp')
    if eth.active():
        print("Telnet server started on {}:{}".format(eth.ifconfig()[0], port))