mqtt_as – static IP
Posted: Tue Sep 28, 2021 8:13 pm
Hi,
I have a dedicated wifi network for mqtt without DHCP (static IP), does mqtt_as support this setup ?
I have digged a little in mqtt_as code, I have found that : wifi_connect() function does not call ifconfig() before calling connect(), so static IP is not configured before trying to connect, so it lead to « OSError: Wifi Internal Error »
Am I right ?
I have a dedicated wifi network for mqtt without DHCP (static IP), does mqtt_as support this setup ?
I have digged a little in mqtt_as code, I have found that : wifi_connect() function does not call ifconfig() before calling connect(), so static IP is not configured before trying to connect, so it lead to « OSError: Wifi Internal Error »
Am I right ?