Re: Nucleo stm32 F429ZI MQTT
Posted: Fri May 15, 2020 5:43 pm
So it is possible. But small modification of utelnetserver.py is necessary. Last lines need to be changed from WiFi to LAN.
From this:
to this:
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))
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))